this derivation will be built: /nix/store/lj8678hh3hm1ri4772m5j3hpshxlrgl5-nix-eval-jobs-functional-tests.drv this path will be fetched (6.3 MiB download, 46.4 MiB unpacked): /nix/store/45l0inx8p4lfm1fbvv6k38986zx1ma2d-git-minimal-2.51.2 building '/nix/store/lj8678hh3hm1ri4772m5j3hpshxlrgl5-nix-eval-jobs-functional-tests.drv' on 'ssh-ng://customer@mac02' building '/nix/store/lj8678hh3hm1ri4772m5j3hpshxlrgl5-nix-eval-jobs-functional-tests.drv' nix-eval-jobs-functional-tests> ============================= test session starts ============================== nix-eval-jobs-functional-tests> platform darwin -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0 -- /nix/store/xcjk9ill54kjk8mzgq6yydnx9015lidg-python3-3.13.9/bin/python3.13 nix-eval-jobs-functional-tests> cachedir: .pytest_cache nix-eval-jobs-functional-tests> rootdir: /nix/var/nix/builds/nix-49414-860316410 nix-eval-jobs-functional-tests> collected 23 items nix-eval-jobs-functional-tests> nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_flake PASSED [ 4%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_query_cache_status PASSED [ 8%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_expression PASSED [ 13%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_input_drvs PASSED [ 17%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_eval_error PASSED [ 21%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_no_gcroot_dir PASSED [ 26%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_daemon_only_settings_do_not_warn PASSED [ 30%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_constituents PASSED [ 34%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_constituents_all PASSED [ 39%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_constituents_glob_misc PASSED [ 43%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_constituents_cycle PASSED [ 47%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_constituents_error PASSED [ 52%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_empty_needed PASSED [ 56%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_apply PASSED [ 60%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_select_flake PASSED [ 65%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_recursion_error PASSED [ 69%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_no_instantiate_mode PASSED [ 73%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_fod_with_uncached_input_issue413[file] PASSED [ 78%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_fod_with_uncached_input_issue413[http] PASSED [ 82%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_worker_log_format_survives_fork PASSED [ 86%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_worker_restart_on_last_job_exits_cleanly PASSED [ 91%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_fetchers_survive_worker_restart PASSED [ 95%] nix-eval-jobs-functional-tests> tests-functional/test_eval.py::test_workers_do_not_race_flake_fetch FAILED [100%] nix-eval-jobs-functional-tests> nix-eval-jobs-functional-tests> =================================== FAILURES =================================== nix-eval-jobs-functional-tests> _____________________ test_workers_do_not_race_flake_fetch _____________________ nix-eval-jobs-functional-tests> nix-eval-jobs-functional-tests> tmp_path = PosixPath('/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0') nix-eval-jobs-functional-tests> nix-eval-jobs-functional-tests> def test_workers_do_not_race_flake_fetch(tmp_path: Path) -> None: nix-eval-jobs-functional-tests> """Workers fetching the same flake input concurrently spam "waiting nix-eval-jobs-functional-tests> for another Nix process to finish fetching input" (issue #432).""" nix-eval-jobs-functional-tests> env = _hermetic_nix_env(tmp_path) nix-eval-jobs-functional-tests> repo = tmp_path / "flake" nix-eval-jobs-functional-tests> repo.mkdir() nix-eval-jobs-functional-tests> jobs = "\n".join( nix-eval-jobs-functional-tests> f""" nix-eval-jobs-functional-tests> job-{i} = derivation {{ nix-eval-jobs-functional-tests> name = "race-{i}"; nix-eval-jobs-functional-tests> system = "x86_64-linux"; nix-eval-jobs-functional-tests> builder = "/bin/sh"; nix-eval-jobs-functional-tests> args = [ "-c" "echo {i} > $out" ]; }};""" nix-eval-jobs-functional-tests> for i in range(8) nix-eval-jobs-functional-tests> ) nix-eval-jobs-functional-tests> repo.joinpath("flake.nix").write_text(f"{{ outputs = _: {{ hydraJobs = {{ {jobs} }}; }}; }}") nix-eval-jobs-functional-tests> subprocess.run(["git", "init", "-q"], cwd=repo, check=True, env=env) nix-eval-jobs-functional-tests> subprocess.run(["git", "add", "flake.nix"], cwd=repo, check=True, env=env) nix-eval-jobs-functional-tests> subprocess.run( nix-eval-jobs-functional-tests> ["git", "-c", "user.email=t@t", "-c", "user.name=t", "commit", "-qm", "init"], nix-eval-jobs-functional-tests> cwd=repo, nix-eval-jobs-functional-tests> check=True, nix-eval-jobs-functional-tests> env=env, nix-eval-jobs-functional-tests> ) nix-eval-jobs-functional-tests> nix-eval-jobs-functional-tests> res = subprocess.run( nix-eval-jobs-functional-tests> [ nix-eval-jobs-functional-tests> str(BIN), nix-eval-jobs-functional-tests> "--gc-roots-dir", nix-eval-jobs-functional-tests> str(tmp_path / "gc"), nix-eval-jobs-functional-tests> "--workers", nix-eval-jobs-functional-tests> "8", nix-eval-jobs-functional-tests> *COMMON_FLAGS, nix-eval-jobs-functional-tests> "--flake", nix-eval-jobs-functional-tests> f"git+file://{repo}#hydraJobs", nix-eval-jobs-functional-tests> ], nix-eval-jobs-functional-tests> env=env, nix-eval-jobs-functional-tests> text=True, nix-eval-jobs-functional-tests> check=True, nix-eval-jobs-functional-tests> capture_output=True, nix-eval-jobs-functional-tests> ) nix-eval-jobs-functional-tests> assert len(res.stdout.splitlines()) == 8 nix-eval-jobs-functional-tests> > assert "waiting for another Nix process" not in res.stderr, res.stderr nix-eval-jobs-functional-tests> E AssertionError: warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt nix-eval-jobs-functional-tests> E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt nix-eval-jobs-functional-tests> E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt nix-eval-jobs-functional-tests> E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt nix-eval-jobs-functional-tests> E waiting for another Nix process to finish fetching input 'git+file:///nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/flake?ref=refs/heads/master&rev=44cf4afd51dfe199278a67a20cb284a3f73a6cc4'... nix-eval-jobs-functional-tests> E waiting for another Nix process to finish fetching input 'git+file:///nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/flake?ref=refs/heads/master&rev=44cf4afd51dfe199278a67a20cb284a3f73a6cc4'... nix-eval-jobs-functional-tests> E waiting for another Nix process to finish fetching input 'git+file:///nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/flake?ref=refs/heads/master&rev=44cf4afd51dfe199278a67a20cb284a3f73a6cc4'... nix-eval-jobs-functional-tests> E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy nix-eval-jobs-functional-tests> E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy nix-eval-jobs-functional-tests> E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy nix-eval-jobs-functional-tests> E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt nix-eval-jobs-functional-tests> E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt nix-eval-jobs-functional-tests> E waiting for another Nix process to finish fetching input 'git+file:///nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/flake?ref=refs/heads/master&rev=44cf4afd51dfe199278a67a20cb284a3f73a6cc4'... nix-eval-jobs-functional-tests> E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt nix-eval-jobs-functional-tests> E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy nix-eval-jobs-functional-tests> E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy nix-eval-jobs-functional-tests> E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt nix-eval-jobs-functional-tests> E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy nix-eval-jobs-functional-tests> E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy nix-eval-jobs-functional-tests> E nix-eval-jobs-functional-tests> E assert 'waiting for... Nix process' not in "warning: un...e' is busy\n" nix-eval-jobs-functional-tests> E nix-eval-jobs-functional-tests> E 'waiting for another Nix process' is contained here: nix-eval-jobs-functional-tests> E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt nix-eval-jobs-functional-tests> E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt nix-eval-jobs-functional-tests> E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors ... nix-eval-jobs-functional-tests> E nix-eval-jobs-functional-tests> E ...Full output truncated (19 lines hidden), use '-vv' to show nix-eval-jobs-functional-tests> nix-eval-jobs-functional-tests> tests-functional/test_eval.py:901: AssertionError nix-eval-jobs-functional-tests> =========================== short test summary info ============================ nix-eval-jobs-functional-tests> FAILED tests-functional/test_eval.py::test_workers_do_not_race_flake_fetch - AssertionError: warning: unable to download 'https://cache.nixos.org/nix-ca... nix-eval-jobs-functional-tests> ========================= 1 failed, 22 passed in 4.48s ========================= error: build of '/nix/store/lj8678hh3hm1ri4772m5j3hpshxlrgl5-nix-eval-jobs-functional-tests.drv' on 'ssh-ng://customer@mac02' failed: Cannot build '/nix/store/lj8678hh3hm1ri4772m5j3hpshxlrgl5-nix-eval-jobs-functional-tests.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/b5ds3vpfmm9bl1g7jg3iq0gsdfm8j7yr-nix-eval-jobs-functional-tests Last 25 log lines: > E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy > E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy > E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt > E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt > E waiting for another Nix process to finish fetching input 'git+file:///nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/flake?ref=refs/heads/master&rev=44cf4afd51dfe199278a67a20cb284a3f73a6cc4'... > E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt > E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy > E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy > E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt > E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy > E error (ignored): SQLite database '/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0/home/.cache/nix/eval-cache-v6/61090182bf981984a1ef77b51be102cd0fcd6af69c4a1da0f7c1003ae672a552.sqlite' is busy > E > E assert 'waiting for... Nix process' not in "warning: un...e' is busy\n" > E > E 'waiting for another Nix process' is contained here: > E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt > E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors from file: /no-cert-file.crt > E warning: unable to download 'https://cache.nixos.org/nix-cache-info': Problem with the SSL CA cert (path? access rights?) (77) error adding trust anchors ... > E > E ...Full output truncated (19 lines hidden), use '-vv' to show > > tests-functional/test_eval.py:901: AssertionError > =========================== short test summary info ============================ > FAILED tests-functional/test_eval.py::test_workers_do_not_race_flake_fetch - AssertionError: warning: unable to download 'https://cache.nixos.org/nix-ca... > ========================= 1 failed, 22 passed in 4.48s ========================= For full logs, run: nix log /nix/store/lj8678hh3hm1ri4772m5j3hpshxlrgl5-nix-eval-jobs-functional-tests.drv error: Cannot build '/nix/store/lj8678hh3hm1ri4772m5j3hpshxlrgl5-nix-eval-jobs-functional-tests.drv'. Reason: builder failed with exit code 1. Output paths: /nix/store/b5ds3vpfmm9bl1g7jg3iq0gsdfm8j7yr-nix-eval-jobs-functional-tests