Sourcing python-remove-tests-dir-hook Sourcing python-catch-conflicts-hook.sh Sourcing python-remove-bin-bytecode-hook.sh Sourcing pypa-build-hook Using pypaBuildPhase Sourcing python-runtime-deps-check-hook Using pythonRuntimeDepsCheckHook Sourcing pypa-install-hook Using pypaInstallPhase Sourcing python-imports-check-hook.sh Using pythonImportsCheckPhase Sourcing python-namespaces-hook Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase Running phase: unpackPhase unpacking source archive /nix/store/k8qy52b87ij9a41g2r171pmphg3wb9dq-src source root is src setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "src/tests/test_utils.py" Running phase: patchPhase Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase Running phase: buildPhase Executing pypaBuildPhase Creating a wheel... pypa build flags: --no-isolation --outdir dist/ --wheel * Getting build dependencies for wheel... running egg_info creating nixos_rebuild.egg-info writing nixos_rebuild.egg-info/PKG-INFO writing dependency_links to nixos_rebuild.egg-info/dependency_links.txt writing entry points to nixos_rebuild.egg-info/entry_points.txt writing top-level names to nixos_rebuild.egg-info/top_level.txt writing manifest file 'nixos_rebuild.egg-info/SOURCES.txt' reading manifest file 'nixos_rebuild.egg-info/SOURCES.txt' writing manifest file 'nixos_rebuild.egg-info/SOURCES.txt' * Building wheel... running bdist_wheel running build running build_py creating build/lib/nixos_rebuild copying nixos_rebuild/elevate.py -> build/lib/nixos_rebuild copying nixos_rebuild/tmpdir.py -> build/lib/nixos_rebuild copying nixos_rebuild/constants.py -> build/lib/nixos_rebuild copying nixos_rebuild/nix.py -> build/lib/nixos_rebuild copying nixos_rebuild/__main__.py -> build/lib/nixos_rebuild copying nixos_rebuild/process.py -> build/lib/nixos_rebuild copying nixos_rebuild/models.py -> build/lib/nixos_rebuild copying nixos_rebuild/utils.py -> build/lib/nixos_rebuild copying nixos_rebuild/services.py -> build/lib/nixos_rebuild copying nixos_rebuild/__init__.py -> build/lib/nixos_rebuild running egg_info writing nixos_rebuild.egg-info/PKG-INFO writing dependency_links to nixos_rebuild.egg-info/dependency_links.txt writing entry points to nixos_rebuild.egg-info/entry_points.txt writing top-level names to nixos_rebuild.egg-info/top_level.txt reading manifest file 'nixos_rebuild.egg-info/SOURCES.txt' writing manifest file 'nixos_rebuild.egg-info/SOURCES.txt' copying nixos_rebuild/repl.nix.template -> build/lib/nixos_rebuild installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/nixos_rebuild copying build/lib/nixos_rebuild/utils.py -> build/bdist.linux-x86_64/wheel/./nixos_rebuild copying build/lib/nixos_rebuild/models.py -> build/bdist.linux-x86_64/wheel/./nixos_rebuild copying build/lib/nixos_rebuild/nix.py -> build/bdist.linux-x86_64/wheel/./nixos_rebuild copying build/lib/nixos_rebuild/repl.nix.template -> build/bdist.linux-x86_64/wheel/./nixos_rebuild copying build/lib/nixos_rebuild/process.py -> build/bdist.linux-x86_64/wheel/./nixos_rebuild copying build/lib/nixos_rebuild/__main__.py -> build/bdist.linux-x86_64/wheel/./nixos_rebuild copying build/lib/nixos_rebuild/constants.py -> build/bdist.linux-x86_64/wheel/./nixos_rebuild copying build/lib/nixos_rebuild/tmpdir.py -> build/bdist.linux-x86_64/wheel/./nixos_rebuild copying build/lib/nixos_rebuild/services.py -> build/bdist.linux-x86_64/wheel/./nixos_rebuild copying build/lib/nixos_rebuild/elevate.py -> build/bdist.linux-x86_64/wheel/./nixos_rebuild copying build/lib/nixos_rebuild/__init__.py -> build/bdist.linux-x86_64/wheel/./nixos_rebuild running install_egg_info Copying nixos_rebuild.egg-info to build/bdist.linux-x86_64/wheel/./nixos_rebuild-0.0.0-py3.13.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/nixos_rebuild-0.0.0.dist-info/WHEEL creating '/build/src/dist/.tmp-r7c23kdl/nixos_rebuild-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'nixos_rebuild/__init__.py' adding 'nixos_rebuild/__main__.py' adding 'nixos_rebuild/constants.py' adding 'nixos_rebuild/elevate.py' adding 'nixos_rebuild/models.py' adding 'nixos_rebuild/nix.py' adding 'nixos_rebuild/process.py' adding 'nixos_rebuild/repl.nix.template' adding 'nixos_rebuild/services.py' adding 'nixos_rebuild/tmpdir.py' adding 'nixos_rebuild/utils.py' adding 'nixos_rebuild-0.0.0.dist-info/METADATA' adding 'nixos_rebuild-0.0.0.dist-info/WHEEL' adding 'nixos_rebuild-0.0.0.dist-info/entry_points.txt' adding 'nixos_rebuild-0.0.0.dist-info/top_level.txt' adding 'nixos_rebuild-0.0.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built nixos_rebuild-0.0.0-py3-none-any.whl Finished creating a wheel... Finished executing pypaBuildPhase Running phase: pythonRuntimeDepsCheckHook Running phase: pythonRuntimeDepsCheckHook Executing pythonRuntimeDepsCheck Checking runtime dependencies for nixos_rebuild-0.0.0-py3-none-any.whl Finished executing pythonRuntimeDepsCheck Running phase: installPhase Running phase: installPhase Executing pypaInstallPhase Successfully installed nixos_rebuild-0.0.0-py3-none-any.whl Finished executing pypaInstallPhase Running phase: pythonOutputDistPhase Running phase: pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/9p3bdp3kcziv4w75gh8mr4mk8y59mb62-nixos-rebuild-ng-26.11 checking for references to /build/ in /nix/store/9p3bdp3kcziv4w75gh8mr4mk8y59mb62-nixos-rebuild-ng-26.11... gzipping man pages under /nix/store/9p3bdp3kcziv4w75gh8mr4mk8y59mb62-nixos-rebuild-ng-26.11/share/man/ patching script interpreter paths in /nix/store/9p3bdp3kcziv4w75gh8mr4mk8y59mb62-nixos-rebuild-ng-26.11 stripping (with command strip and flags -S -p) in /nix/store/9p3bdp3kcziv4w75gh8mr4mk8y59mb62-nixos-rebuild-ng-26.11/lib /nix/store/9p3bdp3kcziv4w75gh8mr4mk8y59mb62-nixos-rebuild-ng-26.11/bin shrinking RPATHs of ELF executables and libraries in /nix/store/jn6mc7syx359wd5cifir4jislxskkvm8-nixos-rebuild-ng-26.11-dist checking for references to /build/ in /nix/store/jn6mc7syx359wd5cifir4jislxskkvm8-nixos-rebuild-ng-26.11-dist... patching script interpreter paths in /nix/store/jn6mc7syx359wd5cifir4jislxskkvm8-nixos-rebuild-ng-26.11-dist Rewriting #!/nix/store/l9k0anq0z7zz81zcwy035jfwap9ga6rl-python3-3.13.13/bin/python3.13 to #!/nix/store/l9k0anq0z7zz81zcwy035jfwap9ga6rl-python3-3.13.13 wrapping `/nix/store/9p3bdp3kcziv4w75gh8mr4mk8y59mb62-nixos-rebuild-ng-26.11/bin/nixos-rebuild'... Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase Running phase: installCheckPhase no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase Running phase: pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase Running phase: pythonImportsCheckPhase Executing pythonImportsCheckPhase Running phase: pytestCheckPhase Running phase: pytestCheckPhase Executing pytestCheckPhase pytest flags: -m pytest -vv ============================= test session starts ============================== platform linux -- Python 3.13.13, pytest-9.0.3, pluggy-1.6.0 -- /nix/store/l9k0anq0z7zz81zcwy035jfwap9ga6rl-python3-3.13.13/bin/python3.13 cachedir: .pytest_cache rootdir: /build/src configfile: pyproject.toml collected 71 items tests/test_elevate.py::test_no_elevator PASSED [ 1%] tests/test_elevate.py::test_sudo_elevator PASSED [ 2%] tests/test_elevate.py::test_sudo_elevator_extra_opts PASSED [ 4%] tests/test_elevate.py::test_run0_elevator PASSED [ 5%] tests/test_elevate.py::test_run0_elevator_remote PASSED [ 7%] tests/test_elevate.py::test_run0_for_target_config PASSED [ 8%] tests/test_elevate.py::test_elevator_kind PASSED [ 9%] tests/test_elevate.py::test_with_prompted_password PASSED [ 11%] tests/test_main.py::test_parse_args_elevate PASSED [ 12%] tests/test_main.py::test_parse_args PASSED [ 14%] tests/test_main.py::test_execute_nix_boot PASSED [ 15%] tests/test_main.py::test_execute_nix_build PASSED [ 16%] tests/test_main.py::test_execute_nix_build_vm PASSED [ 18%] tests/test_main.py::test_execute_nix_build_image_flake PASSED [ 19%] tests/test_main.py::test_execute_nix_switch_flake PASSED [ 21%] tests/test_main.py::test_execute_nix_switch_build_target_host PASSED [ 22%] tests/test_main.py::test_execute_nix_switch_flake_target_host PASSED [ 23%] tests/test_main.py::test_execute_nix_switch_flake_build_host PASSED [ 25%] tests/test_main.py::test_execute_switch_rollback PASSED [ 26%] tests/test_main.py::test_execute_build PASSED [ 28%] tests/test_main.py::test_execute_build_dry_run_build_and_target_remote PASSED [ 29%] tests/test_main.py::test_execute_test_flake PASSED [ 30%] tests/test_main.py::test_execute_test_rollback PASSED [ 32%] tests/test_main.py::test_execute_switch_store_path PASSED [ 33%] tests/test_main.py::test_execute_switch_store_path_target_host PASSED [ 35%] tests/test_models.py::test_build_attr_from_arg PASSED [ 36%] tests/test_models.py::test_build_attr_to_attr PASSED [ 38%] tests/test_models.py::test_flake_parse PASSED [ 39%] tests/test_models.py::test_flake_to_attr PASSED [ 40%] tests/test_models.py::test_flake__str__ PASSED [ 42%] tests/test_models.py::test_flake_resolve_path_if_exists PASSED [ 43%] tests/test_models.py::test_flake_from_arg PASSED [ 45%] tests/test_models.py::test_profile_from_arg PASSED [ 46%] tests/test_models.py::test_grouped_nix_args_flake_build_flags PASSED [ 47%] tests/test_nix.py::test_build PASSED [ 49%] tests/test_nix.py::test_build_flake PASSED [ 50%] tests/test_nix.py::test_build_remote PASSED [ 52%] tests/test_nix.py::test_build_remote_flake PASSED [ 53%] tests/test_nix.py::test_copy_closure PASSED [ 54%] tests/test_nix.py::test_edit PASSED [ 56%] tests/test_nix.py::test_edit_flake PASSED [ 57%] tests/test_nix.py::test_get_build_image_variants PASSED [ 59%] tests/test_nix.py::test_get_build_image_variants_flake PASSED [ 60%] tests/test_nix.py::test_get_nixpkgs_rev PASSED [ 61%] tests/test_nix.py::test_get_generations PASSED [ 63%] tests/test_nix.py::test_get_generations_with_profile PASSED [ 64%] tests/test_nix.py::test_get_generations_from_nix_env PASSED [ 66%] tests/test_nix.py::test_list_generations PASSED [ 67%] tests/test_nix.py::test_diff_closures PASSED [ 69%] tests/test_nix.py::test_repl PASSED [ 70%] tests/test_nix.py::test_repl_flake PASSED [ 71%] tests/test_nix.py::test_rollback PASSED [ 73%] tests/test_nix.py::test_rollback_temporary_profile PASSED [ 74%] tests/test_nix.py::test_set_profile PASSED [ 76%] tests/test_nix.py::test_switch_to_configuration_without_systemd_run PASSED [ 77%] tests/test_nix.py::test_switch_to_configuration_without_systemd_run_env_var PASSED [ 78%] tests/test_nix.py::test_switch_to_configuration_with_systemd_run PASSED [ 80%] tests/test_nix.py::test_upgrade_channels PASSED [ 81%] tests/test_process.py::test_remote_env_shell_argv PASSED [ 83%] tests/test_process.py::test_run_wrapper PASSED [ 84%] tests/test_process.py::test__kill_long_running_ssh_process PASSED [ 85%] tests/test_process.py::test_remote_from_name PASSED [ 87%] tests/test_process.py::test_ssh_host PASSED [ 88%] tests/test_process.py::test_run_wrapper_run0 PASSED [ 90%] tests/test_process.py::test_custom_sudo_args PASSED [ 91%] tests/test_services.py::test_reexec PASSED [ 92%] tests/test_services.py::test_reexec_flake PASSED [ 94%] tests/test_services.py::test_reexec_skip_if_already_reexec PASSED [ 95%] tests/test_utils.py::test_dict_to_flags PASSED [ 97%] tests/test_utils.py::test_remap_dicts PASSED [ 98%] tests/test_utils.py::test_tabulate PASSED [100%] ============================== 71 passed in 0.66s ============================== Finished executing pytestCheckPhase Running phase: pytestcachePhase Running phase: pytestcachePhase Running phase: pytestRemoveBytecodePhase Running phase: pytestRemoveBytecodePhase