nixbot

builds

failed nix-eval-jobs-functional-tests default.checks.aarch64-darwin.functional-tests · build #49 · raw

1============================= test session starts ==============================2platform darwin -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0 -- /nix/store/xcjk9ill54kjk8mzgq6yydnx9015lidg-python3-3.13.9/bin/python3.133cachedir: .pytest_cache4rootdir: /nix/var/nix/builds/nix-49414-8603164105collected 23 items 67tests-functional/test_eval.py::test_flake PASSED [ 4%]8tests-functional/test_eval.py::test_query_cache_status PASSED [ 8%]9tests-functional/test_eval.py::test_expression PASSED [ 13%]10tests-functional/test_eval.py::test_input_drvs PASSED [ 17%]11tests-functional/test_eval.py::test_eval_error PASSED [ 21%]12tests-functional/test_eval.py::test_no_gcroot_dir PASSED [ 26%]13tests-functional/test_eval.py::test_daemon_only_settings_do_not_warn PASSED [ 30%]14tests-functional/test_eval.py::test_constituents PASSED [ 34%]15tests-functional/test_eval.py::test_constituents_all PASSED [ 39%]16tests-functional/test_eval.py::test_constituents_glob_misc PASSED [ 43%]17tests-functional/test_eval.py::test_constituents_cycle PASSED [ 47%]18tests-functional/test_eval.py::test_constituents_error PASSED [ 52%]19tests-functional/test_eval.py::test_empty_needed PASSED [ 56%]20tests-functional/test_eval.py::test_apply PASSED [ 60%]21tests-functional/test_eval.py::test_select_flake PASSED [ 65%]22tests-functional/test_eval.py::test_recursion_error PASSED [ 69%]23tests-functional/test_eval.py::test_no_instantiate_mode PASSED [ 73%]24tests-functional/test_eval.py::test_fod_with_uncached_input_issue413[file] PASSED [ 78%]25tests-functional/test_eval.py::test_fod_with_uncached_input_issue413[http] PASSED [ 82%]26tests-functional/test_eval.py::test_worker_log_format_survives_fork PASSED [ 86%]27tests-functional/test_eval.py::test_worker_restart_on_last_job_exits_cleanly PASSED [ 91%]28tests-functional/test_eval.py::test_fetchers_survive_worker_restart PASSED [ 95%]29tests-functional/test_eval.py::test_workers_do_not_race_flake_fetch FAILED [100%]3031=================================== FAILURES ===================================32_____________________ test_workers_do_not_race_flake_fetch _____________________3334tmp_path = PosixPath('/nix/var/nix/builds/nix-49414-860316410/pytest-of-_nixbld10/pytest-0/test_workers_do_not_race_flake0')3536 def test_workers_do_not_race_flake_fetch(tmp_path: Path) -> None:37 """Workers fetching the same flake input concurrently spam "waiting38 for another Nix process to finish fetching input" (issue #432)."""39 env = _hermetic_nix_env(tmp_path)40 repo = tmp_path / "flake"41 repo.mkdir()42 jobs = "\n".join(43 f"""44 job-{i} = derivation {{45 name = "race-{i}";46 system = "x86_64-linux";47 builder = "/bin/sh";48 args = [ "-c" "echo {i} > $out" ]; }};"""49 for i in range(8)50 )51 repo.joinpath("flake.nix").write_text(f"{{ outputs = _: {{ hydraJobs = {{ {jobs} }}; }}; }}")52 subprocess.run(["git", "init", "-q"], cwd=repo, check=True, env=env)53 subprocess.run(["git", "add", "flake.nix"], cwd=repo, check=True, env=env)54 subprocess.run(55 ["git", "-c", "user.email=t@t", "-c", "user.name=t", "commit", "-qm", "init"],56 cwd=repo,57 check=True,58 env=env,59 )60 61 res = subprocess.run(62 [63 str(BIN),64 "--gc-roots-dir",65 str(tmp_path / "gc"),66 "--workers",67 "8",68 *COMMON_FLAGS,69 "--flake",70 f"git+file://{repo}#hydraJobs",71 ],72 env=env,73 text=True,74 check=True,75 capture_output=True,76 )77 assert len(res.stdout.splitlines()) == 878> assert "waiting for another Nix process" not in res.stderr, res.stderr79E 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.crt80E 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.crt81E 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.crt82E 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.crt83E 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'...84E 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'...85E 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'...86E 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 busy87E 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 busy88E 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 busy89E 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.crt90E 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.crt91E 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'...92E 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.crt93E 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 busy94E 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 busy95E 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.crt96E 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 busy97E 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 busy98E 99E assert 'waiting for... Nix process' not in "warning: un...e' is busy\n"100E 101E 'waiting for another Nix process' is contained here:102E 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.crt103E 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.crt104E 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 ...105E 106E ...Full output truncated (19 lines hidden), use '-vv' to show107108tests-functional/test_eval.py:901: AssertionError109=========================== short test summary info ============================110FAILED tests-functional/test_eval.py::test_workers_do_not_race_flake_fetch - AssertionError: warning: unable to download 'https://cache.nixos.org/nix-ca...111========================= 1 failed, 22 passed in 4.48s =========================