this derivation will be built: /nix/store/lk88lah3ln2q4igdhcf8f4javwfryz6w-python3.14-nixbot-tests.drv building '/nix/store/lk88lah3ln2q4igdhcf8f4javwfryz6w-python3.14-nixbot-tests.drv' python3.14-nixbot-tests> tribuchet: building on mac02 python3.14-nixbot-tests> Sourcing python-remove-tests-dir-hook python3.14-nixbot-tests> Sourcing python-catch-conflicts-hook.sh python3.14-nixbot-tests> Sourcing python-remove-bin-bytecode-hook.sh python3.14-nixbot-tests> Sourcing pypa-build-hook python3.14-nixbot-tests> Using pypaBuildPhase python3.14-nixbot-tests> Sourcing python-runtime-deps-check-hook python3.14-nixbot-tests> Using pythonRuntimeDepsCheckHook python3.14-nixbot-tests> Sourcing pypa-install-hook python3.14-nixbot-tests> Using pypaInstallPhase python3.14-nixbot-tests> Sourcing python-imports-check-hook.sh python3.14-nixbot-tests> Using pythonImportsCheckPhase python3.14-nixbot-tests> Sourcing python-namespaces-hook python3.14-nixbot-tests> Sourcing python-catch-conflicts-hook.sh python3.14-nixbot-tests> Sourcing pytest-check-hook python3.14-nixbot-tests> Using pytestCheckPhase python3.14-nixbot-tests> Running phase: unpackPhase python3.14-nixbot-tests> unpacking source archive /nix/store/76pkmwky09b62zpw2ajs6q32bhdgbhp3-nixbot python3.14-nixbot-tests> source root is nixbot python3.14-nixbot-tests> setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "nixbot/pyproject.toml" python3.14-nixbot-tests> Running phase: patchPhase python3.14-nixbot-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase python3.14-nixbot-tests> Running phase: configurePhase python3.14-nixbot-tests> no configure script, doing nothing python3.14-nixbot-tests> Running phase: buildPhase python3.14-nixbot-tests> Executing pypaBuildPhase python3.14-nixbot-tests> Creating a wheel... python3.14-nixbot-tests> pypa build flags: --no-isolation --outdir dist/ --wheel python3.14-nixbot-tests> * Getting build dependencies for wheel... python3.14-nixbot-tests> * Building wheel... python3.14-nixbot-tests> Successfully built nixbot-0.0.1-py3-none-any.whl python3.14-nixbot-tests> Finished creating a wheel... python3.14-nixbot-tests> Finished executing pypaBuildPhase python3.14-nixbot-tests> Running phase: pythonRuntimeDepsCheckHook python3.14-nixbot-tests> Executing pythonRuntimeDepsCheck python3.14-nixbot-tests> Checking runtime dependencies for nixbot-0.0.1-py3-none-any.whl python3.14-nixbot-tests> Finished executing pythonRuntimeDepsCheck python3.14-nixbot-tests> Running phase: installPhase python3.14-nixbot-tests> Executing pypaInstallPhase python3.14-nixbot-tests> Successfully installed nixbot-0.0.1-py3-none-any.whl python3.14-nixbot-tests> Finished executing pypaInstallPhase python3.14-nixbot-tests> Running phase: pythonOutputDistPhase python3.14-nixbot-tests> Executing pythonOutputDistPhase python3.14-nixbot-tests> Finished executing pythonOutputDistPhase python3.14-nixbot-tests> Running phase: fixupPhase python3.14-nixbot-tests> checking for references to /private/var/tb/7/scratch/eddb5c39692427aa/build/ in /nix/store/r8wf840clfmgqxw0q27rq666qxry6v4c-python3.14-nixbot-tests... python3.14-nixbot-tests> patching script interpreter paths in /nix/store/r8wf840clfmgqxw0q27rq666qxry6v4c-python3.14-nixbot-tests python3.14-nixbot-tests> stripping (with command strip and flags -S) in /nix/store/r8wf840clfmgqxw0q27rq666qxry6v4c-python3.14-nixbot-tests/lib /nix/store/r8wf840clfmgqxw0q27rq666qxry6v4c-python3.14-nixbot-tests/bin python3.14-nixbot-tests> checking for references to /private/var/tb/7/scratch/eddb5c39692427aa/build/ in /nix/store/37q2sg4wh2d4v2xmnacf1kc25k01hgzr-python3.14-nixbot-tests-dist... python3.14-nixbot-tests> patching script interpreter paths in /nix/store/37q2sg4wh2d4v2xmnacf1kc25k01hgzr-python3.14-nixbot-tests-dist python3.14-nixbot-tests> Rewriting #!/nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 to #!/nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6 python3.14-nixbot-tests> wrapping `/nix/store/r8wf840clfmgqxw0q27rq666qxry6v4c-python3.14-nixbot-tests/bin/nixbot'... python3.14-nixbot-tests> Executing pythonRemoveTestsDir python3.14-nixbot-tests> Finished executing pythonRemoveTestsDir python3.14-nixbot-tests> Running phase: installCheckPhase python3.14-nixbot-tests> no Makefile or custom installCheckPhase, doing nothing python3.14-nixbot-tests> Running phase: pythonCatchConflictsPhase python3.14-nixbot-tests> Running phase: pythonRemoveBinBytecodePhase python3.14-nixbot-tests> Running phase: pythonImportsCheckPhase python3.14-nixbot-tests> Executing pythonImportsCheckPhase python3.14-nixbot-tests> Running phase: pytestCheckPhase python3.14-nixbot-tests> Executing pytestCheckPhase python3.14-nixbot-tests> pytest flags: -m pytest --numprocesses=24 python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> /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. python3.14-nixbot-tests> warner(PytestBenchmarkWarning(text)) python3.14-nixbot-tests> ============================= test session starts ============================== python3.14-nixbot-tests> platform darwin -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0 python3.14-nixbot-tests> benchmark: 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) python3.14-nixbot-tests> rootdir: /private/var/tb/7/scratch/eddb5c39692427aa/build/nixbot python3.14-nixbot-tests> configfile: pyproject.toml python3.14-nixbot-tests> plugins: asyncio-1.4.0, timeout-2.4.0, xdist-3.8.0, benchmark-5.2.3, anyio-4.14.2 python3.14-nixbot-tests> asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function python3.14-nixbot-tests> timeout: 60.0s python3.14-nixbot-tests> timeout method: signal python3.14-nixbot-tests> timeout func_only: False python3.14-nixbot-tests> created: 24/24 workers python3.14-nixbot-tests> 24 workers [861 items] python3.14-nixbot-tests> python3.14-nixbot-tests> ...........sss.................s........ssssssss........................ [ 8%] python3.14-nixbot-tests> ......ssssssss...............................s.......................... [ 16%] python3.14-nixbot-tests> ........................................................................ [ 25%] python3.14-nixbot-tests> ........................................................................ [ 33%] python3.14-nixbot-tests> ................sss..s.....................................s............ [ 41%] python3.14-nixbot-tests> ........................................................................ [ 50%] python3.14-nixbot-tests> ........................s......EEEEEEE.EEE.EEEEEEEEEEEEEE.EEEEEEEEEEEEEE [ 58%] python3.14-nixbot-tests> EEEEEEEEEEEEEEEEE.EEEEEE..EE.EEEEE.EEEE.EE.E...EE..sEEEEEEEEEEEEEEEEEEE. [ 66%] python3.14-nixbot-tests> EEEEEEE.E.EEEE.EEEEE.E....EEEEEEEEEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEEsEE.EEE [ 75%] python3.14-nixbot-tests> E.EEE.EEEEEEEE.EEEEEEEEEEEEEEEEEEEEEEEEEEEEE.EEEEE..EEEE........EEEEEEEE [ 83%] python3.14-nixbot-tests> EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 91%] python3.14-nixbot-tests> EEEEEEE.EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [100%] python3.14-nixbot-tests> ==================================== ERRORS ==================================== python3.14-nixbot-tests> ______________ ERROR at setup of test_anonymous_sees_public_only _______________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> fixturedef = python3.14-nixbot-tests> request = > python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.hookimpl(wrapper=True) python3.14-nixbot-tests> def pytest_fixture_setup(fixturedef: FixtureDef, request) -> object | None: python3.14-nixbot-tests> if ( python3.14-nixbot-tests> fixturedef.argname == "event_loop_policy" python3.14-nixbot-tests> and fixturedef.func.__module__ != __name__ python3.14-nixbot-tests> ): python3.14-nixbot-tests> warnings.warn( python3.14-nixbot-tests> PytestDeprecationWarning(_EVENT_LOOP_POLICY_FIXTURE_DEPRECATION_WARNING), python3.14-nixbot-tests> ) python3.14-nixbot-tests> asyncio_mode = _get_asyncio_mode(request.config) python3.14-nixbot-tests> if not _is_asyncio_fixture_function(fixturedef.func): python3.14-nixbot-tests> if asyncio_mode == Mode.STRICT: python3.14-nixbot-tests> # Ignore async fixtures without explicit asyncio mark in strict mode python3.14-nixbot-tests> # This applies to pytest_trio fixtures, for example python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> if not _is_coroutine_or_asyncgen(fixturedef.func): python3.14-nixbot-tests> > return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _ ERROR at setup of test_replace_schedules_preserves_last_run_for_unchanged_spec _ python3.14-nixbot-tests> [gw22] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: in pytest_fixture_setup python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw22'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'schedules' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_unauthorized_user_sees_public_only ___________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __ ERROR at setup of test_replace_schedules_tolerates_duplicate_effect_names ___ python3.14-nixbot-tests> [gw22] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw22'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'schedules' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_authorized_user_sees_private ______________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_admin_sees_everything _________________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_store_roundtrip_and_due ________________ python3.14-nixbot-tests> [gw22] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw22'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'schedules' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_admin_sees_disabled_repos_without_search ________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_non_admin_does_not_see_disabled_repos _________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_due_effects_window_and_bad_spec ____________ python3.14-nixbot-tests> [gw22] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw22'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'schedules' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_api_token_sees_private _________________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_run_recording_and_overview _______________ python3.14-nixbot-tests> [gw22] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw22'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'schedules' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_admin_api_token_sees_private ______________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_forge_repo_admins_can_toggle_their_repos ________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______ ERROR at setup of test_forge_repo_writers_can_control_their_repos _______ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_fetch_errors_are_not_cached ______________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_project_store_sync_and_legacy_import __________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: in pytest_fixture_setup python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________________ ERROR at setup of test_full_lifecycle _____________________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: in pytest_fixture_setup python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_enqueue_dedupes_pending ________________ python3.14-nixbot-tests> [gw5] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: in pytest_fixture_setup python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw5'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'work_queue' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________________ ERROR at setup of test_repos_and_builds ____________________ python3.14-nixbot-tests> [gw20] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> fixturedef = python3.14-nixbot-tests> request = > python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.hookimpl(wrapper=True) python3.14-nixbot-tests> def pytest_fixture_setup(fixturedef: FixtureDef, request) -> object | None: python3.14-nixbot-tests> if ( python3.14-nixbot-tests> fixturedef.argname == "event_loop_policy" python3.14-nixbot-tests> and fixturedef.func.__module__ != __name__ python3.14-nixbot-tests> ): python3.14-nixbot-tests> warnings.warn( python3.14-nixbot-tests> PytestDeprecationWarning(_EVENT_LOOP_POLICY_FIXTURE_DEPRECATION_WARNING), python3.14-nixbot-tests> ) python3.14-nixbot-tests> asyncio_mode = _get_asyncio_mode(request.config) python3.14-nixbot-tests> if not _is_asyncio_fixture_function(fixturedef.func): python3.14-nixbot-tests> if asyncio_mode == Mode.STRICT: python3.14-nixbot-tests> # Ignore async fixtures without explicit asyncio mark in strict mode python3.14-nixbot-tests> # This applies to pytest_trio fixtures, for example python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> if not _is_coroutine_or_asyncgen(fixturedef.func): python3.14-nixbot-tests> > return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw20'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli_api' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_control_buttons_hidden_without_permission _______ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> fixturedef = python3.14-nixbot-tests> request = > python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.hookimpl(wrapper=True) python3.14-nixbot-tests> def pytest_fixture_setup(fixturedef: FixtureDef, request) -> object | None: python3.14-nixbot-tests> if ( python3.14-nixbot-tests> fixturedef.argname == "event_loop_policy" python3.14-nixbot-tests> and fixturedef.func.__module__ != __name__ python3.14-nixbot-tests> ): python3.14-nixbot-tests> warnings.warn( python3.14-nixbot-tests> PytestDeprecationWarning(_EVENT_LOOP_POLICY_FIXTURE_DEPRECATION_WARNING), python3.14-nixbot-tests> ) python3.14-nixbot-tests> asyncio_mode = _get_asyncio_mode(request.config) python3.14-nixbot-tests> if not _is_asyncio_fixture_function(fixturedef.func): python3.14-nixbot-tests> if asyncio_mode == Mode.STRICT: python3.14-nixbot-tests> # Ignore async fixtures without explicit asyncio mark in strict mode python3.14-nixbot-tests> # This applies to pytest_trio fixtures, for example python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> if not _is_coroutine_or_asyncgen(fixturedef.func): python3.14-nixbot-tests> > return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_migrations_idempotent _________________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: in pytest_fixture_setup python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_resume_skips_terminal_attributes ____________ python3.14-nixbot-tests> [gw19] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: in pytest_fixture_setup python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw19'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'recovery' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________________ ERROR at setup of test_access_cache_used ___________________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________________ ERROR at setup of test_html_error_pages ____________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> fixturedef = python3.14-nixbot-tests> request = > python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.hookimpl(wrapper=True) python3.14-nixbot-tests> def pytest_fixture_setup(fixturedef: FixtureDef, request) -> object | None: python3.14-nixbot-tests> if ( python3.14-nixbot-tests> fixturedef.argname == "event_loop_policy" python3.14-nixbot-tests> and fixturedef.func.__module__ != __name__ python3.14-nixbot-tests> ): python3.14-nixbot-tests> warnings.warn( python3.14-nixbot-tests> PytestDeprecationWarning(_EVENT_LOOP_POLICY_FIXTURE_DEPRECATION_WARNING), python3.14-nixbot-tests> ) python3.14-nixbot-tests> asyncio_mode = _get_asyncio_mode(request.config) python3.14-nixbot-tests> if not _is_asyncio_fixture_function(fixturedef.func): python3.14-nixbot-tests> if asyncio_mode == Mode.STRICT: python3.14-nixbot-tests> # Ignore async fixtures without explicit asyncio mark in strict mode python3.14-nixbot-tests> # This applies to pytest_trio fixtures, for example python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> if not _is_coroutine_or_asyncgen(fixturedef.func): python3.14-nixbot-tests> > return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_scheduled_worktree_id_distinct_per_effect _______ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> fixturedef = python3.14-nixbot-tests> request = > python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.hookimpl(wrapper=True) python3.14-nixbot-tests> def pytest_fixture_setup(fixturedef: FixtureDef, request) -> object | None: python3.14-nixbot-tests> if ( python3.14-nixbot-tests> fixturedef.argname == "event_loop_policy" python3.14-nixbot-tests> and fixturedef.func.__module__ != __name__ python3.14-nixbot-tests> ): python3.14-nixbot-tests> warnings.warn( python3.14-nixbot-tests> PytestDeprecationWarning(_EVENT_LOOP_POLICY_FIXTURE_DEPRECATION_WARNING), python3.14-nixbot-tests> ) python3.14-nixbot-tests> asyncio_mode = _get_asyncio_mode(request.config) python3.14-nixbot-tests> if not _is_asyncio_fixture_function(fixturedef.func): python3.14-nixbot-tests> if asyncio_mode == Mode.STRICT: python3.14-nixbot-tests> # Ignore async fixtures without explicit asyncio mark in strict mode python3.14-nixbot-tests> # This applies to pytest_trio fixtures, for example python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> if not _is_coroutine_or_asyncgen(fixturedef.func): python3.14-nixbot-tests> > return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_match_skip_and_run ___________________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: in pytest_fixture_setup python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_repo_list_and_toggle __________________ python3.14-nixbot-tests> [gw14] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> fixturedef = python3.14-nixbot-tests> request = > python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.hookimpl(wrapper=True) python3.14-nixbot-tests> def pytest_fixture_setup(fixturedef: FixtureDef, request) -> object | None: python3.14-nixbot-tests> if ( python3.14-nixbot-tests> fixturedef.argname == "event_loop_policy" python3.14-nixbot-tests> and fixturedef.func.__module__ != __name__ python3.14-nixbot-tests> ): python3.14-nixbot-tests> warnings.warn( python3.14-nixbot-tests> PytestDeprecationWarning(_EVENT_LOOP_POLICY_FIXTURE_DEPRECATION_WARNING), python3.14-nixbot-tests> ) python3.14-nixbot-tests> asyncio_mode = _get_asyncio_mode(request.config) python3.14-nixbot-tests> if not _is_asyncio_fixture_function(fixturedef.func): python3.14-nixbot-tests> if asyncio_mode == Mode.STRICT: python3.14-nixbot-tests> # Ignore async fixtures without explicit asyncio mark in strict mode python3.14-nixbot-tests> # This applies to pytest_trio fixtures, for example python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> if not _is_coroutine_or_asyncgen(fixturedef.func): python3.14-nixbot-tests> > return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_api_strips_ansi_from_errors ______________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________________ ERROR at setup of test_homepage ________________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______ ERROR at setup of test_legacy_import_runs_despite_pull_based_rows _______ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_finished_attrs_cursor _________________ python3.14-nixbot-tests> [gw20] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw20'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw20'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli_api' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_metrics_unauthenticated_no_private_names ________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_build_list_and_view __________________ python3.14-nixbot-tests> [gw14] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_chunk_args_splits_on_byte_limit ____________ python3.14-nixbot-tests> [gw17] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> fixturedef = python3.14-nixbot-tests> request = > python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.hookimpl(wrapper=True) python3.14-nixbot-tests> def pytest_fixture_setup(fixturedef: FixtureDef, request) -> object | None: python3.14-nixbot-tests> if ( python3.14-nixbot-tests> fixturedef.argname == "event_loop_policy" python3.14-nixbot-tests> and fixturedef.func.__module__ != __name__ python3.14-nixbot-tests> ): python3.14-nixbot-tests> warnings.warn( python3.14-nixbot-tests> PytestDeprecationWarning(_EVENT_LOOP_POLICY_FIXTURE_DEPRECATION_WARNING), python3.14-nixbot-tests> ) python3.14-nixbot-tests> asyncio_mode = _get_asyncio_mode(request.config) python3.14-nixbot-tests> if not _is_asyncio_fixture_function(fixturedef.func): python3.14-nixbot-tests> if asyncio_mode == Mode.STRICT: python3.14-nixbot-tests> # Ignore async fixtures without explicit asyncio mark in strict mode python3.14-nixbot-tests> # This applies to pytest_trio fixtures, for example python3.14-nixbot-tests> return (yield) python3.14-nixbot-tests> if not _is_coroutine_or_asyncgen(fixturedef.func): python3.14-nixbot-tests> > return (yield) python3.14-nixbot-tests> ^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:926: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'upload' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_admin_can_restart_and_cancel ______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_parse_path_info_both_formats ______________ python3.14-nixbot-tests> [gw17] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'upload' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_claim_serializes_per_key ________________ python3.14-nixbot-tests> [gw5] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw5'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'work_queue' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_scheduled_worktree_id_sanitizes_traversal _______ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_legacy_import_scopes_topics_per_forge _________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_settle_already_built __________________ python3.14-nixbot-tests> [gw19] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw19'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'recovery' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_pr_author_can_control_own_pr ______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_failed_migration_error_not_masked ___________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_failure_aggregation __________________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_configured_viewers_see_private _____________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_permission_denied_records_reason ____________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_control_requires_token _________________ python3.14-nixbot-tests> [gw20] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw20'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw20'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli_api' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_project_page_with_filters _______________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_build_restart_cancel __________________ python3.14-nixbot-tests> [gw14] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_resolve_credential_path ________________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________________ ERROR at setup of test_status_badge_urls ___________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_final_upload_reports_and_clears_queue _________ python3.14-nixbot-tests> [gw17] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'upload' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________________ ERROR at setup of test_tree_hash_reuse ____________________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_settle_interrupted_requeues ______________ python3.14-nixbot-tests> [gw5] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw5'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'work_queue' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_api_token_inherits_login_groups ____________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __ ERROR at setup of test_repo_writer_can_control_without_admin_or_authorship __ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_all_digit_branch_is_filterable _____________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________________ ERROR at setup of test_enable_disable _____________________ python3.14-nixbot-tests> [gw20] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw20'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw20'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli_api' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_log_summary_attr_and_drv ________________ python3.14-nixbot-tests> [gw14] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________________ ERROR at setup of test_retention_cleanup ___________________ python3.14-nixbot-tests> [gw19] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw19'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'recovery' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_edited_migration_rejected _______________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_prune_missing_disabled_projects ____________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_modified_files_gate __________________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________________ ERROR at setup of test_log_toc_and_text ____________________ python3.14-nixbot-tests> [gw20] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw20'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw20'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli_api' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_repo_and_build_inference ________________ python3.14-nixbot-tests> [gw14] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_effect_run_text_and_stream _______________ python3.14-nixbot-tests> [gw20] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw20'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw20'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli_api' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_resume_includes_interrupted_building_attributes ____ python3.14-nixbot-tests> [gw19] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw19'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'recovery' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________________ ERROR at setup of test_auth_status ______________________ python3.14-nixbot-tests> [gw14] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_logout_invalidates_access_cache ____________ python3.14-nixbot-tests> [gw13] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw13'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'visibility' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_intermediates_batch_with_final_and_drop_invalid ____ python3.14-nixbot-tests> [gw17] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'upload' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_approve_pr_requires_writer_not_author _________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_eval_reuse_from_cancelled_build ____________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_build_service_accepts_asyncpg_dsn ___________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________________ ERROR at setup of test_build_page _______________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_cancel_all_requires_admin _______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_catchup_migration_repairs_pre_0033_schema _______ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_forge_outage_is_retried ________________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_attribute_rows_fragment_paginates ___________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_project_store_sync_skips_unchanged_rows ________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_retention_skips_restarted_builds ____________ python3.14-nixbot-tests> [gw19] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw19'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'recovery' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_cancel_all_cancels_pending_and_running_builds _____ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_eval_reuse_skipped_when_drvs_gone ___________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_visibility_fetcher_and_cache_ttl_wired _________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_build_page_shows_eval_warning_groups __________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________________ ERROR at setup of test_stdin_mode _______________________ python3.14-nixbot-tests> [gw17] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'upload' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_forge_outage_gives_up _________________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_cancel_all_button_admin_only ______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_gitea_hook_registration ________________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_main_push_promotes_reused_pr_build ___________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_huge_attr_name_does_not_break_notify_trigger ______ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_aclose_cancels_in_flight_tasks _____________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_build_page_shows_per_attribute_eval_warnings ______ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_pending_paths_survive_restart _____________ python3.14-nixbot-tests> [gw17] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'upload' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_retention_ages_out_failed_caches ____________ python3.14-nixbot-tests> [gw19] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw19'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'recovery' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_csrf_cross_origin_rejected _______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_build_page_renders_ansi_in_error ____________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_lock_shared_with_push_effect_and_supersession _____ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_gitlab_heads_carry_target_branch_base _________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_uploader_factory_picks_stream _____________ python3.14-nixbot-tests> [gw17] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'upload' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_pr_close_discards_queued_changes ____________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_restart_single_attribute ________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_merge_conflict_fails_build _______________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_checkout_is_pr_head_without_token ___________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_rerun_clears_stale_eval_warnings ____________ python3.14-nixbot-tests> [gw19] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw19'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'recovery' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_running_build_shows_progress ______________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_stream_reports_per_path_and_clears_queue ________ python3.14-nixbot-tests> [gw17] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'upload' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_gitea_heads_encode_slashed_default_branch _______ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_restart_unknown_attribute_is_404 ____________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_build_reuse_clears_pr_author_in_other_context _____ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_build_page_live_markers ________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _ ERROR at setup of test_restart_attribute_with_special_chars_redirects_encoded _ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_admin_project_toggle __________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___ ERROR at setup of test_log_follow_finished_attr_falls_back_to_stored_log ___ python3.14-nixbot-tests> [gw14] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_build_branches_gates_branch_pushes ___________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_interrupted_effects_fail_on_recovery __________ python3.14-nixbot-tests> [gw19] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw19'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'recovery' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________________ ERROR at setup of test_attribute_history ___________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_build_success_enqueues_delivery ____________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_reconcile_unbuilt_heads ________________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_schema_constraints ___________________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_log_effect_by_name_and_id _______________ python3.14-nixbot-tests> [gw14] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_stream_error_is_reported_with_message _________ python3.14-nixbot-tests> [gw17] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'upload' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_toggle_activates_newly_enabled_project _________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_overview_ignores_pr_branches ______________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_effects_started_flag __________________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_comment_and_close_webhooks_deliver ___________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_interrupted_effects_sweep_spares_live_effects _____ python3.14-nixbot-tests> [gw19] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw19'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'recovery' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_tag_push_builds_peeled_commit _____________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_stream_child_crash_refeeds_pending ___________ python3.14-nixbot-tests> [gw17] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'upload' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_log_effect_is_not_shadowed_by_attributes ________ python3.14-nixbot-tests> [gw14] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw14'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'cli' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_check_run_store_round_trip _______________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_pending_build_shows_eval_blocker ____________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________________ ERROR at setup of test_run_schedule ______________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_aggregation_generation_monotonic ____________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_gitea_watermark_stops_pagination ____________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_project_filter_escapes_like_wildcards _________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_tag_push_waits_for_a_branch_to_build_its_commit ____ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_schedules_are_listed_on_the_effects_page ________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_failed_status_store_component _____________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_failure_reports_retries_and_gives_up __________ python3.14-nixbot-tests> [gw17] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw17'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'upload' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_gitlab_heads_filter_updated_after ___________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_close_after_merge_push_reused_build __________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___ ERROR at setup of test_internal_error_not_recorded_in_failed_build_cache ___ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________________ ERROR at setup of test_pr_approval_gate ____________________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_page_out_of_range_does_not_error ____________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________________ ERROR at setup of test_repo_refresh ______________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_log_path_attribute_name_sanitized ___________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_failed_build_cache_component ______________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________________ ERROR at setup of test_activity_page _____________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_build_finished_transitions _______________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_api_enable_disable ___________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_reconcile_watermark_store _______________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_pr_approval_disabled_by_default ____________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_activity_no_sentinel_on_exact_page ___________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_get_or_create_build_concurrent_no_duplicates ______ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_api_restart_and_cancel _________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_command_while_running_gets_notice ___________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_cancel_interrupts_evaluation ______________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_activity_rows_fragment_pagination ___________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_restart_gitlab_mr_build_fetches_mr_refs ________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_api_token_lifecycle __________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_commit_eval_result_atomic _______________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_project_rows_fragment_filters _____________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_other_command_does_not_supersede ____________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_expired_api_tokens_pruned _______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_metrics_are_gauges ___________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_build_waiting_for_eval_slot_stays_pending _______ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_register_repo_hook_without_admin_warns _________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_restart_eval_failed_build_reevaluates _________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_cancelled_build_not_reused _______________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_token_creation_with_expiry _______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_label_change_redelivers_pull_request __________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_metrics_are_cached ___________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_proxy_user_can_manage_api_tokens ____________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __ ERROR at setup of test_pending_attribute_rows_recorded_for_crash_recovery ___ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_restart_clears_stale_error_and_warnings ________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_static_urls_carry_content_version ___________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_reuse_backfills_pr_fields _______________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_bearer_token_cannot_manage_api_tokens _________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_legacy_project_urls_redirect ______________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_gitlab_hook_registration ________________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_restart_unknown_attribute_is_a_noop __________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_eval_warnings_null_when_empty _____________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_build_outcome_and_restart_leave_event_history _____ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_reuse_by_other_pr_clears_both_identity_fields _____ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _ ERROR at setup of test_private_repo_public_badge_bypasses_session_visibility _ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_api_token_controls_build ________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_legacy_redirect_hides_invisible_projects ________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_register_repo_hook_500_with_403_in_body_raises _____ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_restart_failed_eval_attribute_reevaluates _______ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_branch_push_takes_over_reused_pr_build _________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_legacy_redirect_404s_on_ambiguous_owner_name ______ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_rerun_flips_stale_red_eval_status ___________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_restart_event_effect_reruns_with_stored_payload ____ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_build_service_composition _______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_interrupted_reeval_keeps_attribute_rows ________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_gitlab_register_repo_hook_status_classification ____ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________________ ERROR at setup of test_health_and_static ___________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_pr_does_not_capture_branch_push_build _________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_recovery_rerun_failures_not_cached ___________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_restart_removes_stale_logs _______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_listing_failure_recorded_on_build ___________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_restart_cancelled_build_reschedules_attributes _____ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________________ ERROR at setup of test_404s __________________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_complete_attribute_preserves_eval_outputs _______ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_gitea_legacy_hook_delete_failure_warns _________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_gitlab_mr_fetches_merge_request_refs __________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_restart_clears_failed_cache ______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_restart_cancelled_mid_eval_reevaluates _________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_sync_tolerates_in_batch_duplicates ___________ python3.14-nixbot-tests> [gw6] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw6'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'forge' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_webhook_setup_shown_to_admin_only ___________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_rerun_fetches_forge_change_request_refs[github] ____ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_log_viewer_and_raw ___________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_tag_runs_onpush_effects_with_tag ____________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_complete_attribute_marks_substituted_as_cached _____ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_structured_log_endpoints ________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_webhook_secret_regeneration ______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_restart_while_unwinding_waits_then_runs ________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_rerun_fetches_forge_change_request_refs[gitlab] ____ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_tag_waits_for_a_running_release ____________ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______ ERROR at setup of test_structured_log_window_caps_huge_derivation _______ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_retry_after_parsing __________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_complete_attribute_replaces_log_metadata ________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_restart_attribute_while_build_running _________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_cancelled_build_reuse_rebuilds _____________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_attr_named_dot_txt_not_shadowed_by_raw_route ______ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _ ERROR at setup of test_tag_listing_failure_recorded_apart_from_build_effects _ python3.14-nixbot-tests> [gw16] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw16'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'deliver' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_work_retry_delay_honors_retry_after __________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _ ERROR at setup of test_record_attributes_persists_pending_rows_with_outputs __ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_cancel_not_running_posts_forge_status _________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_inflight_share_fans_out_final_status __________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_attr_names_with_special_characters ___________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________________ ERROR at setup of test_report_retry ______________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_log_viewer_waits_for_queued_attribute _________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _ ERROR at setup of test_mark_attribute_building_does_not_resurrect_cancelled_rows _ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_log_viewer_unavailable_for_logless_status _______ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_check_rerequested_dispatch _______________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______ ERROR at setup of test_stale_event_does_not_supersede_newer_build _______ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_effect_item_setup_failure_settles_row _________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __ ERROR at setup of test_mark_attribute_building_sets_status_and_started_at ___ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_eval_error_served_like_build_log ____________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_cancel_not_running_settles_attribute_rows _______ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_eval_failure_cleans_cancel_events ___________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_api_projects_and_builds ________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_restart_attribute_posts_pending ____________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_build_rows_link_refs __________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_cancel_attribute_not_running_reaggregates_build ____ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _ ERROR at setup of test_complete_attribute_if_unfinished_skips_terminal_rows __ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_recovery_reports_interrupted_effects __________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_eval_settings_wired __________________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_pull_based_projects_synced_and_buildable ________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_attributes_sort_building_before_pending ________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________________ ERROR at setup of test_work_dispatch _____________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _ ERROR at setup of test_eval_netrc_withheld_from_pr_with_instance_wide_creds __ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_failed_build_cache_scoped_per_project _________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_topic_does_not_hard_filter_discovery __________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_queue_sorts_active_before_pending ___________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_restart_resets_effects _________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_effects_restart_route _________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_eval_stats_lifecycle __________________ python3.14-nixbot-tests> [gw11] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...tch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw11'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'db' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______ ERROR at setup of test_queue_position_is_global_and_skips_running _______ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_eval_gcroots_dir_removed_after_build __________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_startup_reevaluates_interrupted_eval __________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_single_effect_restart_route ______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________________ ERROR at setup of test_openapi_docs ______________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_effect_cancel_route __________________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_effects_run_after_default_branch_success ________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_rerun_of_interrupted_eval_reevaluates _________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________________ ERROR at setup of test_structured_live_stream _________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_webhook_panel_is_forge_aware ______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_drv_raw_serves_running_attribute ____________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_rerun_resumes_building_rows_and_keeps_finished _____ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_api_attr_and_effects_control ______________ python3.14-nixbot-tests> [gw4] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw4'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'control' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_when_changed_reuses_the_last_success __________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_log_sse_stream_caps_history_backlog __________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______ ERROR at setup of test_when_changed_decides_when_the_lock_is_free _______ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______ ERROR at setup of test_log_sse_stream_neutralizes_carriage_returns ______ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _ ERROR at setup of test_rerun_reevaluates_when_drv_paths_were_garbage_collected _ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_api_builds_commit_filter ________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __ ERROR at setup of test_when_changed_ignores_failures_and_follows_a_restart __ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_reeval_failure_marks_build_failed ___________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________________ ERROR at setup of test_log_tail_param _____________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_api_build_failures ___________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_gitlab_discovery_and_hook_registration _________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_pr_worktree_config_cannot_grant_effects ________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_api_build_failures_rejects_non_positive_tail ______ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_rerun_effects_runs_effects_again ____________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________________ ERROR at setup of test_llms_txt ________________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_health_serves_while_startup_blocks ___________ python3.14-nixbot-tests> [gw7] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw7'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'service' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_event_broker_pushes_status_changes ___________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_events_stream_coalesces_burst _____________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_rerun_effects_cancels_hung_effect ___________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_events_stream_refreshes_visibility ___________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_cancel_hung_effect ___________________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________________ ERROR at setup of test_attribute_search ____________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_rerun_single_effect __________________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_build_page_shows_effects ________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________ ERROR at setup of test_build_page_shows_event_effects _____________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_recovery_rerun_runs_effects ______________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __ ERROR at setup of test_unsupported_system_attr_does_not_block_aggregation ___ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_linked_context_reported_on_eval_failure ________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_build_page_groups_dependency_checks_apart _______ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_effect_log_raw_text __________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_effect_log_viewer_status_icon _____________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_eval_failure_settles_streamed_attributes ________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_effect_changes_notify_build_events ___________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________________ ERROR at setup of test_effects_state_api ___________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_effect_rows_roundtrip _________________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____________________ ERROR at setup of test_pr_comment_api _____________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_workload_identity_api _________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_pending_effects_replace_skipped_rows __________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_logout_revokes_session_cookie _____________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_effect_items_resume_only_pending ____________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______________ ERROR at setup of test_gitlab_nested_group_routes _______________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_effect_crash_settles_the_row ______________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_scheduled_run_viewer_renders_ansi ___________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_scheduled_run_viewer_cross_project_404 _________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_concurrent_effects_use_independent_worktrees ______ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_scheduled_run_log_unavailable_placeholder _______ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_scheduled_run_viewer_waiting_before_log ________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_locked_effect_gets_shared_dedup_key __________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_project_tabs_link_builds_and_effects __________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _ ERROR at setup of test_failing_badge_counts_effects_whose_latest_run_failed __ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______ ERROR at setup of test_effect_item_not_claimable_until_dep_settles ______ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_old_schedule_history_url_redirects ___________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_project_effects_filter_and_paginate __________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_scheduled_run_stream_replays_history __________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_effect_dep_failure_skips_dependent ___________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_scheduled_run_notify_build_events ___________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______ ERROR at setup of test_lock_serializes_builds_without_interleaving ______ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________________ ERROR at setup of test_api_log_toc_and_text __________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____________ ERROR at setup of test_api_log_toc_flat_log_fallback _____________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___________ ERROR at setup of test_effect_dep_cycle_fails_discovery ____________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________________ ERROR at setup of test_api_log_stream_json __________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _________ ERROR at setup of test_failed_effect_reports_failure_status __________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______________ ERROR at setup of test_build_eval_stats_surface ________________ python3.14-nixbot-tests> [gw0] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> request = > python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> python3.14-nixbot-tests> @pytest.fixture(scope="module") python3.14-nixbot-tests> def postgres_dsn( python3.14-nixbot-tests> request: pytest.FixtureRequest, tmp_path_factory: pytest.TempPathFactory python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> if shutil.which("initdb") is None: python3.14-nixbot-tests> pytest.skip("postgresql not available") python3.14-nixbot-tests> dbname = request.module.__name__.rsplit(".", 1)[-1].removeprefix("test_") python3.14-nixbot-tests> > with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/conftest.py:33: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'web' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_post_process_error_does_not_wedge_build ________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_unexpected_eval_path_error_settles_build ________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_reuse_empty_succeeded_build_posts_eval_success _____ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __ ERROR at setup of test_stale_event_reusing_old_build_does_not_cancel_newer __ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______ ERROR at setup of test_reuse_for_default_branch_push_runs_effects _______ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __ ERROR at setup of test_tag_reusing_deployed_build_delivers_its_own_effects __ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __ ERROR at setup of test_tag_attached_to_in_flight_build_delivers_on_success __ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______ ERROR at setup of test_restart_of_gated_build_settles_effect_rows _______ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ________ ERROR at setup of test_restart_build_drops_queued_effect_items ________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___ ERROR at setup of test_restart_effects_after_pr_attach_keeps_effects_ref ___ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_gated_restart_then_allowed_reuse_deploys ________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_rerun_single_effect_takes_pending_dependents ______ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ______ ERROR at setup of test_reuse_replays_effect_statuses_to_new_commit ______ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_attach_to_already_terminal_build_replays_status ____ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ___ ERROR at setup of test_cancel_during_eval_resolves_linked_eval_contexts ____ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_effect_log_does_not_collide_with_attribute_log _____ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> __________ ERROR at setup of test_post_process_paths_are_forge_scoped __________ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _______ ERROR at setup of test_effects_phase_error_keeps_succeeded_build _______ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> _____ ERROR at setup of test_reuse_post_process_error_still_reports_status _____ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> ____ ERROR at setup of test_reuse_with_missing_output_still_post_processes _____ python3.14-nixbot-tests> [gw1] darwin -- Python 3.14.6 /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 python3.14-nixbot-tests> python3.14-nixbot-tests> self = python3.14-nixbot-tests> python3.14-nixbot-tests> def setup(self) -> None: python3.14-nixbot-tests> runner_fixture_id = f"_{self._loop_scope}_scoped_runner" python3.14-nixbot-tests> if runner_fixture_id not in self.fixturenames: python3.14-nixbot-tests> self.fixturenames.append(runner_fixture_id) python3.14-nixbot-tests> # When loop factories are configured, resolve the loop factory python3.14-nixbot-tests> # fixture early so that a factory variant change cascades cache python3.14-nixbot-tests> # invalidation before any async fixture checks its cache. python3.14-nixbot-tests> hook_caller = self.config.hook.pytest_asyncio_loop_factories python3.14-nixbot-tests> if hook_caller.get_hookimpls(): python3.14-nixbot-tests> _ = self._request.getfixturevalue(_asyncio_loop_factory.__name__) python3.14-nixbot-tests> > return super().setup() python3.14-nixbot-tests> ^^^^^^^^^^^^^^^ python3.14-nixbot-tests> python3.14-nixbot-tests> /nix/store/4fdzail6axj09flzabahq3f4b2ws3i4j-python3.14-pytest-asyncio-1.4.0/lib/python3.14/site-packages/pytest_asyncio/plugin.py:558: python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> nixbot/tests/conftest.py:33: in postgres_dsn python3.14-nixbot-tests> with ephemeral_postgres(tmp_path_factory, dbname) as dsn: python3.14-nixbot-tests> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ python3.14-nixbot-tests> /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/contextlib.py:141: in __enter__ python3.14-nixbot-tests> return next(self.gen) python3.14-nixbot-tests> ^^^^^^^^^^^^^^ python3.14-nixbot-tests> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ python3.14-nixbot-tests> python3.14-nixbot-tests> tmp_path_factory = TempPathFactory(_given_basetemp=PosixPath('/private/var/tb/7/scratch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/p...atch/eddb5c39692427aa/build/pytest-of-_tribuchetbld7/pytest-0/popen-gw1'), _retention_count=3, _retention_policy='all') python3.14-nixbot-tests> dbname = 'orchestrator' python3.14-nixbot-tests> python3.14-nixbot-tests> @contextlib.contextmanager python3.14-nixbot-tests> def ephemeral_postgres( python3.14-nixbot-tests> tmp_path_factory: pytest.TempPathFactory, dbname: str python3.14-nixbot-tests> ) -> Iterator[str]: python3.14-nixbot-tests> """Throwaway Postgres on a unix socket with migrations applied.""" python3.14-nixbot-tests> datadir = tmp_path_factory.mktemp("pgdata") python3.14-nixbot-tests> sockdir = tmp_path_factory.mktemp("pgsock") python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["initdb", "-D", str(datadir), "-U", "test", "--auth=trust"], python3.14-nixbot-tests> check=True, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ) python3.14-nixbot-tests> proc = subprocess.Popen( # noqa: S603 python3.14-nixbot-tests> ["postgres", "-D", str(datadir), "-k", str(sockdir), "-c", "listen_addresses="], python3.14-nixbot-tests> stdout=subprocess.DEVNULL, python3.14-nixbot-tests> stderr=subprocess.DEVNULL, python3.14-nixbot-tests> ) python3.14-nixbot-tests> try: python3.14-nixbot-tests> deadline = time.monotonic() + 30 python3.14-nixbot-tests> while ( python3.14-nixbot-tests> subprocess.run( # noqa: S603 python3.14-nixbot-tests> ["pg_isready", "-h", str(sockdir), "-U", "test"], python3.14-nixbot-tests> check=False, python3.14-nixbot-tests> capture_output=True, python3.14-nixbot-tests> ).returncode python3.14-nixbot-tests> != 0 python3.14-nixbot-tests> ): python3.14-nixbot-tests> # The socket appears before recovery finishes; createdb would python3.14-nixbot-tests> # fail with "the database system is starting up". python3.14-nixbot-tests> if time.monotonic() > deadline: python3.14-nixbot-tests> msg = "postgres did not start" python3.14-nixbot-tests> > raise RuntimeError(msg) python3.14-nixbot-tests> E RuntimeError: postgres did not start python3.14-nixbot-tests> python3.14-nixbot-tests> nixbot/tests/support.py:319: RuntimeError python3.14-nixbot-tests> =========================== short test summary info ============================ python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_anonymous_sees_public_only - Runt... python3.14-nixbot-tests> ERROR nixbot/tests/test_schedules.py::test_replace_schedules_preserves_last_run_for_unchanged_spec python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_unauthorized_user_sees_public_only python3.14-nixbot-tests> ERROR nixbot/tests/test_schedules.py::test_replace_schedules_tolerates_duplicate_effect_names python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_authorized_user_sees_private - Ru... python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_admin_sees_everything - RuntimeEr... python3.14-nixbot-tests> ERROR nixbot/tests/test_schedules.py::test_store_roundtrip_and_due - RuntimeE... python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_admin_sees_disabled_repos_without_search python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_non_admin_does_not_see_disabled_repos python3.14-nixbot-tests> ERROR nixbot/tests/test_schedules.py::test_due_effects_window_and_bad_spec - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_api_token_sees_private - RuntimeE... python3.14-nixbot-tests> ERROR nixbot/tests/test_schedules.py::test_run_recording_and_overview - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_admin_api_token_sees_private - Ru... python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_forge_repo_admins_can_toggle_their_repos python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_forge_repo_writers_can_control_their_repos python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_fetch_errors_are_not_cached - Run... python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_project_store_sync_and_legacy_import python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_full_lifecycle - RuntimeError: ... python3.14-nixbot-tests> ERROR nixbot/tests/test_work_queue.py::test_enqueue_dedupes_pending - Runtime... python3.14-nixbot-tests> ERROR nixbot/tests/test_cli_api.py::test_repos_and_builds - RuntimeError: pos... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_control_buttons_hidden_without_permission python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_migrations_idempotent - RuntimeError: pos... python3.14-nixbot-tests> ERROR nixbot/tests/test_recovery.py::test_resume_skips_terminal_attributes - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_access_cache_used - RuntimeError:... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_html_error_pages - RuntimeError: postgre... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_scheduled_worktree_id_distinct_per_effect python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_match_skip_and_run - RuntimeError: p... python3.14-nixbot-tests> ERROR nixbot/tests/test_cli.py::test_repo_list_and_toggle - RuntimeError: pos... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_api_strips_ansi_from_errors - RuntimeErr... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_homepage - RuntimeError: postgres did no... python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_legacy_import_runs_despite_pull_based_rows python3.14-nixbot-tests> ERROR nixbot/tests/test_cli_api.py::test_finished_attrs_cursor - RuntimeError... python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_metrics_unauthenticated_no_private_names python3.14-nixbot-tests> ERROR nixbot/tests/test_cli.py::test_build_list_and_view - RuntimeError: post... python3.14-nixbot-tests> ERROR nixbot/tests/test_upload.py::test_chunk_args_splits_on_byte_limit - Run... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_admin_can_restart_and_cancel - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_upload.py::test_parse_path_info_both_formats - Runtim... python3.14-nixbot-tests> ERROR nixbot/tests/test_work_queue.py::test_claim_serializes_per_key - Runtim... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_scheduled_worktree_id_sanitizes_traversal python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_legacy_import_scopes_topics_per_forge python3.14-nixbot-tests> ERROR nixbot/tests/test_recovery.py::test_settle_already_built - RuntimeError... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_pr_author_can_control_own_pr - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_failed_migration_error_not_masked - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_failure_aggregation - RuntimeEr... python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_configured_viewers_see_private - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_permission_denied_records_reason - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_cli_api.py::test_control_requires_token - RuntimeErro... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_project_page_with_filters - RuntimeError... python3.14-nixbot-tests> ERROR nixbot/tests/test_cli.py::test_build_restart_cancel - RuntimeError: pos... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_resolve_credential_path - RuntimeErr... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_status_badge_urls - RuntimeError: postgr... python3.14-nixbot-tests> ERROR nixbot/tests/test_upload.py::test_final_upload_reports_and_clears_queue python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_tree_hash_reuse - RuntimeError:... python3.14-nixbot-tests> ERROR nixbot/tests/test_work_queue.py::test_settle_interrupted_requeues - Run... python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_api_token_inherits_login_groups python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_repo_writer_can_control_without_admin_or_authorship python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_all_digit_branch_is_filterable - Runtime... python3.14-nixbot-tests> ERROR nixbot/tests/test_cli_api.py::test_enable_disable - RuntimeError: postg... python3.14-nixbot-tests> ERROR nixbot/tests/test_cli.py::test_log_summary_attr_and_drv - RuntimeError:... python3.14-nixbot-tests> ERROR nixbot/tests/test_recovery.py::test_retention_cleanup - RuntimeError: p... python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_edited_migration_rejected - RuntimeError:... python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_prune_missing_disabled_projects - Runt... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_modified_files_gate - RuntimeError: ... python3.14-nixbot-tests> ERROR nixbot/tests/test_cli_api.py::test_log_toc_and_text - RuntimeError: pos... python3.14-nixbot-tests> ERROR nixbot/tests/test_cli.py::test_repo_and_build_inference - RuntimeError:... python3.14-nixbot-tests> ERROR nixbot/tests/test_cli_api.py::test_effect_run_text_and_stream - Runtime... python3.14-nixbot-tests> ERROR nixbot/tests/test_recovery.py::test_resume_includes_interrupted_building_attributes python3.14-nixbot-tests> ERROR nixbot/tests/test_cli.py::test_auth_status - RuntimeError: postgres did... python3.14-nixbot-tests> ERROR nixbot/tests/test_visibility.py::test_logout_invalidates_access_cache python3.14-nixbot-tests> ERROR nixbot/tests/test_upload.py::test_intermediates_batch_with_final_and_drop_invalid python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_approve_pr_requires_writer_not_author python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_eval_reuse_from_cancelled_build python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_build_service_accepts_asyncpg_dsn - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_build_page - RuntimeError: postgres did ... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_cancel_all_requires_admin - RuntimeE... python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_catchup_migration_repairs_pre_0033_schema python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_forge_outage_is_retried - RuntimeErr... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_attribute_rows_fragment_paginates - Runt... python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_project_store_sync_skips_unchanged_rows python3.14-nixbot-tests> ERROR nixbot/tests/test_recovery.py::test_retention_skips_restarted_builds - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_cancel_all_cancels_pending_and_running_builds python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_eval_reuse_skipped_when_drvs_gone python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_visibility_fetcher_and_cache_ttl_wired python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_build_page_shows_eval_warning_groups - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_upload.py::test_stdin_mode - RuntimeError: postgres d... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_forge_outage_gives_up - RuntimeError... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_cancel_all_button_admin_only - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_gitea_hook_registration - RuntimeError... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_main_push_promotes_reused_pr_build python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_huge_attr_name_does_not_break_notify_trigger python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_aclose_cancels_in_flight_tasks - Run... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_build_page_shows_per_attribute_eval_warnings python3.14-nixbot-tests> ERROR nixbot/tests/test_upload.py::test_pending_paths_survive_restart - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_recovery.py::test_retention_ages_out_failed_caches - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_csrf_cross_origin_rejected - Runtime... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_build_page_renders_ansi_in_error - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_lock_shared_with_push_effect_and_supersession python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_gitlab_heads_carry_target_branch_base python3.14-nixbot-tests> ERROR nixbot/tests/test_upload.py::test_uploader_factory_picks_stream - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_pr_close_discards_queued_changes - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_restart_single_attribute - RuntimeEr... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_merge_conflict_fails_build - Ru... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_checkout_is_pr_head_without_token - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_recovery.py::test_rerun_clears_stale_eval_warnings - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_running_build_shows_progress - RuntimeEr... python3.14-nixbot-tests> ERROR nixbot/tests/test_upload.py::test_stream_reports_per_path_and_clears_queue python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_gitea_heads_encode_slashed_default_branch python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_restart_unknown_attribute_is_404 - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_build_reuse_clears_pr_author_in_other_context python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_build_page_live_markers - RuntimeError: ... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_restart_attribute_with_special_chars_redirects_encoded python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_admin_project_toggle - RuntimeError:... python3.14-nixbot-tests> ERROR nixbot/tests/test_cli.py::test_log_follow_finished_attr_falls_back_to_stored_log python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_build_branches_gates_branch_pushes python3.14-nixbot-tests> ERROR nixbot/tests/test_recovery.py::test_interrupted_effects_fail_on_recovery python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_attribute_history - RuntimeError: postgr... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_build_success_enqueues_delivery - Ru... python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_reconcile_unbuilt_heads - RuntimeError... python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_schema_constraints - RuntimeError: postgr... python3.14-nixbot-tests> ERROR nixbot/tests/test_cli.py::test_log_effect_by_name_and_id - RuntimeError... python3.14-nixbot-tests> ERROR nixbot/tests/test_upload.py::test_stream_error_is_reported_with_message python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_toggle_activates_newly_enabled_project python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_overview_ignores_pr_branches - RuntimeEr... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_effects_started_flag - RuntimeE... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_comment_and_close_webhooks_deliver python3.14-nixbot-tests> ERROR nixbot/tests/test_recovery.py::test_interrupted_effects_sweep_spares_live_effects python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_tag_push_builds_peeled_commit - Runt... python3.14-nixbot-tests> ERROR nixbot/tests/test_upload.py::test_stream_child_crash_refeeds_pending - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_cli.py::test_log_effect_is_not_shadowed_by_attributes python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_check_run_store_round_trip - RuntimeError... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_pending_build_shows_eval_blocker - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_run_schedule - RuntimeError: postgre... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_aggregation_generation_monotonic python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_gitea_watermark_stops_pagination - Run... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_project_filter_escapes_like_wildcards - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_tag_push_waits_for_a_branch_to_build_its_commit python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_schedules_are_listed_on_the_effects_page python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_failed_status_store_component - RuntimeEr... python3.14-nixbot-tests> ERROR nixbot/tests/test_upload.py::test_failure_reports_retries_and_gives_up python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_gitlab_heads_filter_updated_after - Ru... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_close_after_merge_push_reused_build python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_internal_error_not_recorded_in_failed_build_cache python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_pr_approval_gate - RuntimeError: pos... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_page_out_of_range_does_not_error - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_repo_refresh - RuntimeError: postgre... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_log_path_attribute_name_sanitized python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_failed_build_cache_component - RuntimeErr... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_activity_page - RuntimeError: postgres d... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_build_finished_transitions - Runtime... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_api_enable_disable - RuntimeError: p... python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_reconcile_watermark_store - RuntimeErr... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_pr_approval_disabled_by_default - Ru... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_activity_no_sentinel_on_exact_page - Run... python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_get_or_create_build_concurrent_no_duplicates python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_api_restart_and_cancel - RuntimeErro... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_command_while_running_gets_notice - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_cancel_interrupts_evaluation - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_activity_rows_fragment_pagination - Runt... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_restart_gitlab_mr_build_fetches_mr_refs python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_api_token_lifecycle - RuntimeError: ... python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_commit_eval_result_atomic - RuntimeError:... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_project_rows_fragment_filters - RuntimeE... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_other_command_does_not_supersede - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_expired_api_tokens_pruned - RuntimeE... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_metrics_are_gauges - RuntimeError: postg... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_build_waiting_for_eval_slot_stays_pending python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_register_repo_hook_without_admin_warns python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_restart_eval_failed_build_reevaluates python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_cancelled_build_not_reused - RuntimeError... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_token_creation_with_expiry - Runtime... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_label_change_redelivers_pull_request python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_metrics_are_cached - RuntimeError: postg... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_proxy_user_can_manage_api_tokens - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_pending_attribute_rows_recorded_for_crash_recovery python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_restart_clears_stale_error_and_warnings python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_static_urls_carry_content_version - Runt... python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_reuse_backfills_pr_fields - RuntimeError:... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_bearer_token_cannot_manage_api_tokens python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_legacy_project_urls_redirect - RuntimeEr... python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_gitlab_hook_registration - RuntimeErro... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_restart_unknown_attribute_is_a_noop python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_eval_warnings_null_when_empty python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_build_outcome_and_restart_leave_event_history python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_reuse_by_other_pr_clears_both_identity_fields python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_private_repo_public_badge_bypasses_session_visibility python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_api_token_controls_build - RuntimeEr... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_legacy_redirect_hides_invisible_projects python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_register_repo_hook_500_with_403_in_body_raises python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_restart_failed_eval_attribute_reevaluates python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_branch_push_takes_over_reused_pr_build - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_legacy_redirect_404s_on_ambiguous_owner_name python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_rerun_flips_stale_red_eval_status python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_restart_event_effect_reruns_with_stored_payload python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_build_service_composition - RuntimeE... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_interrupted_reeval_keeps_attribute_rows python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_gitlab_register_repo_hook_status_classification python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_health_and_static - RuntimeError: postgr... python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_pr_does_not_capture_branch_push_build - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_recovery_rerun_failures_not_cached python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_restart_removes_stale_logs - Runtime... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_listing_failure_recorded_on_build - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_restart_cancelled_build_reschedules_attributes python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_404s - RuntimeError: postgres did not start python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_complete_attribute_preserves_eval_outputs python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_gitea_legacy_hook_delete_failure_warns python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_gitlab_mr_fetches_merge_request_refs python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_restart_clears_failed_cache - Runtim... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_restart_cancelled_mid_eval_reevaluates python3.14-nixbot-tests> ERROR nixbot/tests/test_forge.py::test_sync_tolerates_in_batch_duplicates - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_webhook_setup_shown_to_admin_only - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_rerun_fetches_forge_change_request_refs[github] python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_log_viewer_and_raw - RuntimeError: postg... python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_tag_runs_onpush_effects_with_tag - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_complete_attribute_marks_substituted_as_cached python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_structured_log_endpoints - RuntimeError:... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_webhook_secret_regeneration - Runtim... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_restart_while_unwinding_waits_then_runs python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_rerun_fetches_forge_change_request_refs[gitlab] python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_tag_waits_for_a_running_release - Ru... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_structured_log_window_caps_huge_derivation python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_retry_after_parsing - RuntimeError: ... python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_complete_attribute_replaces_log_metadata python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_restart_attribute_while_build_running python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_cancelled_build_reuse_rebuilds python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_attr_named_dot_txt_not_shadowed_by_raw_route python3.14-nixbot-tests> ERROR nixbot/tests/test_deliver.py::test_tag_listing_failure_recorded_apart_from_build_effects python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_work_retry_delay_honors_retry_after python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_record_attributes_persists_pending_rows_with_outputs python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_cancel_not_running_posts_forge_status python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_inflight_share_fans_out_final_status python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_attr_names_with_special_characters - Run... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_report_retry - RuntimeError: postgre... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_log_viewer_waits_for_queued_attribute - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_mark_attribute_building_does_not_resurrect_cancelled_rows python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_log_viewer_unavailable_for_logless_status python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_check_rerequested_dispatch - Runtime... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_stale_event_does_not_supersede_newer_build python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_effect_item_setup_failure_settles_row python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_mark_attribute_building_sets_status_and_started_at python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_eval_error_served_like_build_log - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_cancel_not_running_settles_attribute_rows python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_eval_failure_cleans_cancel_events python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_api_projects_and_builds - RuntimeError: ... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_restart_attribute_posts_pending - Ru... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_build_rows_link_refs - RuntimeError: pos... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_cancel_attribute_not_running_reaggregates_build python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_complete_attribute_if_unfinished_skips_terminal_rows python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_recovery_reports_interrupted_effects python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_eval_settings_wired - RuntimeEr... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_pull_based_projects_synced_and_buildable python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_attributes_sort_building_before_pending python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_work_dispatch - RuntimeError: postgr... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_eval_netrc_withheld_from_pr_with_instance_wide_creds python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_failed_build_cache_scoped_per_project - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_topic_does_not_hard_filter_discovery python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_queue_sorts_active_before_pending - Runt... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_restart_resets_effects - RuntimeErro... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_effects_restart_route - RuntimeError... python3.14-nixbot-tests> ERROR nixbot/tests/test_db.py::test_eval_stats_lifecycle - RuntimeError: post... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_queue_position_is_global_and_skips_running python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_eval_gcroots_dir_removed_after_build python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_startup_reevaluates_interrupted_eval python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_single_effect_restart_route - Runtim... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_openapi_docs - RuntimeError: postgres di... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_effect_cancel_route - RuntimeError: ... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_effects_run_after_default_branch_success python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_rerun_of_interrupted_eval_reevaluates python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_structured_live_stream - RuntimeError: p... python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_webhook_panel_is_forge_aware - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_drv_raw_serves_running_attribute - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_rerun_resumes_building_rows_and_keeps_finished python3.14-nixbot-tests> ERROR nixbot/tests/test_control.py::test_api_attr_and_effects_control - Runti... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_when_changed_reuses_the_last_success python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_log_sse_stream_caps_history_backlog - Ru... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_when_changed_decides_when_the_lock_is_free python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_log_sse_stream_neutralizes_carriage_returns python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_rerun_reevaluates_when_drv_paths_were_garbage_collected python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_api_builds_commit_filter - RuntimeError:... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_when_changed_ignores_failures_and_follows_a_restart python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_reeval_failure_marks_build_failed - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_log_tail_param - RuntimeError: postgres ... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_api_build_failures - RuntimeError: postg... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_gitlab_discovery_and_hook_registration python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_pr_worktree_config_cannot_grant_effects python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_api_build_failures_rejects_non_positive_tail python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_rerun_effects_runs_effects_again python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_llms_txt - RuntimeError: postgres did no... python3.14-nixbot-tests> ERROR nixbot/tests/test_service.py::test_health_serves_while_startup_blocks python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_event_broker_pushes_status_changes - Run... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_events_stream_coalesces_burst - RuntimeE... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_rerun_effects_cancels_hung_effect python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_events_stream_refreshes_visibility - Run... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_cancel_hung_effect - RuntimeErr... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_attribute_search - RuntimeError: postgre... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_rerun_single_effect - RuntimeEr... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_build_page_shows_effects - RuntimeError:... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_build_page_shows_event_effects - Runtime... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_recovery_rerun_runs_effects - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_unsupported_system_attr_does_not_block_aggregation python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_linked_context_reported_on_eval_failure python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_build_page_groups_dependency_checks_apart python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_effect_log_raw_text - RuntimeError: post... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_effect_log_viewer_status_icon - RuntimeE... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_eval_failure_settles_streamed_attributes python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_effect_changes_notify_build_events - Run... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_effects_state_api - RuntimeError: postgr... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_effect_rows_roundtrip - Runtime... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_pr_comment_api - RuntimeError: postgres ... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_workload_identity_api - RuntimeError: po... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_pending_effects_replace_skipped_rows python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_logout_revokes_session_cookie - RuntimeE... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_effect_items_resume_only_pending python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_gitlab_nested_group_routes - RuntimeErro... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_effect_crash_settles_the_row - ... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_scheduled_run_viewer_renders_ansi - Runt... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_scheduled_run_viewer_cross_project_404 python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_concurrent_effects_use_independent_worktrees python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_scheduled_run_log_unavailable_placeholder python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_scheduled_run_viewer_waiting_before_log python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_locked_effect_gets_shared_dedup_key python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_project_tabs_link_builds_and_effects - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_failing_badge_counts_effects_whose_latest_run_failed python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_effect_item_not_claimable_until_dep_settles python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_old_schedule_history_url_redirects - Run... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_project_effects_filter_and_paginate - Ru... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_scheduled_run_stream_replays_history - R... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_effect_dep_failure_skips_dependent python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_scheduled_run_notify_build_events - Runt... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_lock_serializes_builds_without_interleaving python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_api_log_toc_and_text - RuntimeError: pos... python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_api_log_toc_flat_log_fallback - RuntimeE... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_effect_dep_cycle_fails_discovery python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_api_log_stream_json - RuntimeError: post... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_failed_effect_reports_failure_status python3.14-nixbot-tests> ERROR nixbot/tests/test_web.py::test_build_eval_stats_surface - RuntimeError:... python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_post_process_error_does_not_wedge_build python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_unexpected_eval_path_error_settles_build python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_reuse_empty_succeeded_build_posts_eval_success python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_stale_event_reusing_old_build_does_not_cancel_newer python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_reuse_for_default_branch_push_runs_effects python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_tag_reusing_deployed_build_delivers_its_own_effects python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_tag_attached_to_in_flight_build_delivers_on_success python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_restart_of_gated_build_settles_effect_rows python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_restart_build_drops_queued_effect_items python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_restart_effects_after_pr_attach_keeps_effects_ref python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_gated_restart_then_allowed_reuse_deploys python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_rerun_single_effect_takes_pending_dependents python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_reuse_replays_effect_statuses_to_new_commit python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_attach_to_already_terminal_build_replays_status python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_cancel_during_eval_resolves_linked_eval_contexts python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_effect_log_does_not_collide_with_attribute_log python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_post_process_paths_are_forge_scoped python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_effects_phase_error_keeps_succeeded_build python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_reuse_post_process_error_still_reports_status python3.14-nixbot-tests> ERROR nixbot/tests/test_orchestrator.py::test_reuse_with_missing_output_still_post_processes python3.14-nixbot-tests> ================= 477 passed, 29 skipped, 355 errors in 55.85s ================= error: Cannot build '/nix/store/lk88lah3ln2q4igdhcf8f4javwfryz6w-python3.14-nixbot-tests.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/37q2sg4wh2d4v2xmnacf1kc25k01hgzr-python3.14-nixbot-tests-dist /nix/store/r8wf840clfmgqxw0q27rq666qxry6v4c-python3.14-nixbot-tests Last 25 log lines: > ERROR nixbot/tests/test_orchestrator.py::test_effect_dep_cycle_fails_discovery > ERROR nixbot/tests/test_web.py::test_api_log_stream_json - RuntimeError: post... > ERROR nixbot/tests/test_orchestrator.py::test_failed_effect_reports_failure_status > ERROR nixbot/tests/test_web.py::test_build_eval_stats_surface - RuntimeError:... > ERROR nixbot/tests/test_orchestrator.py::test_post_process_error_does_not_wedge_build > ERROR nixbot/tests/test_orchestrator.py::test_unexpected_eval_path_error_settles_build > ERROR nixbot/tests/test_orchestrator.py::test_reuse_empty_succeeded_build_posts_eval_success > ERROR nixbot/tests/test_orchestrator.py::test_stale_event_reusing_old_build_does_not_cancel_newer > ERROR nixbot/tests/test_orchestrator.py::test_reuse_for_default_branch_push_runs_effects > ERROR nixbot/tests/test_orchestrator.py::test_tag_reusing_deployed_build_delivers_its_own_effects > ERROR nixbot/tests/test_orchestrator.py::test_tag_attached_to_in_flight_build_delivers_on_success > ERROR nixbot/tests/test_orchestrator.py::test_restart_of_gated_build_settles_effect_rows > ERROR nixbot/tests/test_orchestrator.py::test_restart_build_drops_queued_effect_items > ERROR nixbot/tests/test_orchestrator.py::test_restart_effects_after_pr_attach_keeps_effects_ref > ERROR nixbot/tests/test_orchestrator.py::test_gated_restart_then_allowed_reuse_deploys > ERROR nixbot/tests/test_orchestrator.py::test_rerun_single_effect_takes_pending_dependents > ERROR nixbot/tests/test_orchestrator.py::test_reuse_replays_effect_statuses_to_new_commit > ERROR nixbot/tests/test_orchestrator.py::test_attach_to_already_terminal_build_replays_status > ERROR nixbot/tests/test_orchestrator.py::test_cancel_during_eval_resolves_linked_eval_contexts > ERROR nixbot/tests/test_orchestrator.py::test_effect_log_does_not_collide_with_attribute_log > ERROR nixbot/tests/test_orchestrator.py::test_post_process_paths_are_forge_scoped > ERROR nixbot/tests/test_orchestrator.py::test_effects_phase_error_keeps_succeeded_build > ERROR nixbot/tests/test_orchestrator.py::test_reuse_post_process_error_still_reports_status > ERROR nixbot/tests/test_orchestrator.py::test_reuse_with_missing_output_still_post_processes > ================= 477 passed, 29 skipped, 355 errors in 55.85s ================= For full logs, run: nix log /nix/store/lk88lah3ln2q4igdhcf8f4javwfryz6w-python3.14-nixbot-tests.drv