nixbot

builds

failed nixos-rebuild-ng-26.11 default.checks.aarch64-darwin.package-default · build #85 · raw

1Sourcing python-remove-tests-dir-hook2Sourcing python-catch-conflicts-hook.sh3Sourcing python-remove-bin-bytecode-hook.sh4Sourcing pypa-build-hook5Using pypaBuildPhase6Sourcing python-runtime-deps-check-hook7Using pythonRuntimeDepsCheckHook8Sourcing pypa-install-hook9Using pypaInstallPhase10Sourcing python-imports-check-hook.sh11Using pythonImportsCheckPhase12Sourcing python-namespaces-hook13Sourcing python-catch-conflicts-hook.sh14Sourcing pytest-check-hook15Using pytestCheckPhase
unpackPhase
16unpacking source archive /nix/store/qk5qkj46m51z2017mvwp3g7mziwxbdxl-src17source root is src18setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "src/tests/test_utils.py"
configurePhase
19no configure script, doing nothing
buildPhase
20Executing pypaBuildPhase21Creating a wheel...22pypa build flags: --no-isolation --outdir dist/ --wheel23* Getting build dependencies for wheel...24running egg_info25creating nixos_rebuild.egg-info26writing nixos_rebuild.egg-info/PKG-INFO27writing dependency_links to nixos_rebuild.egg-info/dependency_links.txt28writing entry points to nixos_rebuild.egg-info/entry_points.txt29writing top-level names to nixos_rebuild.egg-info/top_level.txt30writing manifest file 'nixos_rebuild.egg-info/SOURCES.txt'31reading manifest file 'nixos_rebuild.egg-info/SOURCES.txt'32writing manifest file 'nixos_rebuild.egg-info/SOURCES.txt'33* Building wheel...34running bdist_wheel35running build36running build_py37creating build/lib/nixos_rebuild38copying nixos_rebuild/services.py -> build/lib/nixos_rebuild39copying nixos_rebuild/nix.py -> build/lib/nixos_rebuild40copying nixos_rebuild/models.py -> build/lib/nixos_rebuild41copying nixos_rebuild/constants.py -> build/lib/nixos_rebuild42copying nixos_rebuild/tmpdir.py -> build/lib/nixos_rebuild43copying nixos_rebuild/__init__.py -> build/lib/nixos_rebuild44copying nixos_rebuild/utils.py -> build/lib/nixos_rebuild45copying nixos_rebuild/elevate.py -> build/lib/nixos_rebuild46copying nixos_rebuild/process.py -> build/lib/nixos_rebuild47copying nixos_rebuild/__main__.py -> build/lib/nixos_rebuild48running egg_info49writing nixos_rebuild.egg-info/PKG-INFO50writing dependency_links to nixos_rebuild.egg-info/dependency_links.txt51writing entry points to nixos_rebuild.egg-info/entry_points.txt52writing top-level names to nixos_rebuild.egg-info/top_level.txt53reading manifest file 'nixos_rebuild.egg-info/SOURCES.txt'54writing manifest file 'nixos_rebuild.egg-info/SOURCES.txt'55copying nixos_rebuild/repl.nix.template -> build/lib/nixos_rebuild56installing to build/bdist.macosx-14.0-arm64/wheel57running install58running install_lib59creating build/bdist.macosx-14.0-arm64/wheel60creating build/bdist.macosx-14.0-arm64/wheel/nixos_rebuild61copying build/lib/nixos_rebuild/services.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild62copying build/lib/nixos_rebuild/nix.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild63copying build/lib/nixos_rebuild/models.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild64copying build/lib/nixos_rebuild/constants.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild65copying build/lib/nixos_rebuild/tmpdir.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild66copying build/lib/nixos_rebuild/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild67copying build/lib/nixos_rebuild/repl.nix.template -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild68copying build/lib/nixos_rebuild/utils.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild69copying build/lib/nixos_rebuild/elevate.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild70copying build/lib/nixos_rebuild/process.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild71copying build/lib/nixos_rebuild/__main__.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild72running install_egg_info73Copying nixos_rebuild.egg-info to build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild-0.0.0-py3.14.egg-info74running install_scripts75creating build/bdist.macosx-14.0-arm64/wheel/nixos_rebuild-0.0.0.dist-info/WHEEL76creating '/nix/var/nix/builds/nix-33247-2904730487/src/dist/.tmp-cc6kk7li/nixos_rebuild-0.0.0-py3-none-any.whl' and adding 'build/bdist.macosx-14.0-arm64/wheel' to it77adding 'nixos_rebuild/__init__.py'78adding 'nixos_rebuild/__main__.py'79adding 'nixos_rebuild/constants.py'80adding 'nixos_rebuild/elevate.py'81adding 'nixos_rebuild/models.py'82adding 'nixos_rebuild/nix.py'83adding 'nixos_rebuild/process.py'84adding 'nixos_rebuild/repl.nix.template'85adding 'nixos_rebuild/services.py'86adding 'nixos_rebuild/tmpdir.py'87adding 'nixos_rebuild/utils.py'88adding 'nixos_rebuild-0.0.0.dist-info/METADATA'89adding 'nixos_rebuild-0.0.0.dist-info/WHEEL'90adding 'nixos_rebuild-0.0.0.dist-info/entry_points.txt'91adding 'nixos_rebuild-0.0.0.dist-info/top_level.txt'92adding 'nixos_rebuild-0.0.0.dist-info/RECORD'93removing build/bdist.macosx-14.0-arm64/wheel94Successfully built nixos_rebuild-0.0.0-py3-none-any.whl95Finished creating a wheel...96Finished executing pypaBuildPhase
pythonRuntimeDepsCheckHook
97Executing pythonRuntimeDepsCheck98Checking runtime dependencies for nixos_rebuild-0.0.0-py3-none-any.whl99Finished executing pythonRuntimeDepsCheck
installPhase
100Executing pypaInstallPhase101Successfully installed nixos_rebuild-0.0.0-py3-none-any.whl102Finished executing pypaInstallPhase
pythonOutputDistPhase
103Executing pythonOutputDistPhase104Finished executing pythonOutputDistPhase
fixupPhase
105checking for references to /nix/var/nix/builds/nix-33247-2904730487/ in /nix/store/6zflm8kbjpnak4lkpx8gq2kxh1qapkwa-nixos-rebuild-ng-26.11...106gzipping man pages under /nix/store/6zflm8kbjpnak4lkpx8gq2kxh1qapkwa-nixos-rebuild-ng-26.11/share/man/107patching script interpreter paths in /nix/store/6zflm8kbjpnak4lkpx8gq2kxh1qapkwa-nixos-rebuild-ng-26.11108stripping (with command strip and flags -S) in /nix/store/6zflm8kbjpnak4lkpx8gq2kxh1qapkwa-nixos-rebuild-ng-26.11/lib /nix/store/6zflm8kbjpnak4lkpx8gq2kxh1qapkwa-nixos-rebuild-ng-26.11/bin109checking for references to /nix/var/nix/builds/nix-33247-2904730487/ in /nix/store/qfhzcxbnvdbndk04r83w0skj4rzzkfm9-nixos-rebuild-ng-26.11-dist...110patching script interpreter paths in /nix/store/qfhzcxbnvdbndk04r83w0skj4rzzkfm9-nixos-rebuild-ng-26.11-dist111Rewriting #!/nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14 to #!/nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6112wrapping `/nix/store/6zflm8kbjpnak4lkpx8gq2kxh1qapkwa-nixos-rebuild-ng-26.11/bin/nixos-rebuild'...113Executing pythonRemoveTestsDir114Finished executing pythonRemoveTestsDir
installCheckPhase
115no Makefile or custom installCheckPhase, doing nothing
pythonImportsCheckPhase
116Executing pythonImportsCheckPhase
pytestCheckPhase
117Executing pytestCheckPhase118pytest flags: -m pytest -vv119============================= test session starts ==============================120platform darwin -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0 -- /nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/bin/python3.14121cachedir: .pytest_cache122rootdir: /nix/var/nix/builds/nix-33247-2904730487/src123configfile: pyproject.toml124collected 74 items 125126tests/test_elevate.py::test_no_elevator PASSED [ 1%]127tests/test_elevate.py::test_sudo_elevator PASSED [ 2%]128tests/test_elevate.py::test_sudo_elevator_extra_opts PASSED [ 4%]129tests/test_elevate.py::test_run0_elevator PASSED [ 5%]130tests/test_elevate.py::test_run0_elevator_remote PASSED [ 6%]131tests/test_elevate.py::test_run0_for_target_config PASSED [ 8%]132tests/test_elevate.py::test_elevator_kind PASSED [ 9%]133tests/test_elevate.py::test_with_prompted_password PASSED [ 10%]134tests/test_main.py::test_parse_args_elevate PASSED [ 12%]135tests/test_main.py::test_parse_args PASSED [ 13%]136tests/test_main.py::test_execute_nix_boot PASSED [ 14%]137tests/test_main.py::test_execute_nix_build PASSED [ 16%]138tests/test_main.py::test_execute_nix_build_vm PASSED [ 17%]139tests/test_main.py::test_execute_nix_build_image_flake PASSED [ 18%]140tests/test_main.py::test_execute_nix_switch_flake PASSED [ 20%]141tests/test_main.py::test_execute_nix_switch_build_target_host PASSED [ 21%]142tests/test_main.py::test_execute_nix_switch_flake_target_host PASSED [ 22%]143tests/test_main.py::test_execute_nix_switch_flake_build_host PASSED [ 24%]144tests/test_main.py::test_execute_switch_rollback PASSED [ 25%]145tests/test_main.py::test_execute_build PASSED [ 27%]146tests/test_main.py::test_execute_build_dry_run_build_and_target_remote PASSED [ 28%]147tests/test_main.py::test_execute_test_flake PASSED [ 29%]148tests/test_main.py::test_execute_test_rollback PASSED [ 31%]149tests/test_main.py::test_execute_switch_store_path PASSED [ 32%]150tests/test_main.py::test_execute_switch_store_path_target_host PASSED [ 33%]151tests/test_models.py::test_build_attr_from_arg PASSED [ 35%]152tests/test_models.py::test_build_attr_to_attr PASSED [ 36%]153tests/test_models.py::test_flake_parse PASSED [ 37%]154tests/test_models.py::test_flake_to_attr PASSED [ 39%]155tests/test_models.py::test_flake__str__ PASSED [ 40%]156tests/test_models.py::test_flake_resolve_path_if_exists PASSED [ 41%]157tests/test_models.py::test_flake_from_arg PASSED [ 43%]158tests/test_models.py::test_profile_from_arg PASSED [ 44%]159tests/test_models.py::test_grouped_nix_args_flake_build_flags PASSED [ 45%]160tests/test_nix.py::test_build PASSED [ 47%]161tests/test_nix.py::test_build_flake PASSED [ 48%]162tests/test_nix.py::test_build_remote PASSED [ 50%]163tests/test_nix.py::test_build_remote_flake PASSED [ 51%]164tests/test_nix.py::test_copy_closure PASSED [ 52%]165tests/test_nix.py::test_edit PASSED [ 54%]166tests/test_nix.py::test_edit_flake PASSED [ 55%]167tests/test_nix.py::test_get_build_image_variants PASSED [ 56%]168tests/test_nix.py::test_get_build_image_variants_flake PASSED [ 58%]169tests/test_nix.py::test_get_nixpkgs_rev PASSED [ 59%]170tests/test_nix.py::test_get_generations PASSED [ 60%]171tests/test_nix.py::test_get_generations_with_profile PASSED [ 62%]172tests/test_nix.py::test_get_generations_from_nix_env PASSED [ 63%]173tests/test_nix.py::test_list_generations PASSED [ 64%]174tests/test_nix.py::test_diff_closures PASSED [ 66%]175tests/test_nix.py::test_repl PASSED [ 67%]176tests/test_nix.py::test_repl_flake PASSED [ 68%]177tests/test_nix.py::test_rollback PASSED [ 70%]178tests/test_nix.py::test_rollback_temporary_profile PASSED [ 71%]179tests/test_nix.py::test_set_profile PASSED [ 72%]180tests/test_nix.py::test_switch_to_configuration_without_systemd_run PASSED [ 74%]181tests/test_nix.py::test_switch_to_configuration_without_systemd_run_env_var PASSED [ 75%]182tests/test_nix.py::test_switch_to_configuration_with_systemd_run PASSED [ 77%]183tests/test_nix.py::test_upgrade_channels PASSED [ 78%]184tests/test_process.py::test_remote_env_shell_argv PASSED [ 79%]185tests/test_process.py::test_run_wrapper PASSED [ 81%]186tests/test_process.py::test__kill_long_running_ssh_process PASSED [ 82%]187tests/test_process.py::test_remote_from_name PASSED [ 83%]188tests/test_process.py::test_ssh_default_opts PASSED [ 85%]189tests/test_process.py::test_run_wrapper_ssh_default_opts_override PASSED [ 86%]190tests/test_process.py::test_ssh_host PASSED [ 87%]191tests/test_process.py::test_run_wrapper_run0 PASSED [ 89%]192tests/test_process.py::test_custom_sudo_args PASSED [ 90%]193tests/test_services.py::test_reexec PASSED [ 91%]194tests/test_services.py::test_reexec_flake PASSED [ 93%]195tests/test_services.py::test_reexec_skip_if_already_reexec PASSED [ 94%]196tests/test_tmpdir.py::test_make_tmpdir FAILED [ 95%]197tests/test_utils.py::test_dict_to_flags PASSED [ 97%]198tests/test_utils.py::test_remap_dicts PASSED [ 98%]199tests/test_utils.py::test_tabulate PASSED [100%]200201=================================== FAILURES ===================================202_______________________________ test_make_tmpdir _______________________________203204 def test_make_tmpdir() -> None:205 def assert_tmpdir(tmp: Path) -> None:206 assert tmp.exists()207 assert tmp.is_dir()208 assert len(os.fsencode(str(tmp))) <= MAX_TMPDIR_LENGTH209 210 # Basic test: whatever the default system temp dir happens to be.211 tmpdir = make_tmpdir()212 tmp = Path(tmpdir.name)213 214 assert_tmpdir(tmp)215 216 # Test with a short system temp dir. We should use it unmodified.217 short_tempdir = "/tmp/not-too-long"218 with tempfile_tempdir(short_tempdir):219> tmpdir = make_tmpdir()220 ^^^^^^^^^^^^^221222tests/test_tmpdir.py:37: 223_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 224nixos_rebuild/tmpdir.py:66: in make_tmpdir225 tmpdir = TemporaryDirectory(prefix=prefix)226 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^227/nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/tempfile.py:907: in __init__228 self.name = mkdtemp(suffix, prefix, dir)229 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^230_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 231232suffix = '', prefix = 'nixos-rebuild.', dir = '/tmp/not-too-long'233234 def mkdtemp(suffix=None, prefix=None, dir=None):235 """User-callable function to create and return a unique temporary236 directory. The return value is the pathname of the directory.237 238 Arguments are as for mkstemp, except that the 'text' argument is239 not accepted.240 241 The directory is readable, writable, and searchable only by the242 creating user.243 244 Caller is responsible for deleting the directory when done with it.245 """246 247 prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)248 249 names = _get_candidate_names()250 if output_type is bytes:251 names = map(_os.fsencode, names)252 253 for seq in range(TMP_MAX):254 name = next(names)255 file = _os.path.join(dir, prefix + name + suffix)256 _sys.audit("tempfile.mkdtemp", file)257 try:258> _os.mkdir(file, 0o700)259E PermissionError: [Errno 13] Permission denied: '/tmp/not-too-long/nixos-rebuild.dekowpwe'260261/nix/store/i9q7np6h9bwa3ps6937lpwarkqw0izbf-python3-3.14.6/lib/python3.14/tempfile.py:381: PermissionError262------------------------------ Captured log call -------------------------------263DEBUG nixos_rebuild.tmpdir:tmpdir.py:69 tempdir '<TemporaryDirectory '/nix/var/nix/builds/nix-33247-2904730487/nixos-rebuild.7_hodttf'>' exceeds 45 bytes limit, defaulting to '<TemporaryDirectory '/tmp/nixos-rebuild.jg5l_r81'>' instead264=========================== short test summary info ============================265FAILED tests/test_tmpdir.py::test_make_tmpdir - PermissionError: [Errno 13] Permission denied: '/tmp/not-too-long/nixos-rebuild.dekowpwe'266========================= 1 failed, 73 passed in 2.40s =========================