this derivation will be built: /nix/store/8jj80jlhnkvwmig5m817wb96j32q7ppn-nixpkgs-review.drv building '/nix/store/8jj80jlhnkvwmig5m817wb96j32q7ppn-nixpkgs-review.drv' nixpkgs-review> tribuchet: building on eliza nixpkgs-review> structuredAttrs is enabled nixpkgs-review> Sourcing python-remove-tests-dir-hook nixpkgs-review> Sourcing python-catch-conflicts-hook.sh nixpkgs-review> Sourcing python-remove-bin-bytecode-hook.sh nixpkgs-review> Sourcing pypa-build-hook nixpkgs-review> Using pypaBuildPhase nixpkgs-review> Sourcing python-runtime-deps-check-hook nixpkgs-review> Using pythonRuntimeDepsCheckHook nixpkgs-review> Sourcing pypa-install-hook nixpkgs-review> Using pypaInstallPhase nixpkgs-review> Sourcing python-imports-check-hook.sh nixpkgs-review> Using pythonImportsCheckPhase nixpkgs-review> Sourcing python-namespaces-hook nixpkgs-review> Sourcing python-catch-conflicts-hook.sh nixpkgs-review> Running phase: unpackPhase nixpkgs-review> unpacking source archive /nix/store/rjshzyiafm037hqgkimh1vdrfkfj38im-source nixpkgs-review> source root is source nixpkgs-review> setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tests/test_wip.py" nixpkgs-review> Running phase: patchPhase nixpkgs-review> Running phase: updateAutotoolsGnuConfigScriptsPhase nixpkgs-review> Running phase: configurePhase nixpkgs-review> no configure script, doing nothing nixpkgs-review> Running phase: buildPhase nixpkgs-review> Executing pypaBuildPhase nixpkgs-review> Creating a wheel... nixpkgs-review> pypa build flags: --no-isolation --outdir dist/ --wheel nixpkgs-review> * Getting build dependencies for wheel... nixpkgs-review> /nix/store/7wqmhkx1lp5j15m2p4mv6vfrw08nzd90-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated nixpkgs-review> !! nixpkgs-review> nixpkgs-review> ******************************************************************************** nixpkgs-review> Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). nixpkgs-review> nixpkgs-review> By 2027-Feb-18, you need to update your project and remove deprecated calls nixpkgs-review> or your builds will no longer be supported. nixpkgs-review> nixpkgs-review> See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. nixpkgs-review> ******************************************************************************** nixpkgs-review> nixpkgs-review> !! nixpkgs-review> corresp(dist, value, root_dir) nixpkgs-review> running egg_info nixpkgs-review> creating nixpkgs_review.egg-info nixpkgs-review> writing nixpkgs_review.egg-info/PKG-INFO nixpkgs-review> writing dependency_links to nixpkgs_review.egg-info/dependency_links.txt nixpkgs-review> writing entry points to nixpkgs_review.egg-info/entry_points.txt nixpkgs-review> writing top-level names to nixpkgs_review.egg-info/top_level.txt nixpkgs-review> writing manifest file 'nixpkgs_review.egg-info/SOURCES.txt' nixpkgs-review> reading manifest file 'nixpkgs_review.egg-info/SOURCES.txt' nixpkgs-review> writing manifest file 'nixpkgs_review.egg-info/SOURCES.txt' nixpkgs-review> * Building wheel... nixpkgs-review> /nix/store/7wqmhkx1lp5j15m2p4mv6vfrw08nzd90-python3.14-setuptools-83.0.0/lib/python3.14/site-packages/setuptools/config/_apply_pyprojecttoml.py:82: SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated nixpkgs-review> !! nixpkgs-review> nixpkgs-review> ******************************************************************************** nixpkgs-review> Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). nixpkgs-review> nixpkgs-review> By 2027-Feb-18, you need to update your project and remove deprecated calls nixpkgs-review> or your builds will no longer be supported. nixpkgs-review> nixpkgs-review> See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. nixpkgs-review> ******************************************************************************** nixpkgs-review> nixpkgs-review> !! nixpkgs-review> corresp(dist, value, root_dir) nixpkgs-review> running bdist_wheel nixpkgs-review> running build nixpkgs-review> running build_py nixpkgs-review> creating build/lib/tests nixpkgs-review> copying tests/test_store_flag.py -> build/lib/tests nixpkgs-review> copying tests/test_rev.py -> build/lib/tests nixpkgs-review> copying tests/test_escape_attr.py -> build/lib/tests nixpkgs-review> copying tests/test_eval.py -> build/lib/tests nixpkgs-review> copying tests/test_option_flag.py -> build/lib/tests nixpkgs-review> copying tests/test_nixpkgs.py -> build/lib/tests nixpkgs-review> copying tests/test_github.py -> build/lib/tests nixpkgs-review> copying tests/test_wip.py -> build/lib/tests nixpkgs-review> copying tests/__init__.py -> build/lib/tests nixpkgs-review> copying tests/test_pr.py -> build/lib/tests nixpkgs-review> copying tests/test_github_actions.py -> build/lib/tests nixpkgs-review> copying tests/conftest.py -> build/lib/tests nixpkgs-review> creating build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/errors.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/git.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/github.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/http_requests.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/review.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/buildenv.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/utils.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/builddir.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/allow.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/__init__.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/report.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/overlay.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/nix.py -> build/lib/nixpkgs_review nixpkgs-review> copying nixpkgs_review/nixpkgs.py -> build/lib/nixpkgs_review nixpkgs-review> creating build/lib/nixpkgs_review/cli nixpkgs-review> copying nixpkgs_review/cli/comments.py -> build/lib/nixpkgs_review/cli nixpkgs-review> copying nixpkgs_review/cli/wip.py -> build/lib/nixpkgs_review/cli nixpkgs-review> copying nixpkgs_review/cli/post_result.py -> build/lib/nixpkgs_review/cli nixpkgs-review> copying nixpkgs_review/cli/pr.py -> build/lib/nixpkgs_review/cli nixpkgs-review> copying nixpkgs_review/cli/utils.py -> build/lib/nixpkgs_review/cli nixpkgs-review> copying nixpkgs_review/cli/__init__.py -> build/lib/nixpkgs_review/cli nixpkgs-review> copying nixpkgs_review/cli/merge.py -> build/lib/nixpkgs_review/cli nixpkgs-review> copying nixpkgs_review/cli/rev.py -> build/lib/nixpkgs_review/cli nixpkgs-review> copying nixpkgs_review/cli/approve.py -> build/lib/nixpkgs_review/cli nixpkgs-review> running egg_info nixpkgs-review> writing nixpkgs_review.egg-info/PKG-INFO nixpkgs-review> writing dependency_links to nixpkgs_review.egg-info/dependency_links.txt nixpkgs-review> writing entry points to nixpkgs_review.egg-info/entry_points.txt nixpkgs-review> writing top-level names to nixpkgs_review.egg-info/top_level.txt nixpkgs-review> reading manifest file 'nixpkgs_review.egg-info/SOURCES.txt' nixpkgs-review> writing manifest file 'nixpkgs_review.egg-info/SOURCES.txt' nixpkgs-review> creating build/lib/nixpkgs_review/nix nixpkgs-review> copying nixpkgs_review/nix/evalAttrs.nix -> build/lib/nixpkgs_review/nix nixpkgs-review> copying nixpkgs_review/nix/listPackages.nix -> build/lib/nixpkgs_review/nix nixpkgs-review> installing to build/bdist.linux-aarch64/wheel nixpkgs-review> running install nixpkgs-review> running install_lib nixpkgs-review> creating build/bdist.linux-aarch64/wheel nixpkgs-review> creating build/bdist.linux-aarch64/wheel/tests nixpkgs-review> copying build/lib/tests/test_github.py -> build/bdist.linux-aarch64/wheel/./tests nixpkgs-review> copying build/lib/tests/test_pr.py -> build/bdist.linux-aarch64/wheel/./tests nixpkgs-review> copying build/lib/tests/test_nixpkgs.py -> build/bdist.linux-aarch64/wheel/./tests nixpkgs-review> copying build/lib/tests/test_eval.py -> build/bdist.linux-aarch64/wheel/./tests nixpkgs-review> copying build/lib/tests/test_rev.py -> build/bdist.linux-aarch64/wheel/./tests nixpkgs-review> copying build/lib/tests/test_option_flag.py -> build/bdist.linux-aarch64/wheel/./tests nixpkgs-review> copying build/lib/tests/conftest.py -> build/bdist.linux-aarch64/wheel/./tests nixpkgs-review> copying build/lib/tests/__init__.py -> build/bdist.linux-aarch64/wheel/./tests nixpkgs-review> copying build/lib/tests/test_wip.py -> build/bdist.linux-aarch64/wheel/./tests nixpkgs-review> copying build/lib/tests/test_escape_attr.py -> build/bdist.linux-aarch64/wheel/./tests nixpkgs-review> copying build/lib/tests/test_store_flag.py -> build/bdist.linux-aarch64/wheel/./tests nixpkgs-review> copying build/lib/tests/test_github_actions.py -> build/bdist.linux-aarch64/wheel/./tests nixpkgs-review> creating build/bdist.linux-aarch64/wheel/nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/utils.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/errors.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/allow.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> creating build/bdist.linux-aarch64/wheel/nixpkgs_review/cli nixpkgs-review> copying build/lib/nixpkgs_review/cli/merge.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review/cli nixpkgs-review> copying build/lib/nixpkgs_review/cli/pr.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review/cli nixpkgs-review> copying build/lib/nixpkgs_review/cli/approve.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review/cli nixpkgs-review> copying build/lib/nixpkgs_review/cli/comments.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review/cli nixpkgs-review> copying build/lib/nixpkgs_review/cli/wip.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review/cli nixpkgs-review> copying build/lib/nixpkgs_review/cli/post_result.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review/cli nixpkgs-review> copying build/lib/nixpkgs_review/cli/rev.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review/cli nixpkgs-review> copying build/lib/nixpkgs_review/cli/utils.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review/cli nixpkgs-review> copying build/lib/nixpkgs_review/cli/__init__.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review/cli nixpkgs-review> copying build/lib/nixpkgs_review/review.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/github.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/__init__.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/builddir.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/buildenv.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/git.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/http_requests.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/nix.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/report.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/nixpkgs.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> copying build/lib/nixpkgs_review/overlay.py -> build/bdist.linux-aarch64/wheel/./nixpkgs_review nixpkgs-review> creating build/bdist.linux-aarch64/wheel/nixpkgs_review/nix nixpkgs-review> copying build/lib/nixpkgs_review/nix/listPackages.nix -> build/bdist.linux-aarch64/wheel/./nixpkgs_review/nix nixpkgs-review> copying build/lib/nixpkgs_review/nix/evalAttrs.nix -> build/bdist.linux-aarch64/wheel/./nixpkgs_review/nix nixpkgs-review> running install_egg_info nixpkgs-review> Copying nixpkgs_review.egg-info to build/bdist.linux-aarch64/wheel/./nixpkgs_review-4.0.0-py3.14.egg-info nixpkgs-review> running install_scripts nixpkgs-review> creating build/bdist.linux-aarch64/wheel/nixpkgs_review-4.0.0.dist-info/WHEEL nixpkgs-review> creating '/build/source/dist/.tmp-bx_z5ck6/nixpkgs_review-4.0.0-py3-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it nixpkgs-review> adding 'nixpkgs_review/__init__.py' nixpkgs-review> adding 'nixpkgs_review/allow.py' nixpkgs-review> adding 'nixpkgs_review/builddir.py' nixpkgs-review> adding 'nixpkgs_review/buildenv.py' nixpkgs-review> adding 'nixpkgs_review/errors.py' nixpkgs-review> adding 'nixpkgs_review/git.py' nixpkgs-review> adding 'nixpkgs_review/github.py' nixpkgs-review> adding 'nixpkgs_review/http_requests.py' nixpkgs-review> adding 'nixpkgs_review/nix.py' nixpkgs-review> adding 'nixpkgs_review/nixpkgs.py' nixpkgs-review> adding 'nixpkgs_review/overlay.py' nixpkgs-review> adding 'nixpkgs_review/report.py' nixpkgs-review> adding 'nixpkgs_review/review.py' nixpkgs-review> adding 'nixpkgs_review/utils.py' nixpkgs-review> adding 'nixpkgs_review/cli/__init__.py' nixpkgs-review> adding 'nixpkgs_review/cli/approve.py' nixpkgs-review> adding 'nixpkgs_review/cli/comments.py' nixpkgs-review> adding 'nixpkgs_review/cli/merge.py' nixpkgs-review> adding 'nixpkgs_review/cli/post_result.py' nixpkgs-review> adding 'nixpkgs_review/cli/pr.py' nixpkgs-review> adding 'nixpkgs_review/cli/rev.py' nixpkgs-review> adding 'nixpkgs_review/cli/utils.py' nixpkgs-review> adding 'nixpkgs_review/cli/wip.py' nixpkgs-review> adding 'nixpkgs_review/nix/evalAttrs.nix' nixpkgs-review> adding 'nixpkgs_review/nix/listPackages.nix' nixpkgs-review> adding 'tests/__init__.py' nixpkgs-review> adding 'tests/conftest.py' nixpkgs-review> adding 'tests/test_escape_attr.py' nixpkgs-review> adding 'tests/test_eval.py' nixpkgs-review> adding 'tests/test_github.py' nixpkgs-review> adding 'tests/test_github_actions.py' nixpkgs-review> adding 'tests/test_nixpkgs.py' nixpkgs-review> adding 'tests/test_option_flag.py' nixpkgs-review> adding 'tests/test_pr.py' nixpkgs-review> adding 'tests/test_rev.py' nixpkgs-review> adding 'tests/test_store_flag.py' nixpkgs-review> adding 'tests/test_wip.py' nixpkgs-review> adding 'nixpkgs_review-4.0.0.dist-info/METADATA' nixpkgs-review> adding 'nixpkgs_review-4.0.0.dist-info/WHEEL' nixpkgs-review> adding 'nixpkgs_review-4.0.0.dist-info/entry_points.txt' nixpkgs-review> adding 'nixpkgs_review-4.0.0.dist-info/top_level.txt' nixpkgs-review> adding 'nixpkgs_review-4.0.0.dist-info/RECORD' nixpkgs-review> removing build/bdist.linux-aarch64/wheel nixpkgs-review> Successfully built nixpkgs_review-4.0.0-py3-none-any.whl nixpkgs-review> Finished creating a wheel... nixpkgs-review> Finished executing pypaBuildPhase nixpkgs-review> buildPhase completed in 35 seconds nixpkgs-review> Running phase: pythonRuntimeDepsCheckHook nixpkgs-review> Executing pythonRuntimeDepsCheck nixpkgs-review> Checking runtime dependencies for nixpkgs_review-4.0.0-py3-none-any.whl nixpkgs-review> Finished executing pythonRuntimeDepsCheck nixpkgs-review> Running phase: installPhase nixpkgs-review> Executing pypaInstallPhase nixpkgs-review> Successfully installed nixpkgs_review-4.0.0-py3-none-any.whl nixpkgs-review> Finished executing pypaInstallPhase nixpkgs-review> Running phase: pythonOutputDistPhase nixpkgs-review> Executing pythonOutputDistPhase nixpkgs-review> Finished executing pythonOutputDistPhase nixpkgs-review> Running phase: fixupPhase nixpkgs-review> shrinking RPATHs of ELF executables and libraries in /nix/store/5lypz0n0ca2ll05sdpxq9gwnjj73nhvb-nixpkgs-review-dist nixpkgs-review> checking for references to /build/ in /nix/store/5lypz0n0ca2ll05sdpxq9gwnjj73nhvb-nixpkgs-review-dist... nixpkgs-review> patching script interpreter paths in /nix/store/5lypz0n0ca2ll05sdpxq9gwnjj73nhvb-nixpkgs-review-dist nixpkgs-review> shrinking RPATHs of ELF executables and libraries in /nix/store/zpxdzv7574vmhy6m50643ga51s192bw6-nixpkgs-review nixpkgs-review> checking for references to /build/ in /nix/store/zpxdzv7574vmhy6m50643ga51s192bw6-nixpkgs-review... nixpkgs-review> patching script interpreter paths in /nix/store/zpxdzv7574vmhy6m50643ga51s192bw6-nixpkgs-review nixpkgs-review> stripping (with command strip and flags -S -p) in /nix/store/zpxdzv7574vmhy6m50643ga51s192bw6-nixpkgs-review/lib /nix/store/zpxdzv7574vmhy6m50643ga51s192bw6-nixpkgs-review/bin nixpkgs-review> Rewriting #!/nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/bin/python3.14 to #!/nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8 nixpkgs-review> wrapping `/nix/store/zpxdzv7574vmhy6m50643ga51s192bw6-nixpkgs-review/bin/nix-review'... nixpkgs-review> Rewriting #!/nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/bin/python3.14 to #!/nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8 nixpkgs-review> wrapping `/nix/store/zpxdzv7574vmhy6m50643ga51s192bw6-nixpkgs-review/bin/nixpkgs-review'... nixpkgs-review> Executing pythonRemoveTestsDir nixpkgs-review> Finished executing pythonRemoveTestsDir nixpkgs-review> Running phase: installCheckPhase nixpkgs-review> ============================= test session starts ============================== nixpkgs-review> platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0 nixpkgs-review> rootdir: /build/source nixpkgs-review> configfile: pyproject.toml nixpkgs-review> plugins: xdist-3.8.0 nixpkgs-review> created: 192/192 workers nixpkgs-review> 192 workers [53 items] nixpkgs-review> nixpkgs-review> s....s...s.s..........FFFFFFF........................ nixpkgs-review> =================================== FAILURES =================================== nixpkgs-review> ___________________ test_eval_tests[overridden-tests1-True] ____________________ nixpkgs-review> [gw4] linux -- Python 3.14.8 /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/bin/python nixpkgs-review> nixpkgs-review> tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw4/test_eval_tests_overridden_tes0') nixpkgs-review> package = 'overridden', tests = {'overridden.tests.inherited'} nixpkgs-review> include_tests = True nixpkgs-review> nixpkgs-review> @pytest.mark.parametrize("include_tests", [False, True]) nixpkgs-review> @pytest.mark.parametrize( nixpkgs-review> ("package", "tests"), nixpkgs-review> [ nixpkgs-review> ( nixpkgs-review> "selfReferencing", nixpkgs-review> {"selfReferencing.tests.self", "selfReferencing.tests.nested.test"}, nixpkgs-review> ), nixpkgs-review> ("overridden", {"overridden.tests.inherited"}), nixpkgs-review> ("single", {"single.tests"}), nixpkgs-review> ("group", {"group.package.tests.nested.test"}), nixpkgs-review> ], nixpkgs-review> ) nixpkgs-review> def test_eval_tests( nixpkgs-review> tmp_path: Path, package: str, tests: set[str], *, include_tests: bool nixpkgs-review> ) -> None: nixpkgs-review> nixpkgs = real_nixpkgs() nixpkgs-review> fixture = TEST_ROOT / "assets/recursive-tests.nix" nixpkgs-review> (tmp_path / "default.nix").write_text( nixpkgs-review> f"{{ system, ... }}: import {fixture} {{ " nixpkgs-review> f"pkgs = import {nixpkgs} {{ inherit system; config = {{}}; }}; }}" nixpkgs-review> ) nixpkgs-review> config = tmp_path / "config.nix" nixpkgs-review> config.write_text("{}") nixpkgs-review> attrs = tmp_path / "attrs.json" nixpkgs-review> > attrs.write_text(json.dumps({current_system(): [package]})) nixpkgs-review> ^^^^^^^^^^^^^^^^ nixpkgs-review> nixpkgs-review> tests/test_eval.py:43: nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs_review/utils.py:99: in current_system nixpkgs-review> system = subprocess.run( nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs-review> input = None, capture_output = False, timeout = None, check = True nixpkgs-review> popenargs = (['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', ...],) nixpkgs-review> kwargs = {'stdout': -1, 'text': True} nixpkgs-review> nixpkgs-review> def run(*popenargs, nixpkgs-review> input=None, capture_output=False, timeout=None, check=False, **kwargs): nixpkgs-review> """Run command with arguments and return a CompletedProcess instance. nixpkgs-review> nixpkgs-review> The returned instance will have attributes args, returncode, stdout and nixpkgs-review> stderr. By default, stdout and stderr are not captured, and those attributes nixpkgs-review> will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, nixpkgs-review> or pass capture_output=True to capture both. nixpkgs-review> nixpkgs-review> If check is True and the exit code was non-zero, it raises a nixpkgs-review> CalledProcessError. The CalledProcessError object will have the return code nixpkgs-review> in the returncode attribute, and output & stderr attributes if those streams nixpkgs-review> were captured. nixpkgs-review> nixpkgs-review> If timeout (seconds) is given and the process takes too long, nixpkgs-review> a TimeoutExpired exception will be raised. nixpkgs-review> nixpkgs-review> There is an optional argument "input", allowing you to nixpkgs-review> pass bytes or a string to the subprocess's stdin. If you use this argument nixpkgs-review> you may not also use the Popen constructor's "stdin" argument, as nixpkgs-review> it will be used internally. nixpkgs-review> nixpkgs-review> By default, all communication is in bytes, and therefore any "input" should nixpkgs-review> be bytes, and the stdout and stderr will be bytes. If in text mode, any nixpkgs-review> "input" should be a string, and stdout and stderr will be strings decoded nixpkgs-review> according to locale encoding, or by "encoding" if set. Text mode is nixpkgs-review> triggered by setting any of text, encoding, errors or universal_newlines. nixpkgs-review> nixpkgs-review> The other arguments are the same as for the Popen constructor. nixpkgs-review> """ nixpkgs-review> if input is not None: nixpkgs-review> if kwargs.get('stdin') is not None: nixpkgs-review> raise ValueError('stdin and input arguments may not both be used.') nixpkgs-review> kwargs['stdin'] = PIPE nixpkgs-review> nixpkgs-review> if capture_output: nixpkgs-review> if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: nixpkgs-review> raise ValueError('stdout and stderr arguments may not be used ' nixpkgs-review> 'with capture_output.') nixpkgs-review> kwargs['stdout'] = PIPE nixpkgs-review> kwargs['stderr'] = PIPE nixpkgs-review> nixpkgs-review> with Popen(*popenargs, **kwargs) as process: nixpkgs-review> try: nixpkgs-review> stdout, stderr = process.communicate(input, timeout=timeout) nixpkgs-review> except TimeoutExpired as exc: nixpkgs-review> process.kill() nixpkgs-review> if _mswindows: nixpkgs-review> # Windows accumulates the output in a single blocking nixpkgs-review> # read() call run on child threads, with the timeout nixpkgs-review> # being done in a join() on those threads. communicate() nixpkgs-review> # _after_ kill() is required to collect that and add it nixpkgs-review> # to the exception. nixpkgs-review> exc.stdout, exc.stderr = process.communicate() nixpkgs-review> else: nixpkgs-review> # POSIX _communicate already populated the output so nixpkgs-review> # far into the TimeoutExpired exception. nixpkgs-review> process.wait() nixpkgs-review> raise nixpkgs-review> except: # Including KeyboardInterrupt, communicate handled that. nixpkgs-review> process.kill() nixpkgs-review> # We don't call process.wait() as .__exit__ does that for us. nixpkgs-review> raise nixpkgs-review> retcode = process.poll() nixpkgs-review> if check and retcode: nixpkgs-review> > raise CalledProcessError(retcode, process.args, nixpkgs-review> output=stdout, stderr=stderr) nixpkgs-review> E subprocess.CalledProcessError: Command '['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', '--expr', 'builtins.currentSystem']' returned non-zero exit status 1. nixpkgs-review> nixpkgs-review> /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/lib/python3.14/subprocess.py:578: CalledProcessError nixpkgs-review> ----------------------------- Captured stderr call ----------------------------- nixpkgs-review> warning: you don't have Internet access; disabling some network-dependent features nixpkgs-review> warning: /nix/var/nix does not exist, so Nix will use "/homeless-shelter/.local/share/nix/root" as a chroot store nixpkgs-review> error: SQLite database '/homeless-shelter/.local/share/nix/root/nix/var/nix/db/db.sqlite' is busy nixpkgs-review> ________________ test_eval_tests[selfReferencing-tests0-False] _________________ nixpkgs-review> [gw1] linux -- Python 3.14.8 /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/bin/python nixpkgs-review> nixpkgs-review> tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw1/test_eval_tests_selfReferencin0') nixpkgs-review> package = 'selfReferencing' nixpkgs-review> tests = {'selfReferencing.tests.nested.test', 'selfReferencing.tests.self'} nixpkgs-review> include_tests = False nixpkgs-review> nixpkgs-review> @pytest.mark.parametrize("include_tests", [False, True]) nixpkgs-review> @pytest.mark.parametrize( nixpkgs-review> ("package", "tests"), nixpkgs-review> [ nixpkgs-review> ( nixpkgs-review> "selfReferencing", nixpkgs-review> {"selfReferencing.tests.self", "selfReferencing.tests.nested.test"}, nixpkgs-review> ), nixpkgs-review> ("overridden", {"overridden.tests.inherited"}), nixpkgs-review> ("single", {"single.tests"}), nixpkgs-review> ("group", {"group.package.tests.nested.test"}), nixpkgs-review> ], nixpkgs-review> ) nixpkgs-review> def test_eval_tests( nixpkgs-review> tmp_path: Path, package: str, tests: set[str], *, include_tests: bool nixpkgs-review> ) -> None: nixpkgs-review> nixpkgs = real_nixpkgs() nixpkgs-review> fixture = TEST_ROOT / "assets/recursive-tests.nix" nixpkgs-review> (tmp_path / "default.nix").write_text( nixpkgs-review> f"{{ system, ... }}: import {fixture} {{ " nixpkgs-review> f"pkgs = import {nixpkgs} {{ inherit system; config = {{}}; }}; }}" nixpkgs-review> ) nixpkgs-review> config = tmp_path / "config.nix" nixpkgs-review> config.write_text("{}") nixpkgs-review> attrs = tmp_path / "attrs.json" nixpkgs-review> > attrs.write_text(json.dumps({current_system(): [package]})) nixpkgs-review> ^^^^^^^^^^^^^^^^ nixpkgs-review> nixpkgs-review> tests/test_eval.py:43: nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs_review/utils.py:99: in current_system nixpkgs-review> system = subprocess.run( nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs-review> input = None, capture_output = False, timeout = None, check = True nixpkgs-review> popenargs = (['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', ...],) nixpkgs-review> kwargs = {'stdout': -1, 'text': True} nixpkgs-review> nixpkgs-review> def run(*popenargs, nixpkgs-review> input=None, capture_output=False, timeout=None, check=False, **kwargs): nixpkgs-review> """Run command with arguments and return a CompletedProcess instance. nixpkgs-review> nixpkgs-review> The returned instance will have attributes args, returncode, stdout and nixpkgs-review> stderr. By default, stdout and stderr are not captured, and those attributes nixpkgs-review> will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, nixpkgs-review> or pass capture_output=True to capture both. nixpkgs-review> nixpkgs-review> If check is True and the exit code was non-zero, it raises a nixpkgs-review> CalledProcessError. The CalledProcessError object will have the return code nixpkgs-review> in the returncode attribute, and output & stderr attributes if those streams nixpkgs-review> were captured. nixpkgs-review> nixpkgs-review> If timeout (seconds) is given and the process takes too long, nixpkgs-review> a TimeoutExpired exception will be raised. nixpkgs-review> nixpkgs-review> There is an optional argument "input", allowing you to nixpkgs-review> pass bytes or a string to the subprocess's stdin. If you use this argument nixpkgs-review> you may not also use the Popen constructor's "stdin" argument, as nixpkgs-review> it will be used internally. nixpkgs-review> nixpkgs-review> By default, all communication is in bytes, and therefore any "input" should nixpkgs-review> be bytes, and the stdout and stderr will be bytes. If in text mode, any nixpkgs-review> "input" should be a string, and stdout and stderr will be strings decoded nixpkgs-review> according to locale encoding, or by "encoding" if set. Text mode is nixpkgs-review> triggered by setting any of text, encoding, errors or universal_newlines. nixpkgs-review> nixpkgs-review> The other arguments are the same as for the Popen constructor. nixpkgs-review> """ nixpkgs-review> if input is not None: nixpkgs-review> if kwargs.get('stdin') is not None: nixpkgs-review> raise ValueError('stdin and input arguments may not both be used.') nixpkgs-review> kwargs['stdin'] = PIPE nixpkgs-review> nixpkgs-review> if capture_output: nixpkgs-review> if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: nixpkgs-review> raise ValueError('stdout and stderr arguments may not be used ' nixpkgs-review> 'with capture_output.') nixpkgs-review> kwargs['stdout'] = PIPE nixpkgs-review> kwargs['stderr'] = PIPE nixpkgs-review> nixpkgs-review> with Popen(*popenargs, **kwargs) as process: nixpkgs-review> try: nixpkgs-review> stdout, stderr = process.communicate(input, timeout=timeout) nixpkgs-review> except TimeoutExpired as exc: nixpkgs-review> process.kill() nixpkgs-review> if _mswindows: nixpkgs-review> # Windows accumulates the output in a single blocking nixpkgs-review> # read() call run on child threads, with the timeout nixpkgs-review> # being done in a join() on those threads. communicate() nixpkgs-review> # _after_ kill() is required to collect that and add it nixpkgs-review> # to the exception. nixpkgs-review> exc.stdout, exc.stderr = process.communicate() nixpkgs-review> else: nixpkgs-review> # POSIX _communicate already populated the output so nixpkgs-review> # far into the TimeoutExpired exception. nixpkgs-review> process.wait() nixpkgs-review> raise nixpkgs-review> except: # Including KeyboardInterrupt, communicate handled that. nixpkgs-review> process.kill() nixpkgs-review> # We don't call process.wait() as .__exit__ does that for us. nixpkgs-review> raise nixpkgs-review> retcode = process.poll() nixpkgs-review> if check and retcode: nixpkgs-review> > raise CalledProcessError(retcode, process.args, nixpkgs-review> output=stdout, stderr=stderr) nixpkgs-review> E subprocess.CalledProcessError: Command '['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', '--expr', 'builtins.currentSystem']' returned non-zero exit status 1. nixpkgs-review> nixpkgs-review> /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/lib/python3.14/subprocess.py:578: CalledProcessError nixpkgs-review> ----------------------------- Captured stderr call ----------------------------- nixpkgs-review> warning: you don't have Internet access; disabling some network-dependent features nixpkgs-review> warning: /nix/var/nix does not exist, so Nix will use "/homeless-shelter/.local/share/nix/root" as a chroot store nixpkgs-review> error: SQLite database '/homeless-shelter/.local/share/nix/root/nix/var/nix/db/db.sqlite' is busy nixpkgs-review> _____________________ test_eval_tests[single-tests2-True] ______________________ nixpkgs-review> [gw7] linux -- Python 3.14.8 /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/bin/python nixpkgs-review> nixpkgs-review> tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw7/test_eval_tests_single_tests2_0') nixpkgs-review> package = 'single', tests = {'single.tests'}, include_tests = True nixpkgs-review> nixpkgs-review> @pytest.mark.parametrize("include_tests", [False, True]) nixpkgs-review> @pytest.mark.parametrize( nixpkgs-review> ("package", "tests"), nixpkgs-review> [ nixpkgs-review> ( nixpkgs-review> "selfReferencing", nixpkgs-review> {"selfReferencing.tests.self", "selfReferencing.tests.nested.test"}, nixpkgs-review> ), nixpkgs-review> ("overridden", {"overridden.tests.inherited"}), nixpkgs-review> ("single", {"single.tests"}), nixpkgs-review> ("group", {"group.package.tests.nested.test"}), nixpkgs-review> ], nixpkgs-review> ) nixpkgs-review> def test_eval_tests( nixpkgs-review> tmp_path: Path, package: str, tests: set[str], *, include_tests: bool nixpkgs-review> ) -> None: nixpkgs-review> nixpkgs = real_nixpkgs() nixpkgs-review> fixture = TEST_ROOT / "assets/recursive-tests.nix" nixpkgs-review> (tmp_path / "default.nix").write_text( nixpkgs-review> f"{{ system, ... }}: import {fixture} {{ " nixpkgs-review> f"pkgs = import {nixpkgs} {{ inherit system; config = {{}}; }}; }}" nixpkgs-review> ) nixpkgs-review> config = tmp_path / "config.nix" nixpkgs-review> config.write_text("{}") nixpkgs-review> attrs = tmp_path / "attrs.json" nixpkgs-review> > attrs.write_text(json.dumps({current_system(): [package]})) nixpkgs-review> ^^^^^^^^^^^^^^^^ nixpkgs-review> nixpkgs-review> tests/test_eval.py:43: nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs_review/utils.py:99: in current_system nixpkgs-review> system = subprocess.run( nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs-review> input = None, capture_output = False, timeout = None, check = True nixpkgs-review> popenargs = (['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', ...],) nixpkgs-review> kwargs = {'stdout': -1, 'text': True} nixpkgs-review> nixpkgs-review> def run(*popenargs, nixpkgs-review> input=None, capture_output=False, timeout=None, check=False, **kwargs): nixpkgs-review> """Run command with arguments and return a CompletedProcess instance. nixpkgs-review> nixpkgs-review> The returned instance will have attributes args, returncode, stdout and nixpkgs-review> stderr. By default, stdout and stderr are not captured, and those attributes nixpkgs-review> will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, nixpkgs-review> or pass capture_output=True to capture both. nixpkgs-review> nixpkgs-review> If check is True and the exit code was non-zero, it raises a nixpkgs-review> CalledProcessError. The CalledProcessError object will have the return code nixpkgs-review> in the returncode attribute, and output & stderr attributes if those streams nixpkgs-review> were captured. nixpkgs-review> nixpkgs-review> If timeout (seconds) is given and the process takes too long, nixpkgs-review> a TimeoutExpired exception will be raised. nixpkgs-review> nixpkgs-review> There is an optional argument "input", allowing you to nixpkgs-review> pass bytes or a string to the subprocess's stdin. If you use this argument nixpkgs-review> you may not also use the Popen constructor's "stdin" argument, as nixpkgs-review> it will be used internally. nixpkgs-review> nixpkgs-review> By default, all communication is in bytes, and therefore any "input" should nixpkgs-review> be bytes, and the stdout and stderr will be bytes. If in text mode, any nixpkgs-review> "input" should be a string, and stdout and stderr will be strings decoded nixpkgs-review> according to locale encoding, or by "encoding" if set. Text mode is nixpkgs-review> triggered by setting any of text, encoding, errors or universal_newlines. nixpkgs-review> nixpkgs-review> The other arguments are the same as for the Popen constructor. nixpkgs-review> """ nixpkgs-review> if input is not None: nixpkgs-review> if kwargs.get('stdin') is not None: nixpkgs-review> raise ValueError('stdin and input arguments may not both be used.') nixpkgs-review> kwargs['stdin'] = PIPE nixpkgs-review> nixpkgs-review> if capture_output: nixpkgs-review> if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: nixpkgs-review> raise ValueError('stdout and stderr arguments may not be used ' nixpkgs-review> 'with capture_output.') nixpkgs-review> kwargs['stdout'] = PIPE nixpkgs-review> kwargs['stderr'] = PIPE nixpkgs-review> nixpkgs-review> with Popen(*popenargs, **kwargs) as process: nixpkgs-review> try: nixpkgs-review> stdout, stderr = process.communicate(input, timeout=timeout) nixpkgs-review> except TimeoutExpired as exc: nixpkgs-review> process.kill() nixpkgs-review> if _mswindows: nixpkgs-review> # Windows accumulates the output in a single blocking nixpkgs-review> # read() call run on child threads, with the timeout nixpkgs-review> # being done in a join() on those threads. communicate() nixpkgs-review> # _after_ kill() is required to collect that and add it nixpkgs-review> # to the exception. nixpkgs-review> exc.stdout, exc.stderr = process.communicate() nixpkgs-review> else: nixpkgs-review> # POSIX _communicate already populated the output so nixpkgs-review> # far into the TimeoutExpired exception. nixpkgs-review> process.wait() nixpkgs-review> raise nixpkgs-review> except: # Including KeyboardInterrupt, communicate handled that. nixpkgs-review> process.kill() nixpkgs-review> # We don't call process.wait() as .__exit__ does that for us. nixpkgs-review> raise nixpkgs-review> retcode = process.poll() nixpkgs-review> if check and retcode: nixpkgs-review> > raise CalledProcessError(retcode, process.args, nixpkgs-review> output=stdout, stderr=stderr) nixpkgs-review> E subprocess.CalledProcessError: Command '['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', '--expr', 'builtins.currentSystem']' returned non-zero exit status 1. nixpkgs-review> nixpkgs-review> /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/lib/python3.14/subprocess.py:578: CalledProcessError nixpkgs-review> ----------------------------- Captured stderr call ----------------------------- nixpkgs-review> warning: you don't have Internet access; disabling some network-dependent features nixpkgs-review> warning: /nix/var/nix does not exist, so Nix will use "/homeless-shelter/.local/share/nix/root" as a chroot store nixpkgs-review> error: SQLite database '/homeless-shelter/.local/share/nix/root/nix/var/nix/db/db.sqlite' is busy nixpkgs-review> _____________________ test_eval_tests[single-tests2-False] _____________________ nixpkgs-review> [gw5] linux -- Python 3.14.8 /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/bin/python nixpkgs-review> nixpkgs-review> tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw5/test_eval_tests_single_tests2_0') nixpkgs-review> package = 'single', tests = {'single.tests'}, include_tests = False nixpkgs-review> nixpkgs-review> @pytest.mark.parametrize("include_tests", [False, True]) nixpkgs-review> @pytest.mark.parametrize( nixpkgs-review> ("package", "tests"), nixpkgs-review> [ nixpkgs-review> ( nixpkgs-review> "selfReferencing", nixpkgs-review> {"selfReferencing.tests.self", "selfReferencing.tests.nested.test"}, nixpkgs-review> ), nixpkgs-review> ("overridden", {"overridden.tests.inherited"}), nixpkgs-review> ("single", {"single.tests"}), nixpkgs-review> ("group", {"group.package.tests.nested.test"}), nixpkgs-review> ], nixpkgs-review> ) nixpkgs-review> def test_eval_tests( nixpkgs-review> tmp_path: Path, package: str, tests: set[str], *, include_tests: bool nixpkgs-review> ) -> None: nixpkgs-review> nixpkgs = real_nixpkgs() nixpkgs-review> fixture = TEST_ROOT / "assets/recursive-tests.nix" nixpkgs-review> (tmp_path / "default.nix").write_text( nixpkgs-review> f"{{ system, ... }}: import {fixture} {{ " nixpkgs-review> f"pkgs = import {nixpkgs} {{ inherit system; config = {{}}; }}; }}" nixpkgs-review> ) nixpkgs-review> config = tmp_path / "config.nix" nixpkgs-review> config.write_text("{}") nixpkgs-review> attrs = tmp_path / "attrs.json" nixpkgs-review> > attrs.write_text(json.dumps({current_system(): [package]})) nixpkgs-review> ^^^^^^^^^^^^^^^^ nixpkgs-review> nixpkgs-review> tests/test_eval.py:43: nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs_review/utils.py:99: in current_system nixpkgs-review> system = subprocess.run( nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs-review> input = None, capture_output = False, timeout = None, check = True nixpkgs-review> popenargs = (['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', ...],) nixpkgs-review> kwargs = {'stdout': -1, 'text': True} nixpkgs-review> nixpkgs-review> def run(*popenargs, nixpkgs-review> input=None, capture_output=False, timeout=None, check=False, **kwargs): nixpkgs-review> """Run command with arguments and return a CompletedProcess instance. nixpkgs-review> nixpkgs-review> The returned instance will have attributes args, returncode, stdout and nixpkgs-review> stderr. By default, stdout and stderr are not captured, and those attributes nixpkgs-review> will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, nixpkgs-review> or pass capture_output=True to capture both. nixpkgs-review> nixpkgs-review> If check is True and the exit code was non-zero, it raises a nixpkgs-review> CalledProcessError. The CalledProcessError object will have the return code nixpkgs-review> in the returncode attribute, and output & stderr attributes if those streams nixpkgs-review> were captured. nixpkgs-review> nixpkgs-review> If timeout (seconds) is given and the process takes too long, nixpkgs-review> a TimeoutExpired exception will be raised. nixpkgs-review> nixpkgs-review> There is an optional argument "input", allowing you to nixpkgs-review> pass bytes or a string to the subprocess's stdin. If you use this argument nixpkgs-review> you may not also use the Popen constructor's "stdin" argument, as nixpkgs-review> it will be used internally. nixpkgs-review> nixpkgs-review> By default, all communication is in bytes, and therefore any "input" should nixpkgs-review> be bytes, and the stdout and stderr will be bytes. If in text mode, any nixpkgs-review> "input" should be a string, and stdout and stderr will be strings decoded nixpkgs-review> according to locale encoding, or by "encoding" if set. Text mode is nixpkgs-review> triggered by setting any of text, encoding, errors or universal_newlines. nixpkgs-review> nixpkgs-review> The other arguments are the same as for the Popen constructor. nixpkgs-review> """ nixpkgs-review> if input is not None: nixpkgs-review> if kwargs.get('stdin') is not None: nixpkgs-review> raise ValueError('stdin and input arguments may not both be used.') nixpkgs-review> kwargs['stdin'] = PIPE nixpkgs-review> nixpkgs-review> if capture_output: nixpkgs-review> if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: nixpkgs-review> raise ValueError('stdout and stderr arguments may not be used ' nixpkgs-review> 'with capture_output.') nixpkgs-review> kwargs['stdout'] = PIPE nixpkgs-review> kwargs['stderr'] = PIPE nixpkgs-review> nixpkgs-review> with Popen(*popenargs, **kwargs) as process: nixpkgs-review> try: nixpkgs-review> stdout, stderr = process.communicate(input, timeout=timeout) nixpkgs-review> except TimeoutExpired as exc: nixpkgs-review> process.kill() nixpkgs-review> if _mswindows: nixpkgs-review> # Windows accumulates the output in a single blocking nixpkgs-review> # read() call run on child threads, with the timeout nixpkgs-review> # being done in a join() on those threads. communicate() nixpkgs-review> # _after_ kill() is required to collect that and add it nixpkgs-review> # to the exception. nixpkgs-review> exc.stdout, exc.stderr = process.communicate() nixpkgs-review> else: nixpkgs-review> # POSIX _communicate already populated the output so nixpkgs-review> # far into the TimeoutExpired exception. nixpkgs-review> process.wait() nixpkgs-review> raise nixpkgs-review> except: # Including KeyboardInterrupt, communicate handled that. nixpkgs-review> process.kill() nixpkgs-review> # We don't call process.wait() as .__exit__ does that for us. nixpkgs-review> raise nixpkgs-review> retcode = process.poll() nixpkgs-review> if check and retcode: nixpkgs-review> > raise CalledProcessError(retcode, process.args, nixpkgs-review> output=stdout, stderr=stderr) nixpkgs-review> E subprocess.CalledProcessError: Command '['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', '--expr', 'builtins.currentSystem']' returned non-zero exit status 1. nixpkgs-review> nixpkgs-review> /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/lib/python3.14/subprocess.py:578: CalledProcessError nixpkgs-review> ----------------------------- Captured stderr call ----------------------------- nixpkgs-review> warning: you don't have Internet access; disabling some network-dependent features nixpkgs-review> warning: /nix/var/nix does not exist, so Nix will use "/homeless-shelter/.local/share/nix/root" as a chroot store nixpkgs-review> error: SQLite database '/homeless-shelter/.local/share/nix/root/nix/var/nix/db/db.sqlite' is busy nixpkgs-review> _____________________ test_eval_tests[group-tests3-False] ______________________ nixpkgs-review> [gw8] linux -- Python 3.14.8 /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/bin/python nixpkgs-review> nixpkgs-review> tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw8/test_eval_tests_group_tests3_F0') nixpkgs-review> package = 'group', tests = {'group.package.tests.nested.test'} nixpkgs-review> include_tests = False nixpkgs-review> nixpkgs-review> @pytest.mark.parametrize("include_tests", [False, True]) nixpkgs-review> @pytest.mark.parametrize( nixpkgs-review> ("package", "tests"), nixpkgs-review> [ nixpkgs-review> ( nixpkgs-review> "selfReferencing", nixpkgs-review> {"selfReferencing.tests.self", "selfReferencing.tests.nested.test"}, nixpkgs-review> ), nixpkgs-review> ("overridden", {"overridden.tests.inherited"}), nixpkgs-review> ("single", {"single.tests"}), nixpkgs-review> ("group", {"group.package.tests.nested.test"}), nixpkgs-review> ], nixpkgs-review> ) nixpkgs-review> def test_eval_tests( nixpkgs-review> tmp_path: Path, package: str, tests: set[str], *, include_tests: bool nixpkgs-review> ) -> None: nixpkgs-review> nixpkgs = real_nixpkgs() nixpkgs-review> fixture = TEST_ROOT / "assets/recursive-tests.nix" nixpkgs-review> (tmp_path / "default.nix").write_text( nixpkgs-review> f"{{ system, ... }}: import {fixture} {{ " nixpkgs-review> f"pkgs = import {nixpkgs} {{ inherit system; config = {{}}; }}; }}" nixpkgs-review> ) nixpkgs-review> config = tmp_path / "config.nix" nixpkgs-review> config.write_text("{}") nixpkgs-review> attrs = tmp_path / "attrs.json" nixpkgs-review> > attrs.write_text(json.dumps({current_system(): [package]})) nixpkgs-review> ^^^^^^^^^^^^^^^^ nixpkgs-review> nixpkgs-review> tests/test_eval.py:43: nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs_review/utils.py:99: in current_system nixpkgs-review> system = subprocess.run( nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs-review> input = None, capture_output = False, timeout = None, check = True nixpkgs-review> popenargs = (['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', ...],) nixpkgs-review> kwargs = {'stdout': -1, 'text': True} nixpkgs-review> nixpkgs-review> def run(*popenargs, nixpkgs-review> input=None, capture_output=False, timeout=None, check=False, **kwargs): nixpkgs-review> """Run command with arguments and return a CompletedProcess instance. nixpkgs-review> nixpkgs-review> The returned instance will have attributes args, returncode, stdout and nixpkgs-review> stderr. By default, stdout and stderr are not captured, and those attributes nixpkgs-review> will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, nixpkgs-review> or pass capture_output=True to capture both. nixpkgs-review> nixpkgs-review> If check is True and the exit code was non-zero, it raises a nixpkgs-review> CalledProcessError. The CalledProcessError object will have the return code nixpkgs-review> in the returncode attribute, and output & stderr attributes if those streams nixpkgs-review> were captured. nixpkgs-review> nixpkgs-review> If timeout (seconds) is given and the process takes too long, nixpkgs-review> a TimeoutExpired exception will be raised. nixpkgs-review> nixpkgs-review> There is an optional argument "input", allowing you to nixpkgs-review> pass bytes or a string to the subprocess's stdin. If you use this argument nixpkgs-review> you may not also use the Popen constructor's "stdin" argument, as nixpkgs-review> it will be used internally. nixpkgs-review> nixpkgs-review> By default, all communication is in bytes, and therefore any "input" should nixpkgs-review> be bytes, and the stdout and stderr will be bytes. If in text mode, any nixpkgs-review> "input" should be a string, and stdout and stderr will be strings decoded nixpkgs-review> according to locale encoding, or by "encoding" if set. Text mode is nixpkgs-review> triggered by setting any of text, encoding, errors or universal_newlines. nixpkgs-review> nixpkgs-review> The other arguments are the same as for the Popen constructor. nixpkgs-review> """ nixpkgs-review> if input is not None: nixpkgs-review> if kwargs.get('stdin') is not None: nixpkgs-review> raise ValueError('stdin and input arguments may not both be used.') nixpkgs-review> kwargs['stdin'] = PIPE nixpkgs-review> nixpkgs-review> if capture_output: nixpkgs-review> if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: nixpkgs-review> raise ValueError('stdout and stderr arguments may not be used ' nixpkgs-review> 'with capture_output.') nixpkgs-review> kwargs['stdout'] = PIPE nixpkgs-review> kwargs['stderr'] = PIPE nixpkgs-review> nixpkgs-review> with Popen(*popenargs, **kwargs) as process: nixpkgs-review> try: nixpkgs-review> stdout, stderr = process.communicate(input, timeout=timeout) nixpkgs-review> except TimeoutExpired as exc: nixpkgs-review> process.kill() nixpkgs-review> if _mswindows: nixpkgs-review> # Windows accumulates the output in a single blocking nixpkgs-review> # read() call run on child threads, with the timeout nixpkgs-review> # being done in a join() on those threads. communicate() nixpkgs-review> # _after_ kill() is required to collect that and add it nixpkgs-review> # to the exception. nixpkgs-review> exc.stdout, exc.stderr = process.communicate() nixpkgs-review> else: nixpkgs-review> # POSIX _communicate already populated the output so nixpkgs-review> # far into the TimeoutExpired exception. nixpkgs-review> process.wait() nixpkgs-review> raise nixpkgs-review> except: # Including KeyboardInterrupt, communicate handled that. nixpkgs-review> process.kill() nixpkgs-review> # We don't call process.wait() as .__exit__ does that for us. nixpkgs-review> raise nixpkgs-review> retcode = process.poll() nixpkgs-review> if check and retcode: nixpkgs-review> > raise CalledProcessError(retcode, process.args, nixpkgs-review> output=stdout, stderr=stderr) nixpkgs-review> E subprocess.CalledProcessError: Command '['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', '--expr', 'builtins.currentSystem']' returned non-zero exit status 1. nixpkgs-review> nixpkgs-review> /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/lib/python3.14/subprocess.py:578: CalledProcessError nixpkgs-review> ----------------------------- Captured stderr call ----------------------------- nixpkgs-review> warning: you don't have Internet access; disabling some network-dependent features nixpkgs-review> warning: /nix/var/nix does not exist, so Nix will use "/homeless-shelter/.local/share/nix/root" as a chroot store nixpkgs-review> error: SQLite database '/homeless-shelter/.local/share/nix/root/nix/var/nix/db/db.sqlite' is busy nixpkgs-review> ______________________ test_eval_tests[group-tests3-True] ______________________ nixpkgs-review> [gw6] linux -- Python 3.14.8 /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/bin/python nixpkgs-review> nixpkgs-review> tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw6/test_eval_tests_group_tests3_T0') nixpkgs-review> package = 'group', tests = {'group.package.tests.nested.test'} nixpkgs-review> include_tests = True nixpkgs-review> nixpkgs-review> @pytest.mark.parametrize("include_tests", [False, True]) nixpkgs-review> @pytest.mark.parametrize( nixpkgs-review> ("package", "tests"), nixpkgs-review> [ nixpkgs-review> ( nixpkgs-review> "selfReferencing", nixpkgs-review> {"selfReferencing.tests.self", "selfReferencing.tests.nested.test"}, nixpkgs-review> ), nixpkgs-review> ("overridden", {"overridden.tests.inherited"}), nixpkgs-review> ("single", {"single.tests"}), nixpkgs-review> ("group", {"group.package.tests.nested.test"}), nixpkgs-review> ], nixpkgs-review> ) nixpkgs-review> def test_eval_tests( nixpkgs-review> tmp_path: Path, package: str, tests: set[str], *, include_tests: bool nixpkgs-review> ) -> None: nixpkgs-review> nixpkgs = real_nixpkgs() nixpkgs-review> fixture = TEST_ROOT / "assets/recursive-tests.nix" nixpkgs-review> (tmp_path / "default.nix").write_text( nixpkgs-review> f"{{ system, ... }}: import {fixture} {{ " nixpkgs-review> f"pkgs = import {nixpkgs} {{ inherit system; config = {{}}; }}; }}" nixpkgs-review> ) nixpkgs-review> config = tmp_path / "config.nix" nixpkgs-review> config.write_text("{}") nixpkgs-review> attrs = tmp_path / "attrs.json" nixpkgs-review> > attrs.write_text(json.dumps({current_system(): [package]})) nixpkgs-review> ^^^^^^^^^^^^^^^^ nixpkgs-review> nixpkgs-review> tests/test_eval.py:43: nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs_review/utils.py:99: in current_system nixpkgs-review> system = subprocess.run( nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs-review> input = None, capture_output = False, timeout = None, check = True nixpkgs-review> popenargs = (['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', ...],) nixpkgs-review> kwargs = {'stdout': -1, 'text': True} nixpkgs-review> nixpkgs-review> def run(*popenargs, nixpkgs-review> input=None, capture_output=False, timeout=None, check=False, **kwargs): nixpkgs-review> """Run command with arguments and return a CompletedProcess instance. nixpkgs-review> nixpkgs-review> The returned instance will have attributes args, returncode, stdout and nixpkgs-review> stderr. By default, stdout and stderr are not captured, and those attributes nixpkgs-review> will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, nixpkgs-review> or pass capture_output=True to capture both. nixpkgs-review> nixpkgs-review> If check is True and the exit code was non-zero, it raises a nixpkgs-review> CalledProcessError. The CalledProcessError object will have the return code nixpkgs-review> in the returncode attribute, and output & stderr attributes if those streams nixpkgs-review> were captured. nixpkgs-review> nixpkgs-review> If timeout (seconds) is given and the process takes too long, nixpkgs-review> a TimeoutExpired exception will be raised. nixpkgs-review> nixpkgs-review> There is an optional argument "input", allowing you to nixpkgs-review> pass bytes or a string to the subprocess's stdin. If you use this argument nixpkgs-review> you may not also use the Popen constructor's "stdin" argument, as nixpkgs-review> it will be used internally. nixpkgs-review> nixpkgs-review> By default, all communication is in bytes, and therefore any "input" should nixpkgs-review> be bytes, and the stdout and stderr will be bytes. If in text mode, any nixpkgs-review> "input" should be a string, and stdout and stderr will be strings decoded nixpkgs-review> according to locale encoding, or by "encoding" if set. Text mode is nixpkgs-review> triggered by setting any of text, encoding, errors or universal_newlines. nixpkgs-review> nixpkgs-review> The other arguments are the same as for the Popen constructor. nixpkgs-review> """ nixpkgs-review> if input is not None: nixpkgs-review> if kwargs.get('stdin') is not None: nixpkgs-review> raise ValueError('stdin and input arguments may not both be used.') nixpkgs-review> kwargs['stdin'] = PIPE nixpkgs-review> nixpkgs-review> if capture_output: nixpkgs-review> if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: nixpkgs-review> raise ValueError('stdout and stderr arguments may not be used ' nixpkgs-review> 'with capture_output.') nixpkgs-review> kwargs['stdout'] = PIPE nixpkgs-review> kwargs['stderr'] = PIPE nixpkgs-review> nixpkgs-review> with Popen(*popenargs, **kwargs) as process: nixpkgs-review> try: nixpkgs-review> stdout, stderr = process.communicate(input, timeout=timeout) nixpkgs-review> except TimeoutExpired as exc: nixpkgs-review> process.kill() nixpkgs-review> if _mswindows: nixpkgs-review> # Windows accumulates the output in a single blocking nixpkgs-review> # read() call run on child threads, with the timeout nixpkgs-review> # being done in a join() on those threads. communicate() nixpkgs-review> # _after_ kill() is required to collect that and add it nixpkgs-review> # to the exception. nixpkgs-review> exc.stdout, exc.stderr = process.communicate() nixpkgs-review> else: nixpkgs-review> # POSIX _communicate already populated the output so nixpkgs-review> # far into the TimeoutExpired exception. nixpkgs-review> process.wait() nixpkgs-review> raise nixpkgs-review> except: # Including KeyboardInterrupt, communicate handled that. nixpkgs-review> process.kill() nixpkgs-review> # We don't call process.wait() as .__exit__ does that for us. nixpkgs-review> raise nixpkgs-review> retcode = process.poll() nixpkgs-review> if check and retcode: nixpkgs-review> > raise CalledProcessError(retcode, process.args, nixpkgs-review> output=stdout, stderr=stderr) nixpkgs-review> E subprocess.CalledProcessError: Command '['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', '--expr', 'builtins.currentSystem']' returned non-zero exit status 1. nixpkgs-review> nixpkgs-review> /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/lib/python3.14/subprocess.py:578: CalledProcessError nixpkgs-review> ----------------------------- Captured stderr call ----------------------------- nixpkgs-review> warning: you don't have Internet access; disabling some network-dependent features nixpkgs-review> error: SQLite database '/homeless-shelter/.local/share/nix/root/nix/var/nix/db/db.sqlite' is busy nixpkgs-review> ___________________ test_eval_tests[overridden-tests1-False] ___________________ nixpkgs-review> [gw3] linux -- Python 3.14.8 /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/bin/python nixpkgs-review> nixpkgs-review> tmp_path = PosixPath('/build/pytest-of-nixbld/pytest-0/popen-gw3/test_eval_tests_overridden_tes0') nixpkgs-review> package = 'overridden', tests = {'overridden.tests.inherited'} nixpkgs-review> include_tests = False nixpkgs-review> nixpkgs-review> @pytest.mark.parametrize("include_tests", [False, True]) nixpkgs-review> @pytest.mark.parametrize( nixpkgs-review> ("package", "tests"), nixpkgs-review> [ nixpkgs-review> ( nixpkgs-review> "selfReferencing", nixpkgs-review> {"selfReferencing.tests.self", "selfReferencing.tests.nested.test"}, nixpkgs-review> ), nixpkgs-review> ("overridden", {"overridden.tests.inherited"}), nixpkgs-review> ("single", {"single.tests"}), nixpkgs-review> ("group", {"group.package.tests.nested.test"}), nixpkgs-review> ], nixpkgs-review> ) nixpkgs-review> def test_eval_tests( nixpkgs-review> tmp_path: Path, package: str, tests: set[str], *, include_tests: bool nixpkgs-review> ) -> None: nixpkgs-review> nixpkgs = real_nixpkgs() nixpkgs-review> fixture = TEST_ROOT / "assets/recursive-tests.nix" nixpkgs-review> (tmp_path / "default.nix").write_text( nixpkgs-review> f"{{ system, ... }}: import {fixture} {{ " nixpkgs-review> f"pkgs = import {nixpkgs} {{ inherit system; config = {{}}; }}; }}" nixpkgs-review> ) nixpkgs-review> config = tmp_path / "config.nix" nixpkgs-review> config.write_text("{}") nixpkgs-review> attrs = tmp_path / "attrs.json" nixpkgs-review> > attrs.write_text(json.dumps({current_system(): [package]})) nixpkgs-review> ^^^^^^^^^^^^^^^^ nixpkgs-review> nixpkgs-review> tests/test_eval.py:43: nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs_review/utils.py:99: in current_system nixpkgs-review> system = subprocess.run( nixpkgs-review> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ nixpkgs-review> nixpkgs-review> input = None, capture_output = False, timeout = None, check = True nixpkgs-review> popenargs = (['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', ...],) nixpkgs-review> kwargs = {'stdout': -1, 'text': True} nixpkgs-review> nixpkgs-review> def run(*popenargs, nixpkgs-review> input=None, capture_output=False, timeout=None, check=False, **kwargs): nixpkgs-review> """Run command with arguments and return a CompletedProcess instance. nixpkgs-review> nixpkgs-review> The returned instance will have attributes args, returncode, stdout and nixpkgs-review> stderr. By default, stdout and stderr are not captured, and those attributes nixpkgs-review> will be None. Pass stdout=PIPE and/or stderr=PIPE in order to capture them, nixpkgs-review> or pass capture_output=True to capture both. nixpkgs-review> nixpkgs-review> If check is True and the exit code was non-zero, it raises a nixpkgs-review> CalledProcessError. The CalledProcessError object will have the return code nixpkgs-review> in the returncode attribute, and output & stderr attributes if those streams nixpkgs-review> were captured. nixpkgs-review> nixpkgs-review> If timeout (seconds) is given and the process takes too long, nixpkgs-review> a TimeoutExpired exception will be raised. nixpkgs-review> nixpkgs-review> There is an optional argument "input", allowing you to nixpkgs-review> pass bytes or a string to the subprocess's stdin. If you use this argument nixpkgs-review> you may not also use the Popen constructor's "stdin" argument, as nixpkgs-review> it will be used internally. nixpkgs-review> nixpkgs-review> By default, all communication is in bytes, and therefore any "input" should nixpkgs-review> be bytes, and the stdout and stderr will be bytes. If in text mode, any nixpkgs-review> "input" should be a string, and stdout and stderr will be strings decoded nixpkgs-review> according to locale encoding, or by "encoding" if set. Text mode is nixpkgs-review> triggered by setting any of text, encoding, errors or universal_newlines. nixpkgs-review> nixpkgs-review> The other arguments are the same as for the Popen constructor. nixpkgs-review> """ nixpkgs-review> if input is not None: nixpkgs-review> if kwargs.get('stdin') is not None: nixpkgs-review> raise ValueError('stdin and input arguments may not both be used.') nixpkgs-review> kwargs['stdin'] = PIPE nixpkgs-review> nixpkgs-review> if capture_output: nixpkgs-review> if kwargs.get('stdout') is not None or kwargs.get('stderr') is not None: nixpkgs-review> raise ValueError('stdout and stderr arguments may not be used ' nixpkgs-review> 'with capture_output.') nixpkgs-review> kwargs['stdout'] = PIPE nixpkgs-review> kwargs['stderr'] = PIPE nixpkgs-review> nixpkgs-review> with Popen(*popenargs, **kwargs) as process: nixpkgs-review> try: nixpkgs-review> stdout, stderr = process.communicate(input, timeout=timeout) nixpkgs-review> except TimeoutExpired as exc: nixpkgs-review> process.kill() nixpkgs-review> if _mswindows: nixpkgs-review> # Windows accumulates the output in a single blocking nixpkgs-review> # read() call run on child threads, with the timeout nixpkgs-review> # being done in a join() on those threads. communicate() nixpkgs-review> # _after_ kill() is required to collect that and add it nixpkgs-review> # to the exception. nixpkgs-review> exc.stdout, exc.stderr = process.communicate() nixpkgs-review> else: nixpkgs-review> # POSIX _communicate already populated the output so nixpkgs-review> # far into the TimeoutExpired exception. nixpkgs-review> process.wait() nixpkgs-review> raise nixpkgs-review> except: # Including KeyboardInterrupt, communicate handled that. nixpkgs-review> process.kill() nixpkgs-review> # We don't call process.wait() as .__exit__ does that for us. nixpkgs-review> raise nixpkgs-review> retcode = process.poll() nixpkgs-review> if check and retcode: nixpkgs-review> > raise CalledProcessError(retcode, process.args, nixpkgs-review> output=stdout, stderr=stderr) nixpkgs-review> E subprocess.CalledProcessError: Command '['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', '--expr', 'builtins.currentSystem']' returned non-zero exit status 1. nixpkgs-review> nixpkgs-review> /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/lib/python3.14/subprocess.py:578: CalledProcessError nixpkgs-review> ----------------------------- Captured stderr call ----------------------------- nixpkgs-review> warning: you don't have Internet access; disabling some network-dependent features nixpkgs-review> warning: /nix/var/nix does not exist, so Nix will use "/homeless-shelter/.local/share/nix/root" as a chroot store nixpkgs-review> error: SQLite database '/homeless-shelter/.local/share/nix/root/nix/var/nix/db/db.sqlite' is busy nixpkgs-review> =========================== short test summary info ============================ nixpkgs-review> FAILED tests/test_eval.py::test_eval_tests[overridden-tests1-True] - subproce... nixpkgs-review> FAILED tests/test_eval.py::test_eval_tests[selfReferencing-tests0-False] - su... nixpkgs-review> FAILED tests/test_eval.py::test_eval_tests[single-tests2-True] - subprocess.C... nixpkgs-review> FAILED tests/test_eval.py::test_eval_tests[single-tests2-False] - subprocess.... nixpkgs-review> FAILED tests/test_eval.py::test_eval_tests[group-tests3-False] - subprocess.C... nixpkgs-review> FAILED tests/test_eval.py::test_eval_tests[group-tests3-True] - subprocess.Ca... nixpkgs-review> FAILED tests/test_eval.py::test_eval_tests[overridden-tests1-False] - subproc... nixpkgs-review> !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 7 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! nixpkgs-review> !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!! nixpkgs-review> ============= 7 failed, 42 passed, 4 skipped in 609.45s (0:10:09) ============== error: Cannot build '/nix/store/8jj80jlhnkvwmig5m817wb96j32q7ppn-nixpkgs-review.drv'. Reason: builder failed with exit code 2. Output paths: /nix/store/5lypz0n0ca2ll05sdpxq9gwnjj73nhvb-nixpkgs-review-dist /nix/store/zpxdzv7574vmhy6m50643ga51s192bw6-nixpkgs-review Last 25 log lines: > process.kill() > # We don't call process.wait() as .__exit__ does that for us. > raise > retcode = process.poll() > if check and retcode: > > raise CalledProcessError(retcode, process.args, > output=stdout, stderr=stderr) > E subprocess.CalledProcessError: Command '['nix', '--extra-experimental-features', 'nix-command', 'eval', '--impure', '--raw', '--expr', 'builtins.currentSystem']' returned non-zero exit status 1. > > /nix/store/lq2fsnmg0q3y0vlxn91w8s8wvj1m6fld-python3-3.14.8/lib/python3.14/subprocess.py:578: CalledProcessError > ----------------------------- Captured stderr call ----------------------------- > warning: you don't have Internet access; disabling some network-dependent features > warning: /nix/var/nix does not exist, so Nix will use "/homeless-shelter/.local/share/nix/root" as a chroot store > error: SQLite database '/homeless-shelter/.local/share/nix/root/nix/var/nix/db/db.sqlite' is busy > =========================== short test summary info ============================ > FAILED tests/test_eval.py::test_eval_tests[overridden-tests1-True] - subproce... > FAILED tests/test_eval.py::test_eval_tests[selfReferencing-tests0-False] - su... > FAILED tests/test_eval.py::test_eval_tests[single-tests2-True] - subprocess.C... > FAILED tests/test_eval.py::test_eval_tests[single-tests2-False] - subprocess.... > FAILED tests/test_eval.py::test_eval_tests[group-tests3-False] - subprocess.C... > FAILED tests/test_eval.py::test_eval_tests[group-tests3-True] - subprocess.Ca... > FAILED tests/test_eval.py::test_eval_tests[overridden-tests1-False] - subproc... > !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 7 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! > !!!!!!!!!!!! xdist.dsession.Interrupted: stopping after 1 failures !!!!!!!!!!!!! > ============= 7 failed, 42 passed, 4 skipped in 609.45s (0:10:09) ============== For full logs, run: nix log /nix/store/8jj80jlhnkvwmig5m817wb96j32q7ppn-nixpkgs-review.drv