nixbot

builds

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

1tribuchet: building on mac022structuredAttrs is enabled3Sourcing python-remove-tests-dir-hook4Sourcing python-catch-conflicts-hook.sh5Sourcing python-remove-bin-bytecode-hook.sh6Sourcing pypa-build-hook7Using pypaBuildPhase8Sourcing python-runtime-deps-check-hook9Using pythonRuntimeDepsCheckHook10Sourcing pypa-install-hook11Using pypaInstallPhase12Sourcing python-imports-check-hook.sh13Using pythonImportsCheckPhase14Sourcing python-namespaces-hook15Sourcing python-catch-conflicts-hook.sh16Sourcing pytest-check-hook17Using pytestCheckPhase
unpackPhase
18unpacking source archive /nix/store/x05yjh9x42kn7f7na69g2awqvslr4ih7-src19source root is src20setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "src/tests/test_utils.py"
configurePhase
21no configure script, doing nothing
buildPhase
22Executing pypaBuildPhase23Creating a wheel...24pypa build flags: --no-isolation --outdir dist/ --wheel25* Getting build dependencies for wheel...26running egg_info27creating nixos_rebuild.egg-info28writing nixos_rebuild.egg-info/PKG-INFO29writing dependency_links to nixos_rebuild.egg-info/dependency_links.txt30writing entry points to nixos_rebuild.egg-info/entry_points.txt31writing top-level names to nixos_rebuild.egg-info/top_level.txt32writing manifest file 'nixos_rebuild.egg-info/SOURCES.txt'33reading manifest file 'nixos_rebuild.egg-info/SOURCES.txt'34writing manifest file 'nixos_rebuild.egg-info/SOURCES.txt'35* Building wheel...36running bdist_wheel37running build38running build_py39creating build/lib/nixos_rebuild40copying nixos_rebuild/services.py -> build/lib/nixos_rebuild41copying nixos_rebuild/nix.py -> build/lib/nixos_rebuild42copying nixos_rebuild/models.py -> build/lib/nixos_rebuild43copying nixos_rebuild/constants.py -> build/lib/nixos_rebuild44copying nixos_rebuild/tmpdir.py -> build/lib/nixos_rebuild45copying nixos_rebuild/__init__.py -> build/lib/nixos_rebuild46copying nixos_rebuild/utils.py -> build/lib/nixos_rebuild47copying nixos_rebuild/elevate.py -> build/lib/nixos_rebuild48copying nixos_rebuild/process.py -> build/lib/nixos_rebuild49copying nixos_rebuild/__main__.py -> build/lib/nixos_rebuild50running egg_info51writing nixos_rebuild.egg-info/PKG-INFO52writing dependency_links to nixos_rebuild.egg-info/dependency_links.txt53writing entry points to nixos_rebuild.egg-info/entry_points.txt54writing top-level names to nixos_rebuild.egg-info/top_level.txt55reading manifest file 'nixos_rebuild.egg-info/SOURCES.txt'56writing manifest file 'nixos_rebuild.egg-info/SOURCES.txt'57copying nixos_rebuild/repl.nix.template -> build/lib/nixos_rebuild58installing to build/bdist.macosx-14.0-arm64/wheel59running install60running install_lib61creating build/bdist.macosx-14.0-arm64/wheel62creating build/bdist.macosx-14.0-arm64/wheel/nixos_rebuild63copying build/lib/nixos_rebuild/services.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild64copying build/lib/nixos_rebuild/nix.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild65copying build/lib/nixos_rebuild/models.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild66copying build/lib/nixos_rebuild/constants.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild67copying build/lib/nixos_rebuild/tmpdir.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild68copying build/lib/nixos_rebuild/__init__.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild69copying build/lib/nixos_rebuild/repl.nix.template -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild70copying build/lib/nixos_rebuild/utils.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild71copying build/lib/nixos_rebuild/elevate.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild72copying build/lib/nixos_rebuild/process.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild73copying build/lib/nixos_rebuild/__main__.py -> build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild74running install_egg_info75Copying nixos_rebuild.egg-info to build/bdist.macosx-14.0-arm64/wheel/./nixos_rebuild-0.0.0-py3.14.egg-info76running install_scripts77creating build/bdist.macosx-14.0-arm64/wheel/nixos_rebuild-0.0.0.dist-info/WHEEL78creating '/private/var/tb/7/scratch/27b5d43934e0a5a0/build/src/dist/.tmp-_oopf_w0/nixos_rebuild-0.0.0-py3-none-any.whl' and adding 'build/bdist.macosx-14.0-arm64/wheel' to it79adding 'nixos_rebuild/__init__.py'80adding 'nixos_rebuild/__main__.py'81adding 'nixos_rebuild/constants.py'82adding 'nixos_rebuild/elevate.py'83adding 'nixos_rebuild/models.py'84adding 'nixos_rebuild/nix.py'85adding 'nixos_rebuild/process.py'86adding 'nixos_rebuild/repl.nix.template'87adding 'nixos_rebuild/services.py'88adding 'nixos_rebuild/tmpdir.py'89adding 'nixos_rebuild/utils.py'90adding 'nixos_rebuild-0.0.0.dist-info/METADATA'91adding 'nixos_rebuild-0.0.0.dist-info/WHEEL'92adding 'nixos_rebuild-0.0.0.dist-info/entry_points.txt'93adding 'nixos_rebuild-0.0.0.dist-info/top_level.txt'94adding 'nixos_rebuild-0.0.0.dist-info/RECORD'95removing build/bdist.macosx-14.0-arm64/wheel96Successfully built nixos_rebuild-0.0.0-py3-none-any.whl97Finished creating a wheel...98Finished executing pypaBuildPhase
pythonRuntimeDepsCheckHook
99Executing pythonRuntimeDepsCheck100Checking runtime dependencies for nixos_rebuild-0.0.0-py3-none-any.whl101Finished executing pythonRuntimeDepsCheck
installPhase
102Executing pypaInstallPhase103Successfully installed nixos_rebuild-0.0.0-py3-none-any.whl104Finished executing pypaInstallPhase
pythonOutputDistPhase
105Executing pythonOutputDistPhase106Finished executing pythonOutputDistPhase
fixupPhase
107checking for references to /private/var/tb/7/scratch/27b5d43934e0a5a0/build/ in /nix/store/pb76xbmfk11hvxvil7rvqi0yj0qb1wmw-nixos-rebuild-ng-26.11-dist...108patching script interpreter paths in /nix/store/pb76xbmfk11hvxvil7rvqi0yj0qb1wmw-nixos-rebuild-ng-26.11-dist109checking for references to /private/var/tb/7/scratch/27b5d43934e0a5a0/build/ in /nix/store/l3vm893vn0zjwk5ac2xhm959lrz6v5gk-nixos-rebuild-ng-26.11...110gzipping man pages under /nix/store/l3vm893vn0zjwk5ac2xhm959lrz6v5gk-nixos-rebuild-ng-26.11/share/man/111patching script interpreter paths in /nix/store/l3vm893vn0zjwk5ac2xhm959lrz6v5gk-nixos-rebuild-ng-26.11112stripping (with command strip and flags -S) in /nix/store/l3vm893vn0zjwk5ac2xhm959lrz6v5gk-nixos-rebuild-ng-26.11/lib /nix/store/l3vm893vn0zjwk5ac2xhm959lrz6v5gk-nixos-rebuild-ng-26.11/bin113Rewriting #!/nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.8/bin/python3.14 to #!/nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.8114wrapping `/nix/store/l3vm893vn0zjwk5ac2xhm959lrz6v5gk-nixos-rebuild-ng-26.11/bin/nixos-rebuild'...115Executing pythonRemoveTestsDir116Finished executing pythonRemoveTestsDir
installCheckPhase
117no Makefile or custom installCheckPhase, doing nothing
pythonImportsCheckPhase
118Executing pythonImportsCheckPhase
pytestCheckPhase
119Executing pytestCheckPhase120pytest flags: -m pytest -vv121============================= test session starts ==============================122platform darwin -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0 -- /nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.8/bin/python3.14123cachedir: .pytest_cache124rootdir: /private/var/tb/7/scratch/27b5d43934e0a5a0/build/src125configfile: pyproject.toml126collecting ... collected 85 items127128tests/test_elevate.py::test_no_elevator PASSED [ 1%]129tests/test_elevate.py::test_sudo_elevator PASSED [ 2%]130tests/test_elevate.py::test_sudo_elevator_extra_opts PASSED [ 3%]131tests/test_elevate.py::test_run0_elevator PASSED [ 4%]132tests/test_elevate.py::test_run0_elevator_remote PASSED [ 5%]133tests/test_elevate.py::test_run0_for_target_config PASSED [ 7%]134tests/test_elevate.py::test_elevator_kind PASSED [ 8%]135tests/test_elevate.py::test_with_prompted_password PASSED [ 9%]136tests/test_main.py::test_parse_args_elevate PASSED [ 10%]137tests/test_main.py::test_parse_args PASSED [ 11%]138tests/test_main.py::test_execute_nix_boot PASSED [ 12%]139tests/test_main.py::test_execute_nix_build PASSED [ 14%]140tests/test_main.py::test_execute_nix_build_vm PASSED [ 15%]141tests/test_main.py::test_execute_nix_build_vm_with_bootloader_and_specialisation PASSED [ 16%]142tests/test_main.py::test_execute_nix_build_image PASSED [ 17%]143tests/test_main.py::test_execute_nix_build_image_and_specialisation PASSED [ 18%]144tests/test_main.py::test_execute_nix_build_image_flake PASSED [ 20%]145tests/test_main.py::test_execute_nix_build_image_flake_and_specialisation PASSED [ 21%]146tests/test_main.py::test_execute_nix_switch_flake PASSED [ 22%]147tests/test_main.py::test_execute_nix_switch_build_target_host_custom_profile PASSED [ 23%]148tests/test_main.py::test_execute_nix_switch_flake_target_host PASSED [ 24%]149tests/test_main.py::test_execute_nix_switch_flake_build_host PASSED [ 25%]150tests/test_main.py::test_execute_switch_rollback PASSED [ 27%]151tests/test_main.py::test_execute_build PASSED [ 28%]152tests/test_main.py::test_execute_build_dry_run_build_and_target_remote PASSED [ 29%]153tests/test_main.py::test_execute_test_flake PASSED [ 30%]154tests/test_main.py::test_execute_test_rollback PASSED [ 31%]155tests/test_main.py::test_execute_switch_store_path PASSED [ 32%]156tests/test_main.py::test_execute_switch_store_path_target_host PASSED [ 34%]157tests/test_models.py::test_build_attr_from_arg PASSED [ 35%]158tests/test_models.py::test_build_attr_to_attr PASSED [ 36%]159tests/test_models.py::test_flake_parse PASSED [ 37%]160tests/test_models.py::test_flake_to_attr PASSED [ 38%]161tests/test_models.py::test_flake__str__ PASSED [ 40%]162tests/test_models.py::test_flake_resolve_path_if_exists PASSED [ 41%]163tests/test_models.py::test_flake_from_arg PASSED [ 42%]164tests/test_models.py::test_profile_from_arg PASSED [ 43%]165tests/test_models.py::test_profile_is_custom PASSED [ 44%]166tests/test_models.py::test_grouped_nix_args_flake_build_flags PASSED [ 45%]167tests/test_nix.py::test_build PASSED [ 47%]168tests/test_nix.py::test_build_flake PASSED [ 48%]169tests/test_nix.py::test_build_remote PASSED [ 49%]170tests/test_nix.py::test_build_remote_flake PASSED [ 50%]171tests/test_nix.py::test_copy_closure PASSED [ 51%]172tests/test_nix.py::test_edit PASSED [ 52%]173tests/test_nix.py::test_edit_flake PASSED [ 54%]174tests/test_nix.py::test_get_build_image_variants PASSED [ 55%]175tests/test_nix.py::test_get_build_image_variants_flake PASSED [ 56%]176tests/test_nix.py::test_get_nixpkgs_rev PASSED [ 57%]177tests/test_nix.py::test_get_generations PASSED [ 58%]178tests/test_nix.py::test_get_generations_with_profile PASSED [ 60%]179tests/test_nix.py::test_get_generations_from_nix_env PASSED [ 61%]180tests/test_nix.py::test_list_generations PASSED [ 62%]181tests/test_nix.py::test_diff_closures PASSED [ 63%]182tests/test_nix.py::test_repl PASSED [ 64%]183tests/test_nix.py::test_repl_flake PASSED [ 65%]184tests/test_nix.py::test_rollback PASSED [ 67%]185tests/test_nix.py::test_rollback_temporary_profile PASSED [ 68%]186tests/test_nix.py::test_set_profile PASSED [ 69%]187tests/test_nix.py::test_switch_to_configuration_without_systemd_run PASSED [ 70%]188tests/test_nix.py::test_switch_to_configuration_without_systemd_run_env_var PASSED [ 71%]189tests/test_nix.py::test_switch_to_configuration_with_systemd_run PASSED [ 72%]190tests/test_nix.py::test_systemd_run_supports_output_cat[systemd 260 (260.1)\n-False] PASSED [ 74%]191tests/test_nix.py::test_systemd_run_supports_output_cat[systemd 261 (261.2)\n+PAM +AUDIT -SELINUX +APPARMOR +IMA +IPE +SMACK +SECCOMP +GCRYPT -GNUTLS +OPENSSL +ACL +BLKID +CURL +ELFUTILS +FIDO2 +IDN2 +KMOD +LIBCRYPTSETUP +LIBCRYPTSETUP_PLUGINS +LIBFDISK +PCRE2 +PWQUALITY +P11KIT +QRENCODE +TPM2 +BZIP2 +LZ4 +XZ +ZLIB +ZSTD +BPF_FRAMEWORK -BTF -XKBCOMMON +UTMP +LIBARCHIVE\n-True] PASSED [ 75%]192tests/test_nix.py::test_systemd_run_supports_output_cat[systemd 270 (270.2)\n-True] PASSED [ 76%]193tests/test_nix.py::test_systemd_run_supports_output_cat[unexpected output\n-False] PASSED [ 77%]194tests/test_nix.py::test_upgrade_channels PASSED [ 78%]195tests/test_process.py::test_remote_env_shell_argv PASSED [ 80%]196tests/test_process.py::test_run_wrapper PASSED [ 81%]197tests/test_process.py::test__kill_long_running_ssh_process PASSED [ 82%]198tests/test_process.py::test_remote_from_name PASSED [ 83%]199tests/test_process.py::test_ssh_default_opts PASSED [ 84%]200tests/test_process.py::test_run_wrapper_ssh_default_opts_override PASSED [ 85%]201tests/test_process.py::test_ssh_host PASSED [ 87%]202tests/test_process.py::test_run_wrapper_run0 PASSED [ 88%]203tests/test_process.py::test_custom_sudo_args PASSED [ 89%]204tests/test_services.py::test__get_system_attr PASSED [ 90%]205tests/test_services.py::test__get_system_attr__build_image PASSED [ 91%]206tests/test_services.py::test_reexec PASSED [ 92%]207tests/test_services.py::test_reexec_flake PASSED [ 94%]208tests/test_services.py::test_reexec_skip_if_already_reexec PASSED [ 95%]209tests/test_tmpdir.py::test_make_tmpdir FAILED [ 96%]210tests/test_utils.py::test_dict_to_flags PASSED [ 97%]211tests/test_utils.py::test_remap_dicts PASSED [ 98%]212tests/test_utils.py::test_tabulate PASSED [100%]213214=================================== FAILURES ===================================215_______________________________ test_make_tmpdir _______________________________216217 def test_make_tmpdir() -> None:218 def assert_tmpdir(tmp: Path) -> None:219 assert tmp.exists()220 assert tmp.is_dir()221 assert len(os.fsencode(str(tmp))) <= MAX_TMPDIR_LENGTH222 223 # Basic test: whatever the default system temp dir happens to be.224 tmpdir = make_tmpdir()225 tmp = Path(tmpdir.name)226 227 assert_tmpdir(tmp)228 229 # Test with a short system temp dir. We should use it unmodified.230 short_tempdir = "/tmp/not-too-long"231 with tempfile_tempdir(short_tempdir):232> tmpdir = make_tmpdir()233 ^^^^^^^^^^^^^234235tests/test_tmpdir.py:37: 236_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 237nixos_rebuild/tmpdir.py:66: in make_tmpdir238 tmpdir = TemporaryDirectory(prefix=prefix)239 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^240/nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.8/lib/python3.14/tempfile.py:907: in __init__241 self.name = mkdtemp(suffix, prefix, dir)242 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^243_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 244245suffix = '', prefix = 'nixos-rebuild.', dir = '/tmp/not-too-long'246247 def mkdtemp(suffix=None, prefix=None, dir=None):248 """User-callable function to create and return a unique temporary249 directory. The return value is the pathname of the directory.250 251 Arguments are as for mkstemp, except that the 'text' argument is252 not accepted.253 254 The directory is readable, writable, and searchable only by the255 creating user.256 257 Caller is responsible for deleting the directory when done with it.258 """259 260 prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)261 262 names = _get_candidate_names()263 if output_type is bytes:264 names = map(_os.fsencode, names)265 266 for seq in range(TMP_MAX):267 name = next(names)268 file = _os.path.join(dir, prefix + name + suffix)269 _sys.audit("tempfile.mkdtemp", file)270 try:271> _os.mkdir(file, 0o700)272E PermissionError: [Errno 13] Permission denied: '/tmp/not-too-long/nixos-rebuild.x42agl70'273274/nix/store/0jb1qn7qnpbz8774mq5k2c1p84gp0x76-python3-3.14.8/lib/python3.14/tempfile.py:381: PermissionError275------------------------------ Captured log call -------------------------------276DEBUG nixos_rebuild.tmpdir:tmpdir.py:69 tempdir '<TemporaryDirectory '/private/var/tb/7/scratch/27b5d43934e0a5a0/build/nixos-rebuild.7b4ewfca'>' exceeds 45 bytes limit, defaulting to '<TemporaryDirectory '/tmp/nixos-rebuild.vt5qmhe6'>' instead277=========================== short test summary info ============================278FAILED tests/test_tmpdir.py::test_make_tmpdir - PermissionError: [Errno 13] Permission denied: '/tmp/not-too-long/nixos-rebuild.x42agl70'279========================= 1 failed, 84 passed in 0.59s =========================