* Package: app-admin/yadm-3.2.1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Checking whether python3_10 is suitable ... * >=dev-lang/python-3.10.0_p1-r1:3.10 ... [ ok ] * python_check_deps ... * dev-python/pytest[python_targets_python3_10(-)] ... [ !! ] [ !! ] * Checking whether python3_9 is suitable ... * >=dev-lang/python-3.9.9-r1:3.9 ... [ ok ] * python_check_deps ... * dev-python/pytest[python_targets_python3_9(-)] ... [ ok ] [ ok ] * Using python3.9 to build (via PYTHON_COMPAT iteration) >>> Unpacking source... >>> Unpacking yadm-3.2.1.tar.gz to /var/tmp/portage/app-admin/yadm-3.2.1/work >>> Source unpacked in /var/tmp/portage/app-admin/yadm-3.2.1/work >>> Preparing source in /var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1 ... make -j4 yadm.md make: 'yadm.md' is up to date. >>> Source compiled. >>> Test phase: app-admin/yadm-3.2.1 python3.9 -m pytest -vv -ra -l -Wdefault --color=no -p no:cov -p no:flake8 -p no:flakes -p no:pylint --deselect test/test_alt.py --deselect test/test_compat_jinja.py --deselect test/test_unit_template_j2.py --deselect test/test_syntax.py --deselect test/test_upgrade.py::test_upgrade --deselect test/test_compat_alt.py --deselect test/test_unit_template_esh.py --deselect test/test_encryption.py::test_symmetric_encrypt[clean-encrypt_exists-bad_phrase] --deselect test/test_encryption.py::test_symmetric_encrypt[overwrite-encrypt_exists-bad_phrase] ============================= test session starts ============================== platform linux -- Python 3.9.12, pytest-7.1.1, pluggy-1.0.0 -- /usr/bin/python3.9 cachedir: /var/tmp/portage/app-admin/yadm-3.2.1/temp rootdir: /var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1, configfile: pytest.ini plugins: pkgcore-0.12.10, localserver-0.5.1, tornasync-0.6.0.post2, datadir-1.3.1, verbose-parametrize-1.7.0, pyfakefs-4.5.6, mock-3.7.0, console-scripts-1.3.1, Faker-13.3.3, ament-lint-0.12.1, ament-flake8-0.12.1, ament-pep257-0.12.1, ament-copyright-0.12.1, shutil-1.7.0, virtualenv-1.7.0, typeguard-2.13.3, freezegun-0.4.2, plus-0.2, bdd-5.0.0, env-0.6.2, helpers-namespace-2021.3.24, timeout-2.1.0, pytest_codeblocks-0.14.0, markdown-1.0.2, asyncio-0.18.3, services-2.2.1, anyio-3.5.0 asyncio: mode=legacy collected 547 items / 75 deselected / 472 selected test/test_alt_copy.py::test_alt_copy[unset] PASSED [ 0%] test/test_alt_copy.py::test_alt_copy[true] PASSED [ 0%] test/test_alt_copy.py::test_alt_copy[false] PASSED [ 0%] test/test_alt_copy.py::test_alt_copy[pre-existing symlink] PASSED [ 0%] test/test_alt_copy.py::test_alt_copy[pre-existing file] PASSED [ 1%] test/test_assert_private_dirs.py::test_pdirs_missing[home] PASSED [ 1%] test/test_assert_private_dirs.py::test_pdirs_missing[not-home] PASSED [ 1%] test/test_assert_private_dirs.py::test_pdirs_missing_apd_false PASSED [ 1%] test/test_assert_private_dirs.py::test_pdirs_exist_apd_false PASSED [ 1%] test/test_bootstrap.py::test_bootstrap[missing] PASSED [ 2%] test/test_bootstrap.py::test_bootstrap[not executable] PASSED [ 2%] test/test_bootstrap.py::test_bootstrap[executable] PASSED [ 2%] test/test_clean.py::test_clean_command PASSED [ 2%] test/test_clone.py::test_clone[bad remote] PASSED [ 2%] test/test_clone.py::test_clone[simple] PASSED [ 3%] test/test_clone.py::test_clone[existing repo] PASSED [ 3%] test/test_clone.py::test_clone[-f] PASSED [ 3%] test/test_clone.py::test_clone[conflicts] PASSED [ 3%] test/test_clone.py::test_clone_bootstrap[force, missing] PASSED [ 4%] test/test_clone.py::test_clone_bootstrap[force, existing] PASSED [ 4%] test/test_clone.py::test_clone_bootstrap[prevent] PASSED [ 4%] test/test_clone.py::test_clone_bootstrap[existing, answer n] PASSED [ 4%] test/test_clone.py::test_clone_bootstrap[existing, answer y] PASSED [ 4%] test/test_clone.py::test_clone_perms[open ssh, not tracked] PASSED [ 5%] test/test_clone.py::test_clone_perms[open gnupg, not tracked] PASSED [ 5%] test/test_clone.py::test_clone_perms[open ssh, tracked] PASSED [ 5%] test/test_clone.py::test_clone_perms[open gnupg, tracked] PASSED [ 5%] test/test_clone.py::test_clone_perms[missing ssh, tracked] PASSED [ 5%] test/test_clone.py::test_clone_perms[missing gnupg, tracked] PASSED [ 6%] test/test_clone.py::test_alternate_branch[master] PASSED [ 6%] test/test_clone.py::test_alternate_branch[default] PASSED [ 6%] test/test_clone.py::test_alternate_branch[valid] PASSED [ 6%] test/test_clone.py::test_alternate_branch[invalid] PASSED [ 6%] test/test_clone.py::test_no_repo PASSED [ 7%] test/test_config.py::test_config_no_params PASSED [ 7%] test/test_config.py::test_config_read_missing PASSED [ 7%] test/test_config.py::test_config_write PASSED [ 7%] test/test_config.py::test_config_read PASSED [ 8%] test/test_config.py::test_config_update PASSED [ 8%] test/test_config.py::test_config_local_read PASSED [ 8%] test/test_config.py::test_config_local_write PASSED [ 8%] test/test_config.py::test_config_without_parent_directory PASSED [ 8%] test/test_encryption.py::test_symmetric_encrypt[clean-encrypt_exists-good_phrase] PASSED [ 9%] test/test_encryption.py::test_symmetric_encrypt[clean-encrypt_missing-good_phrase] PASSED [ 9%] test/test_encryption.py::test_symmetric_encrypt[clean-encrypt_missing-bad_phrase] PASSED [ 9%] test/test_encryption.py::test_symmetric_encrypt[overwrite-encrypt_exists-good_phrase] PASSED [ 9%] test/test_encryption.py::test_symmetric_encrypt[overwrite-encrypt_missing-good_phrase] PASSED [ 9%] test/test_encryption.py::test_symmetric_encrypt[overwrite-encrypt_missing-bad_phrase] PASSED [ 10%] test/test_encryption.py::test_symmetric_decrypt[decrypt-archive_exists-good_phrase] PASSED [ 10%] test/test_encryption.py::test_symmetric_decrypt[decrypt-archive_exists-bad_phrase] PASSED [ 10%] test/test_encryption.py::test_symmetric_decrypt[decrypt-archive_missing-good_phrase] PASSED [ 10%] test/test_encryption.py::test_symmetric_decrypt[decrypt-archive_missing-bad_phrase] PASSED [ 11%] test/test_encryption.py::test_symmetric_decrypt[list-archive_exists-good_phrase] PASSED [ 11%] test/test_encryption.py::test_symmetric_decrypt[list-archive_exists-bad_phrase] PASSED [ 11%] test/test_encryption.py::test_symmetric_decrypt[list-archive_missing-good_phrase] PASSED [ 11%] test/test_encryption.py::test_symmetric_decrypt[list-archive_missing-bad_phrase] PASSED [ 11%] test/test_encryption.py::test_asymmetric_encrypt[clean-key_exists-no_ask] PASSED [ 12%] test/test_encryption.py::test_asymmetric_encrypt[clean-key_exists-ask] PASSED [ 12%] test/test_encryption.py::test_asymmetric_encrypt[clean-key_missing-no_ask] PASSED [ 12%] test/test_encryption.py::test_asymmetric_encrypt[clean-key_missing-ask] PASSED [ 12%] test/test_encryption.py::test_asymmetric_encrypt[overwrite-key_exists-no_ask] PASSED [ 12%] test/test_encryption.py::test_asymmetric_encrypt[overwrite-key_exists-ask] PASSED [ 13%] test/test_encryption.py::test_asymmetric_encrypt[overwrite-key_missing-no_ask] PASSED [ 13%] test/test_encryption.py::test_asymmetric_encrypt[overwrite-key_missing-ask] PASSED [ 13%] test/test_encryption.py::test_multi_key PASSED [ 13%] test/test_encryption.py::test_asymmetric_decrypt[decrypt-key_exists] PASSED [ 13%] test/test_encryption.py::test_asymmetric_decrypt[decrypt-key_missing] PASSED [ 14%] test/test_encryption.py::test_asymmetric_decrypt[list-key_exists] PASSED [ 14%] test/test_encryption.py::test_asymmetric_decrypt[list-key_missing] PASSED [ 14%] test/test_encryption.py::test_offer_to_add[tracked] PASSED [ 14%] test/test_encryption.py::test_offer_to_add[untracked_answer_y] FAILED [ 15%] test/test_encryption.py::test_offer_to_add[untracked_answer_n] FAILED [ 15%] test/test_encryption.py::test_encrypt_added_to_exclude PASSED [ 15%] test/test_enter.py::test_enter[shell-missing] PASSED [ 15%] test/test_enter.py::test_enter[shell-empty] PASSED [ 15%] test/test_enter.py::test_enter[shell-env] PASSED [ 16%] test/test_enter.py::test_enter[shell-noexec] PASSED [ 16%] test/test_enter.py::test_enter_shell_ops[term-empty-no-cmd-bash] PASSED [ 16%] test/test_enter.py::test_enter_shell_ops[term-empty-no-cmd-csh] PASSED [ 16%] test/test_enter.py::test_enter_shell_ops[term-empty-no-cmd-zsh] PASSED [ 16%] test/test_enter.py::test_enter_shell_ops[term-empty-cmd-bash] PASSED [ 17%] test/test_enter.py::test_enter_shell_ops[term-empty-cmd-csh] PASSED [ 17%] test/test_enter.py::test_enter_shell_ops[term-empty-cmd-zsh] PASSED [ 17%] test/test_enter.py::test_enter_shell_ops[term-empty-cmd-bad-exit-bash] PASSED [ 17%] test/test_enter.py::test_enter_shell_ops[term-empty-cmd-bad-exit-csh] PASSED [ 18%] test/test_enter.py::test_enter_shell_ops[term-empty-cmd-bad-exit-zsh] PASSED [ 18%] test/test_enter.py::test_enter_shell_ops[term-dumb-no-cmd-bash] PASSED [ 18%] test/test_enter.py::test_enter_shell_ops[term-dumb-no-cmd-csh] PASSED [ 18%] test/test_enter.py::test_enter_shell_ops[term-dumb-no-cmd-zsh] PASSED [ 18%] test/test_enter.py::test_enter_shell_ops[term-dumb-cmd-bash] PASSED [ 19%] test/test_enter.py::test_enter_shell_ops[term-dumb-cmd-csh] PASSED [ 19%] test/test_enter.py::test_enter_shell_ops[term-dumb-cmd-zsh] PASSED [ 19%] test/test_enter.py::test_enter_shell_ops[term-dumb-cmd-bad-exit-bash] PASSED [ 19%] test/test_enter.py::test_enter_shell_ops[term-dumb-cmd-bad-exit-csh] PASSED [ 19%] test/test_enter.py::test_enter_shell_ops[term-dumb-cmd-bad-exit-zsh] PASSED [ 20%] test/test_ext_crypt.py::test_ext_encryption[git-crypt-not-installed] PASSED [ 20%] test/test_ext_crypt.py::test_ext_encryption[git-crypt-installed] PASSED [ 20%] test/test_ext_crypt.py::test_ext_encryption[git-crypt-installed-but-failed] PASSED [ 20%] test/test_ext_crypt.py::test_ext_encryption[transcrypt-not-installed] PASSED [ 20%] test/test_ext_crypt.py::test_ext_encryption[transcrypt-installed] PASSED [ 21%] test/test_ext_crypt.py::test_ext_encryption[transcrypt-installed-but-failed] PASSED [ 21%] test/test_git.py::test_git PASSED [ 21%] test/test_help.py::test_missing_command PASSED [ 21%] test/test_help.py::test_help_command[--help] PASSED [ 22%] test/test_help.py::test_help_command[help] PASSED [ 22%] test/test_hooks.py::test_hooks[--version-no-hooks] PASSED [ 22%] test/test_hooks.py::test_hooks[--version-pre-success] PASSED [ 22%] test/test_hooks.py::test_hooks[--version-pre-fail] PASSED [ 22%] test/test_hooks.py::test_hooks[--version-post-success] PASSED [ 23%] test/test_hooks.py::test_hooks[--version-post-fail] PASSED [ 23%] test/test_hooks.py::test_hooks[--version-pre-post-success] PASSED [ 23%] test/test_hooks.py::test_hooks[--version-pre-post-fail] PASSED [ 23%] test/test_hooks.py::test_hooks[version-no-hooks] PASSED [ 23%] test/test_hooks.py::test_hooks[version-pre-success] PASSED [ 24%] test/test_hooks.py::test_hooks[version-pre-fail] PASSED [ 24%] test/test_hooks.py::test_hooks[version-post-success] PASSED [ 24%] test/test_hooks.py::test_hooks[version-post-fail] PASSED [ 24%] test/test_hooks.py::test_hooks[version-pre-post-success] PASSED [ 25%] test/test_hooks.py::test_hooks[version-pre-post-fail] PASSED [ 25%] test/test_hooks.py::test_hook_env PASSED [ 25%] test/test_hooks.py::test_escaped PASSED [ 25%] test/test_hooks.py::test_executable[exec] PASSED [ 25%] test/test_hooks.py::test_executable[no-exec] PASSED [ 26%] test/test_hooks.py::test_executable[mingw] PASSED [ 26%] test/test_init.py::test_init[simple] PASSED [ 26%] test/test_init.py::test_init[-w] PASSED [ 26%] test/test_init.py::test_init[existing repo] PASSED [ 26%] test/test_init.py::test_init[-f] PASSED [ 27%] test/test_init.py::test_init[-w & -f] PASSED [ 27%] test/test_introspect.py::test_introspect_category[] PASSED [ 27%] test/test_introspect.py::test_introspect_category[invalid] PASSED [ 27%] test/test_introspect.py::test_introspect_category[commands] PASSED [ 27%] test/test_introspect.py::test_introspect_category[configs] PASSED [ 28%] test/test_introspect.py::test_introspect_category[repo] PASSED [ 28%] test/test_introspect.py::test_introspect_category[switches] PASSED [ 28%] test/test_list.py::test_list[work] PASSED [ 28%] test/test_list.py::test_list[outside] PASSED [ 29%] test/test_list.py::test_list[subdir] PASSED [ 29%] test/test_perms.py::test_perms[notest] PASSED [ 29%] test/test_perms.py::test_perms[unset] PASSED [ 29%] test/test_perms.py::test_perms[true] PASSED [ 29%] test/test_perms.py::test_perms[false] PASSED [ 30%] test/test_perms.py::test_perms_control[None-None] PASSED [ 30%] test/test_perms.py::test_perms_control[None-true] PASSED [ 30%] test/test_perms.py::test_perms_control[None-false] PASSED [ 30%] test/test_perms.py::test_perms_control[true-None] PASSED [ 30%] test/test_perms.py::test_perms_control[true-true] PASSED [ 31%] test/test_perms.py::test_perms_control[true-false] PASSED [ 31%] test/test_perms.py::test_perms_control[false-None] PASSED [ 31%] test/test_perms.py::test_perms_control[false-true] PASSED [ 31%] test/test_perms.py::test_perms_control[false-false] PASSED [ 31%] test/test_unit_bootstrap_available.py::test_bootstrap_missing PASSED [ 32%] test/test_unit_bootstrap_available.py::test_bootstrap_no_exec PASSED [ 32%] test/test_unit_bootstrap_available.py::test_bootstrap_exec PASSED [ 32%] test/test_unit_choose_template_cmd.py::test_kind_default[awk-] PASSED [ 32%] test/test_unit_choose_template_cmd.py::test_kind_default[awk-default] PASSED [ 33%] test/test_unit_choose_template_cmd.py::test_kind_default[awk-other] PASSED [ 33%] test/test_unit_choose_template_cmd.py::test_kind_default[no-awk-] PASSED [ 33%] test/test_unit_choose_template_cmd.py::test_kind_default[no-awk-default] PASSED [ 33%] test/test_unit_choose_template_cmd.py::test_kind_default[no-awk-other] PASSED [ 33%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[j2cli-envtpl-envtpl] PASSED [ 34%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[j2cli-envtpl-j2cli] PASSED [ 34%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[j2cli-envtpl-j2] PASSED [ 34%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[j2cli-envtpl-other] PASSED [ 34%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[j2cli-no-envtpl-envtpl] PASSED [ 34%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[j2cli-no-envtpl-j2cli] PASSED [ 35%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[j2cli-no-envtpl-j2] PASSED [ 35%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[j2cli-no-envtpl-other] PASSED [ 35%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[no-j2cli-envtpl-envtpl] PASSED [ 35%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[no-j2cli-envtpl-j2cli] PASSED [ 36%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[no-j2cli-envtpl-j2] PASSED [ 36%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[no-j2cli-envtpl-other] PASSED [ 36%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[no-j2cli-no-envtpl-envtpl] PASSED [ 36%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[no-j2cli-no-envtpl-j2cli] PASSED [ 36%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[no-j2cli-no-envtpl-j2] PASSED [ 37%] test/test_unit_choose_template_cmd.py::test_kind_j2cli_envtpl[no-j2cli-no-envtpl-other] PASSED [ 37%] test/test_unit_configure_paths.py::test_config[cwd-default] PASSED [ 37%] test/test_unit_configure_paths.py::test_config[cwd-override yadm dir] PASSED [ 37%] test/test_unit_configure_paths.py::test_config[cwd-override yadm data] PASSED [ 37%] test/test_unit_configure_paths.py::test_config[cwd-override repo] PASSED [ 38%] test/test_unit_configure_paths.py::test_config[cwd-override config] PASSED [ 38%] test/test_unit_configure_paths.py::test_config[cwd-override encrypt] PASSED [ 38%] test/test_unit_configure_paths.py::test_config[cwd-override archive] PASSED [ 38%] test/test_unit_configure_paths.py::test_config[cwd-override bootstrap] PASSED [ 38%] test/test_unit_configure_paths.py::test_config[./relative-default] PASSED [ 39%] test/test_unit_configure_paths.py::test_config[./relative-override yadm dir] PASSED [ 39%] test/test_unit_configure_paths.py::test_config[./relative-override yadm data] PASSED [ 39%] test/test_unit_configure_paths.py::test_config[./relative-override repo] PASSED [ 39%] test/test_unit_configure_paths.py::test_config[./relative-override config] PASSED [ 40%] test/test_unit_configure_paths.py::test_config[./relative-override encrypt] PASSED [ 40%] test/test_unit_configure_paths.py::test_config[./relative-override archive] PASSED [ 40%] test/test_unit_configure_paths.py::test_config[./relative-override bootstrap] PASSED [ 40%] test/test_unit_configure_paths.py::test_config[relative-default] PASSED [ 40%] test/test_unit_configure_paths.py::test_config[relative-override yadm dir] PASSED [ 41%] test/test_unit_configure_paths.py::test_config[relative-override yadm data] PASSED [ 41%] test/test_unit_configure_paths.py::test_config[relative-override repo] PASSED [ 41%] test/test_unit_configure_paths.py::test_config[relative-override config] PASSED [ 41%] test/test_unit_configure_paths.py::test_config[relative-override encrypt] PASSED [ 41%] test/test_unit_configure_paths.py::test_config[relative-override archive] PASSED [ 42%] test/test_unit_configure_paths.py::test_config[relative-override bootstrap] PASSED [ 42%] test/test_unit_configure_paths.py::test_config[hidden relative-default] PASSED [ 42%] test/test_unit_configure_paths.py::test_config[hidden relative-override yadm dir] PASSED [ 42%] test/test_unit_configure_paths.py::test_config[hidden relative-override yadm data] PASSED [ 43%] test/test_unit_configure_paths.py::test_config[hidden relative-override repo] PASSED [ 43%] test/test_unit_configure_paths.py::test_config[hidden relative-override config] PASSED [ 43%] test/test_unit_configure_paths.py::test_config[hidden relative-override encrypt] PASSED [ 43%] test/test_unit_configure_paths.py::test_config[hidden relative-override archive] PASSED [ 43%] test/test_unit_configure_paths.py::test_config[hidden relative-override bootstrap] PASSED [ 44%] test/test_unit_configure_paths.py::test_config[absolute-default] PASSED [ 44%] test/test_unit_configure_paths.py::test_config[absolute-override yadm dir] PASSED [ 44%] test/test_unit_configure_paths.py::test_config[absolute-override yadm data] PASSED [ 44%] test/test_unit_configure_paths.py::test_config[absolute-override repo] PASSED [ 44%] test/test_unit_configure_paths.py::test_config[absolute-override config] PASSED [ 45%] test/test_unit_configure_paths.py::test_config[absolute-override encrypt] PASSED [ 45%] test/test_unit_configure_paths.py::test_config[absolute-override archive] PASSED [ 45%] test/test_unit_configure_paths.py::test_config[absolute-override bootstrap] PASSED [ 45%] test/test_unit_copy_perms.py::test_copy_perms[normal] PASSED [ 45%] test/test_unit_copy_perms.py::test_copy_perms[stat broken] PASSED [ 46%] test/test_unit_copy_perms.py::test_get_mode[octal] PASSED [ 46%] test/test_unit_copy_perms.py::test_get_mode[non-octal] PASSED [ 46%] test/test_unit_encryption.py::test_get_cipher[default] PASSED [ 46%] test/test_unit_encryption.py::test_get_cipher[override] PASSED [ 47%] test/test_unit_encryption.py::test_encrypt_decrypt[_encrypt_to-gpg] PASSED [ 47%] test/test_unit_encryption.py::test_encrypt_decrypt[_encrypt_to-openssl] PASSED [ 47%] test/test_unit_encryption.py::test_encrypt_decrypt[_encrypt_to-bad] PASSED [ 47%] test/test_unit_encryption.py::test_encrypt_decrypt[_decrypt_from-gpg] PASSED [ 47%] test/test_unit_encryption.py::test_encrypt_decrypt[_decrypt_from-openssl] PASSED [ 48%] test/test_unit_encryption.py::test_encrypt_decrypt[_decrypt_from-bad] PASSED [ 48%] test/test_unit_encryption.py::test_get_openssl_ciphername[default] PASSED [ 48%] test/test_unit_encryption.py::test_get_openssl_ciphername[override] PASSED [ 48%] test/test_unit_encryption.py::test_set_openssl_options[old] PASSED [ 48%] test/test_unit_encryption.py::test_set_openssl_options[not-old] PASSED [ 49%] test/test_unit_encryption.py::test_set_gpg_options[ASK] PASSED [ 49%] test/test_unit_encryption.py::test_set_gpg_options[present] PASSED [ 49%] test/test_unit_encryption.py::test_set_gpg_options[] PASSED [ 49%] test/test_unit_exclude_encrypted.py::test_exclude_encrypted[enabled-encrypt-missing] PASSED [ 50%] test/test_unit_exclude_encrypted.py::test_exclude_encrypted[enabled-encrypt-outdated] PASSED [ 50%] test/test_unit_exclude_encrypted.py::test_exclude_encrypted[enabled-encrypt-up-to-date] PASSED [ 50%] test/test_unit_exclude_encrypted.py::test_exclude_encrypted[enabled-no-encrypt-missing] PASSED [ 50%] test/test_unit_exclude_encrypted.py::test_exclude_encrypted[enabled-no-encrypt-outdated] PASSED [ 50%] test/test_unit_exclude_encrypted.py::test_exclude_encrypted[enabled-no-encrypt-up-to-date] PASSED [ 51%] test/test_unit_exclude_encrypted.py::test_exclude_encrypted[disabled-encrypt-missing] PASSED [ 51%] test/test_unit_exclude_encrypted.py::test_exclude_encrypted[disabled-encrypt-outdated] PASSED [ 51%] test/test_unit_exclude_encrypted.py::test_exclude_encrypted[disabled-encrypt-up-to-date] PASSED [ 51%] test/test_unit_exclude_encrypted.py::test_exclude_encrypted[disabled-no-encrypt-missing] PASSED [ 51%] test/test_unit_exclude_encrypted.py::test_exclude_encrypted[disabled-no-encrypt-outdated] PASSED [ 52%] test/test_unit_exclude_encrypted.py::test_exclude_encrypted[disabled-no-encrypt-up-to-date] PASSED [ 52%] test/test_unit_issue_legacy_path_warning.py::test_legacy_warning[upgrade-override-None] PASSED [ 52%] test/test_unit_issue_legacy_path_warning.py::test_legacy_warning[upgrade-override-repo.git] PASSED [ 52%] test/test_unit_issue_legacy_path_warning.py::test_legacy_warning[upgrade-override-files.gpg] PASSED [ 52%] test/test_unit_issue_legacy_path_warning.py::test_legacy_warning[upgrade-no-override-None] PASSED [ 53%] test/test_unit_issue_legacy_path_warning.py::test_legacy_warning[upgrade-no-override-repo.git] PASSED [ 53%] test/test_unit_issue_legacy_path_warning.py::test_legacy_warning[upgrade-no-override-files.gpg] PASSED [ 53%] test/test_unit_issue_legacy_path_warning.py::test_legacy_warning[no-upgrade-override-None] PASSED [ 53%] test/test_unit_issue_legacy_path_warning.py::test_legacy_warning[no-upgrade-override-repo.git] PASSED [ 54%] test/test_unit_issue_legacy_path_warning.py::test_legacy_warning[no-upgrade-override-files.gpg] PASSED [ 54%] test/test_unit_issue_legacy_path_warning.py::test_legacy_warning[no-upgrade-no-override-None] PASSED [ 54%] test/test_unit_issue_legacy_path_warning.py::test_legacy_warning[no-upgrade-no-override-repo.git] PASSED [ 54%] test/test_unit_issue_legacy_path_warning.py::test_legacy_warning[no-upgrade-no-override-files.gpg] PASSED [ 54%] test/test_unit_parse_encrypt.py::test_not_called PASSED [ 55%] test/test_unit_parse_encrypt.py::test_short_circuit PASSED [ 55%] test/test_unit_parse_encrypt.py::test_empty[missing] PASSED [ 55%] test/test_unit_parse_encrypt.py::test_empty[empty] PASSED [ 55%] test/test_unit_parse_encrypt.py::test_file_parse_encrypt PASSED [ 55%] test/test_unit_private_dirs.py::test_relative_path[all-gnupghome-set] PASSED [ 56%] test/test_unit_private_dirs.py::test_relative_path[all-gnupghome-unset] PASSED [ 56%] test/test_unit_private_dirs.py::test_relative_path[gnupg-gnupghome-set] PASSED [ 56%] test/test_unit_private_dirs.py::test_relative_path[gnupg-gnupghome-unset] PASSED [ 56%] test/test_unit_query_distro.py::test_query_distro[lsb_release] PASSED [ 56%] test/test_unit_query_distro.py::test_query_distro[os-release] PASSED [ 57%] test/test_unit_query_distro.py::test_query_distro[os-release-quotes] PASSED [ 57%] test/test_unit_query_distro.py::test_query_distro[missing] PASSED [ 57%] test/test_unit_query_distro_family.py::test_query_distro_family[os-release] PASSED [ 57%] test/test_unit_query_distro_family.py::test_query_distro_family[os-release-quotes] PASSED [ 58%] test/test_unit_query_distro_family.py::test_query_distro_family[missing] PASSED [ 58%] test/test_unit_record_score.py::test_dont_record_zeros PASSED [ 58%] test/test_unit_record_score.py::test_new_scores PASSED [ 58%] test/test_unit_record_score.py::test_existing_scores[lower] PASSED [ 58%] test/test_unit_record_score.py::test_existing_scores[equal] PASSED [ 59%] test/test_unit_record_score.py::test_existing_scores[higher] PASSED [ 59%] test/test_unit_record_score.py::test_existing_template PASSED [ 59%] test/test_unit_record_score.py::test_config_first PASSED [ 59%] test/test_unit_record_template.py::test_new_template PASSED [ 59%] test/test_unit_record_template.py::test_existing_template PASSED [ 60%] test/test_unit_relative_path.py::test_relative_path[/A/B/C-/A-../..] PASSED [ 60%] test/test_unit_relative_path.py::test_relative_path[/A/B/C-/A/B-..] PASSED [ 60%] test/test_unit_relative_path.py::test_relative_path[/A/B/C-/A/B/C-] PASSED [ 60%] test/test_unit_relative_path.py::test_relative_path[/A/B/C-/A/B/C/D-D] PASSED [ 61%] test/test_unit_relative_path.py::test_relative_path[/A/B/C-/A/B/C/D/E-D/E] PASSED [ 61%] test/test_unit_relative_path.py::test_relative_path[/A/B/C-/A/B/D-../D] PASSED [ 61%] test/test_unit_relative_path.py::test_relative_path[/A/B/C-/A/B/D/E-../D/E] PASSED [ 61%] test/test_unit_relative_path.py::test_relative_path[/A/B/C-/A/D-../../D] PASSED [ 61%] test/test_unit_relative_path.py::test_relative_path[/A/B/C-/A/D/E-../../D/E] PASSED [ 62%] test/test_unit_relative_path.py::test_relative_path[/A/B/C-/D/E/F-../../../D/E/F] PASSED [ 62%] test/test_unit_remove_stale_links.py::test_remove_stale_links[file-True] PASSED [ 62%] test/test_unit_remove_stale_links.py::test_remove_stale_links[file-False] PASSED [ 62%] test/test_unit_remove_stale_links.py::test_remove_stale_links[symlink-True] PASSED [ 62%] test/test_unit_remove_stale_links.py::test_remove_stale_links[symlink-False] PASSED [ 63%] test/test_unit_report_invalid_alts.py::test_report_invalid_alts[prev-valid] PASSED [ 63%] test/test_unit_report_invalid_alts.py::test_report_invalid_alts[prev-no_valid] PASSED [ 63%] test/test_unit_report_invalid_alts.py::test_report_invalid_alts[no_prev-valid] PASSED [ 63%] test/test_unit_report_invalid_alts.py::test_report_invalid_alts[no_prev-no_valid] PASSED [ 63%] test/test_unit_score_file.py::test_score_values[user-hostname-class-distro-system-arch-default] PASSED [ 64%] test/test_unit_score_file.py::test_score_values[user-hostname-class-distro-system-arch-no-default] PASSED [ 64%] test/test_unit_score_file.py::test_score_values[user-hostname-class-distro-system-no-arch-default] PASSED [ 64%] test/test_unit_score_file.py::test_score_values[user-hostname-class-distro-system-no-arch-no-default] PASSED [ 64%] test/test_unit_score_file.py::test_score_values[user-hostname-class-distro-no-system-arch-default] PASSED [ 65%] test/test_unit_score_file.py::test_score_values[user-hostname-class-distro-no-system-arch-no-default] PASSED [ 65%] test/test_unit_score_file.py::test_score_values[user-hostname-class-distro-no-system-no-arch-default] PASSED [ 65%] test/test_unit_score_file.py::test_score_values[user-hostname-class-distro-no-system-no-arch-no-default] PASSED [ 65%] test/test_unit_score_file.py::test_score_values[user-hostname-class-no-distro-system-arch-default] PASSED [ 65%] test/test_unit_score_file.py::test_score_values[user-hostname-class-no-distro-system-arch-no-default] PASSED [ 66%] test/test_unit_score_file.py::test_score_values[user-hostname-class-no-distro-system-no-arch-default] PASSED [ 66%] test/test_unit_score_file.py::test_score_values[user-hostname-class-no-distro-system-no-arch-no-default] PASSED [ 66%] test/test_unit_score_file.py::test_score_values[user-hostname-class-no-distro-no-system-arch-default] PASSED [ 66%] test/test_unit_score_file.py::test_score_values[user-hostname-class-no-distro-no-system-arch-no-default] PASSED [ 66%] test/test_unit_score_file.py::test_score_values[user-hostname-class-no-distro-no-system-no-arch-default] PASSED [ 67%] test/test_unit_score_file.py::test_score_values[user-hostname-class-no-distro-no-system-no-arch-no-default] PASSED [ 67%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-distro-system-arch-default] PASSED [ 67%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-distro-system-arch-no-default] PASSED [ 67%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-distro-system-no-arch-default] PASSED [ 68%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-distro-system-no-arch-no-default] PASSED [ 68%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-distro-no-system-arch-default] PASSED [ 68%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-distro-no-system-arch-no-default] PASSED [ 68%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-distro-no-system-no-arch-default] PASSED [ 68%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-distro-no-system-no-arch-no-default] PASSED [ 69%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-no-distro-system-arch-default] PASSED [ 69%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-no-distro-system-arch-no-default] PASSED [ 69%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-no-distro-system-no-arch-default] PASSED [ 69%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-no-distro-system-no-arch-no-default] PASSED [ 69%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-no-distro-no-system-arch-default] PASSED [ 70%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-no-distro-no-system-arch-no-default] PASSED [ 70%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-no-distro-no-system-no-arch-default] PASSED [ 70%] test/test_unit_score_file.py::test_score_values[user-hostname-no-class-no-distro-no-system-no-arch-no-default] PASSED [ 70%] test/test_unit_score_file.py::test_score_values[user-no-host-class-distro-system-arch-default] PASSED [ 70%] test/test_unit_score_file.py::test_score_values[user-no-host-class-distro-system-arch-no-default] PASSED [ 71%] test/test_unit_score_file.py::test_score_values[user-no-host-class-distro-system-no-arch-default] PASSED [ 71%] test/test_unit_score_file.py::test_score_values[user-no-host-class-distro-system-no-arch-no-default] PASSED [ 71%] test/test_unit_score_file.py::test_score_values[user-no-host-class-distro-no-system-arch-default] PASSED [ 71%] test/test_unit_score_file.py::test_score_values[user-no-host-class-distro-no-system-arch-no-default] PASSED [ 72%] test/test_unit_score_file.py::test_score_values[user-no-host-class-distro-no-system-no-arch-default] PASSED [ 72%] test/test_unit_score_file.py::test_score_values[user-no-host-class-distro-no-system-no-arch-no-default] PASSED [ 72%] test/test_unit_score_file.py::test_score_values[user-no-host-class-no-distro-system-arch-default] PASSED [ 72%] test/test_unit_score_file.py::test_score_values[user-no-host-class-no-distro-system-arch-no-default] PASSED [ 72%] test/test_unit_score_file.py::test_score_values[user-no-host-class-no-distro-system-no-arch-default] PASSED [ 73%] test/test_unit_score_file.py::test_score_values[user-no-host-class-no-distro-system-no-arch-no-default] PASSED [ 73%] test/test_unit_score_file.py::test_score_values[user-no-host-class-no-distro-no-system-arch-default] PASSED [ 73%] test/test_unit_score_file.py::test_score_values[user-no-host-class-no-distro-no-system-arch-no-default] PASSED [ 73%] test/test_unit_score_file.py::test_score_values[user-no-host-class-no-distro-no-system-no-arch-default] PASSED [ 73%] test/test_unit_score_file.py::test_score_values[user-no-host-class-no-distro-no-system-no-arch-no-default] PASSED [ 74%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-distro-system-arch-default] PASSED [ 74%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-distro-system-arch-no-default] PASSED [ 74%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-distro-system-no-arch-default] PASSED [ 74%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-distro-system-no-arch-no-default] PASSED [ 75%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-distro-no-system-arch-default] PASSED [ 75%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-distro-no-system-arch-no-default] PASSED [ 75%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-distro-no-system-no-arch-default] PASSED [ 75%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-distro-no-system-no-arch-no-default] PASSED [ 75%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-no-distro-system-arch-default] PASSED [ 76%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-no-distro-system-arch-no-default] PASSED [ 76%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-no-distro-system-no-arch-default] PASSED [ 76%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-no-distro-system-no-arch-no-default] PASSED [ 76%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-no-distro-no-system-arch-default] PASSED [ 76%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-no-distro-no-system-arch-no-default] PASSED [ 77%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-no-distro-no-system-no-arch-default] PASSED [ 77%] test/test_unit_score_file.py::test_score_values[user-no-host-no-class-no-distro-no-system-no-arch-no-default] PASSED [ 77%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-distro-system-arch-default] PASSED [ 77%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-distro-system-arch-no-default] PASSED [ 77%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-distro-system-no-arch-default] PASSED [ 78%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-distro-system-no-arch-no-default] PASSED [ 78%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-distro-no-system-arch-default] PASSED [ 78%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-distro-no-system-arch-no-default] PASSED [ 78%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-distro-no-system-no-arch-default] PASSED [ 79%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-distro-no-system-no-arch-no-default] PASSED [ 79%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-no-distro-system-arch-default] PASSED [ 79%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-no-distro-system-arch-no-default] PASSED [ 79%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-no-distro-system-no-arch-default] PASSED [ 79%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-no-distro-system-no-arch-no-default] PASSED [ 80%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-no-distro-no-system-arch-default] PASSED [ 80%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-no-distro-no-system-arch-no-default] PASSED [ 80%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-no-distro-no-system-no-arch-default] PASSED [ 80%] test/test_unit_score_file.py::test_score_values[no-user-hostname-class-no-distro-no-system-no-arch-no-default] PASSED [ 80%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-distro-system-arch-default] PASSED [ 81%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-distro-system-arch-no-default] PASSED [ 81%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-distro-system-no-arch-default] PASSED [ 81%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-distro-system-no-arch-no-default] PASSED [ 81%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-distro-no-system-arch-default] PASSED [ 81%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-distro-no-system-arch-no-default] PASSED [ 82%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-distro-no-system-no-arch-default] PASSED [ 82%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-distro-no-system-no-arch-no-default] PASSED [ 82%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-no-distro-system-arch-default] PASSED [ 82%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-no-distro-system-arch-no-default] PASSED [ 83%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-no-distro-system-no-arch-default] PASSED [ 83%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-no-distro-system-no-arch-no-default] PASSED [ 83%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-no-distro-no-system-arch-default] PASSED [ 83%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-no-distro-no-system-arch-no-default] PASSED [ 83%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-no-distro-no-system-no-arch-default] PASSED [ 84%] test/test_unit_score_file.py::test_score_values[no-user-hostname-no-class-no-distro-no-system-no-arch-no-default] PASSED [ 84%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-distro-system-arch-default] PASSED [ 84%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-distro-system-arch-no-default] PASSED [ 84%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-distro-system-no-arch-default] PASSED [ 84%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-distro-system-no-arch-no-default] PASSED [ 85%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-distro-no-system-arch-default] PASSED [ 85%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-distro-no-system-arch-no-default] PASSED [ 85%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-distro-no-system-no-arch-default] PASSED [ 85%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-distro-no-system-no-arch-no-default] PASSED [ 86%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-no-distro-system-arch-default] PASSED [ 86%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-no-distro-system-arch-no-default] PASSED [ 86%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-no-distro-system-no-arch-default] PASSED [ 86%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-no-distro-system-no-arch-no-default] PASSED [ 86%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-no-distro-no-system-arch-default] PASSED [ 87%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-no-distro-no-system-arch-no-default] PASSED [ 87%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-no-distro-no-system-no-arch-default] PASSED [ 87%] test/test_unit_score_file.py::test_score_values[no-user-no-host-class-no-distro-no-system-no-arch-no-default] PASSED [ 87%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-distro-system-arch-default] PASSED [ 87%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-distro-system-arch-no-default] PASSED [ 88%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-distro-system-no-arch-default] PASSED [ 88%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-distro-system-no-arch-no-default] PASSED [ 88%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-distro-no-system-arch-default] PASSED [ 88%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-distro-no-system-arch-no-default] PASSED [ 88%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-distro-no-system-no-arch-default] PASSED [ 89%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-distro-no-system-no-arch-no-default] PASSED [ 89%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-no-distro-system-arch-default] PASSED [ 89%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-no-distro-system-arch-no-default] PASSED [ 89%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-no-distro-system-no-arch-default] PASSED [ 90%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-no-distro-system-no-arch-no-default] PASSED [ 90%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-no-distro-no-system-arch-default] PASSED [ 90%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-no-distro-no-system-arch-no-default] PASSED [ 90%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-no-distro-no-system-no-arch-default] PASSED [ 90%] test/test_unit_score_file.py::test_score_values[no-user-no-host-no-class-no-distro-no-system-no-arch-no-default] PASSED [ 91%] test/test_unit_score_file.py::test_extensions[None] PASSED [ 91%] test/test_unit_score_file.py::test_extensions[e] PASSED [ 91%] test/test_unit_score_file.py::test_extensions[extension] PASSED [ 91%] test/test_unit_score_file.py::test_score_values_templates PASSED [ 91%] test/test_unit_score_file.py::test_template_recording[supported-template] PASSED [ 92%] test/test_unit_score_file.py::test_template_recording[unsupported-template] PASSED [ 92%] test/test_unit_set_local_alt_values.py::test_set_local_alt_values[no-override] PASSED [ 92%] test/test_unit_set_local_alt_values.py::test_set_local_alt_values[override-class] PASSED [ 92%] test/test_unit_set_local_alt_values.py::test_set_local_alt_values[override-arch] PASSED [ 93%] test/test_unit_set_local_alt_values.py::test_set_local_alt_values[override-os] PASSED [ 93%] test/test_unit_set_local_alt_values.py::test_set_local_alt_values[override-hostname] PASSED [ 93%] test/test_unit_set_local_alt_values.py::test_set_local_alt_values[override-user] PASSED [ 93%] test/test_unit_set_local_alt_values.py::test_distro_and_family PASSED [ 93%] test/test_unit_set_os.py::test_set_operating_system[/proc/version missing] PASSED [ 94%] test/test_unit_set_os.py::test_set_operating_system[/proc/version includes ms] PASSED [ 94%] test/test_unit_set_os.py::test_set_operating_system[/proc/version excludes Ms] PASSED [ 94%] test/test_unit_set_os.py::test_set_operating_system[another value] PASSED [ 94%] test/test_unit_set_yadm_dir.py::test_set_yadm_dirs[basic] PASSED [ 94%] test/test_unit_set_yadm_dir.py::test_set_yadm_dirs[override] PASSED [ 95%] test/test_unit_set_yadm_dir.py::test_set_yadm_dirs[override_data] PASSED [ 95%] test/test_unit_set_yadm_dir.py::test_set_yadm_dirs[xdg_config_home] PASSED [ 95%] test/test_unit_set_yadm_dir.py::test_set_yadm_dirs[xdg_data_home] PASSED [ 95%] test/test_unit_template_default.py::test_template_default PASSED [ 95%] test/test_unit_template_default.py::test_source PASSED [ 96%] test/test_unit_template_default.py::test_include PASSED [ 96%] test/test_unit_template_default.py::test_env PASSED [ 96%] test/test_unit_upgrade.py::test_upgrade_errors[override] PASSED [ 96%] test/test_unit_upgrade.py::test_upgrade_errors[equal] PASSED [ 97%] test/test_unit_upgrade.py::test_upgrade_errors[existing_repo] PASSED [ 97%] test/test_unit_upgrade.py::test_upgrade[no-paths] PASSED [ 97%] test/test_unit_upgrade.py::test_upgrade[untracked] PASSED [ 97%] test/test_unit_upgrade.py::test_upgrade[tracked] PASSED [ 97%] test/test_unit_upgrade.py::test_upgrade[submodules] PASSED [ 98%] test/test_unit_x_program.py::test_x_program[git-executable missing] PASSED [ 98%] test/test_unit_x_program.py::test_x_program[git-valid alternative] PASSED [ 98%] test/test_unit_x_program.py::test_x_program[git-invalid alternative] PASSED [ 98%] test/test_unit_x_program.py::test_x_program[gpg-executable missing] PASSED [ 98%] test/test_unit_x_program.py::test_x_program[gpg-valid alternative] PASSED [ 99%] test/test_unit_x_program.py::test_x_program[gpg-invalid alternative] PASSED [ 99%] test/test_version.py::test_semantic_version PASSED [ 99%] test/test_version.py::test_reported_version[--version] PASSED [ 99%] test/test_version.py::test_reported_version[version] PASSED [100%] =================================== FAILURES =================================== ____________________ test_offer_to_add[untracked_answer_y] _____________________ runner = yadm_cmd = .command_list at 0x7f9b38dcf0d0> paths = Paths(pgm='/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/yadm', root=local('/var/tmp/portage/app-admin/yadm-3....tage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_home/yadm/encrypt')) encrypt_targets = ['inc file1', 'inc dir/inc file2', 'globs file1', 'globs dir/globs file2', 'extest/inglob1'] gnupg = GNUPG(home=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/gnupghome0'), pw=.register_gpg_password at 0x7f9b39043940>) untracked = 'y' @pytest.mark.parametrize( 'untracked', [False, 'y', 'n'], ids=['tracked', 'untracked_answer_y', 'untracked_answer_n']) def test_offer_to_add( runner, yadm_cmd, paths, encrypt_targets, gnupg, untracked): """Test offer to add encrypted archive All the other encryption tests use an archive outside of the work tree. However, the archive is often inside the work tree, and if it is, there should be an offer to add it to the repo if it is not tracked. """ worktree_archive = paths.work.join('worktree-archive.tar.gpg') expect = [] gnupg.pw(PASSPHRASE) env = os.environ.copy() env['GNUPGHOME'] = gnupg.home if untracked: expect.append(('add it now', untracked)) else: worktree_archive.write('exists') os.system(' '.join(yadm_cmd('add', str(worktree_archive)))) run = runner( yadm_cmd('encrypt', '--yadm-archive', str(worktree_archive)), env=env, expect=expect ) > assert run.success E AssertionError: assert False E + where False = Runner(['expect']).success encrypt_targets = ['inc file1', 'inc dir/inc file2', 'globs file1', 'globs dir/globs file2', 'extest/inglob1'] env = {'A': 'yadm-3.2.1.tar.gz', 'ABI': 'amd64', 'ABI_MIPS': '', 'ABI_S390': '', 'ABI_X86': '64', 'ACCEPT_LICENSE': 'GPL-3+', 'ADA_TARGET': '', 'ALLOW_TEST': 'network', 'ALSA_CARDS': '', 'ANT_HOME': '/usr/share/ant', 'APACHE2_MODULES': '', 'APACHE2_MPMS': '', 'ARCH': 'amd64', 'BASH_FUNC_SwitchGCC%%': '() { local latest=$(gcc-config --list-profiles ' "--nocolor | cut -f3 -d' ' -s | grep -E " "'x86_64-(pc|gentoo)-linux-(gnu|musl)-.*[0-9]$'| " 'tail -n 1);\n' ' local current=$(gcc -dumpversion | cut -f1 ' "-d'.');\n" ' if gcc-config --list-profiles --nocolor | grep -q ' '-F "$latest *"; then\n' ' echo "SwitchGCC: $current is $latest";\n' ' else\n' ' echo "SwitchGCC: switch from $current to $latest" ' '>> $taskfile.history;\n' ' gcc-config --nocolor $latest;\n' ' source_profile;\n' ' add2backlog "@preserved-rebuild";\n' ' if grep -q \'^LIBTOOL="rdlibtool"\' ' '/etc/portage/make.conf; then\n' ' add2backlog "sys-devel/slibtool";\n' ' fi;\n' ' add2backlog "sys-devel/libtool";\n' ' add2backlog "%emerge --unmerge ' 'sys-devel/gcc:$current";\n' ' fi\n' '}', 'BASH_FUNC_syncRepo%%': '() { local synclog=/var/tmp/tb/sync.log;\n' ' cd /var/db/repos/gentoo;\n' ' if ! emaint sync --auto &> $synclog; then\n' ' Mail "WARN: sync failed for ::gentoo" $synclog;\n' " if grep -q -e 'git fetch error' -e ': Failed to " "connect to ' -e ': SSL connection timeout' -e ': " "Connection timed out'; then\n" ' last_sync=$EPOCHSECONDS;\n' ' return 1;\n' ' fi;\n' ' if ( echo -e "\\nTrying to restore ...\\n";\n' ' git stash;\n' ' git stash drop;\n' ' git restore . ) &>> $synclog; then\n' ' if ! emaint sync --auto &>> $synclog; then\n' ' Finish 13 "still unfixed ::gentoo" $synclog;\n' ' else\n' ' Mail "INFO: fixed ::gentoo" $synclog;\n' ' fi;\n' ' else\n' ' Finish 13 "cannot restore ::gentoo" $synclog;\n' ' fi;\n' ' fi;\n' ' last_sync=$EPOCHSECONDS;\n' " if grep -q -F '* An update to portage is " "available.' $synclog; then\n" ' add2backlog "sys-apps/portage";\n' ' fi;\n' " if grep -B 1 '=== Sync completed for gentoo' " "$synclog | grep -q 'Already up to date.'; then\n" ' return 0;\n' ' fi;\n' ' git diff --diff-filter="ACM" --name-only "@{ $(( ' 'EPOCHSECONDS-last_sync+3600 )) second ago }".."@{ 1 ' 'hour ago }" | grep -F -e \'/files/\' -e \'.ebuild\' ' "-e 'Manifest' | cut -f1-2 -d'/' -s | grep -v -f " '/mnt/tb/data/IGNORE_PACKAGES | sort -u > ' '/tmp/syncRepo.upd;\n' ' if [[ -s /tmp/syncRepo.upd ]]; then\n' ' sort -u /tmp/syncRepo.upd /var/tmp/tb/backlog.upd | ' 'shuf > /tmp/backlog.upd;\n' ' cp /tmp/backlog.upd /var/tmp/tb/backlog.upd;\n' ' fi\n' '}', 'BOOTSTRAP_USE': 'unicode internal-glib pkg-config split-usr xml ' 'python_targets_python3_9 multilib systemd udev', 'BROOT': '', 'BROWSER': 'xdg-open', 'BUILD_PREFIX': '/var/tmp/portage', 'CALLIGRA_FEATURES': '', 'CAMERAS': '', 'CARGO_TERM_COLOR': 'never', 'CATEGORY': 'app-admin', 'CATKIN_PREFIX_PATH': '/usr', 'CBUILD': 'x86_64-pc-linux-gnu', 'CCACHE_DISABLE': '1', 'CFLAGS': '-pipe -march=native -fno-diagnostics-color -O2', 'CFLAGS_amd64': '-m64', 'CFLAGS_x32': '-mx32', 'CFLAGS_x86': '-m32', 'CG_COMPILER_EXE': '/opt/bin/cgc', 'CG_INC_PATH': '/opt/nvidia-cg-toolkit/include', 'CG_LIB_PATH': '/opt/nvidia-cg-toolkit/lib64', 'CHOST': 'x86_64-pc-linux-gnu', 'CHOST_amd64': 'x86_64-pc-linux-gnu', 'CHOST_default': 'x86_64-pc-linux-gnu', 'CHOST_x32': 'x86_64-pc-linux-gnux32', 'CHOST_x86': 'i686-pc-linux-gnu', 'COLLECTD_PLUGINS': '', 'COLUMNS': '80', 'CPU_FLAGS_ARM': '', 'CPU_FLAGS_PPC': '', 'CPU_FLAGS_X86': '', 'CTARGET_default': 'x86_64-pc-linux-gnu', 'CURL_SSL': '', 'CXXFLAGS': '-pipe -march=native -fno-diagnostics-color -O2', 'D': '/var/tmp/portage/app-admin/yadm-3.2.1/image', 'DATAPLOT_FILES': '/usr/share/dataplot', 'DATAPLOT_WEB': 'OFF', 'DCC_EMAILLOG_WHOM_TO_BLAME': '', 'DEFAULT_ABI': 'amd64', 'DEFINED_PHASES': ' compile install setup test', 'DIALIGN2_DIR': '/usr/share/dialign2', 'DIROPTIONS': '-m0755', 'DISTCC_ENABLE_DISCREPANCY_EMAIL': '', 'DISTCC_FALLBACK': '1', 'DISTCC_SAVE_TEMPS': '0', 'DISTCC_SSH': '', 'DISTCC_TCP_CORK': '', 'DISTCC_VERBOSE': '0', 'DISTDIR': '/var/tmp/portage/app-admin/yadm-3.2.1/distdir', 'DSM_CONFIG': '/etc/tivoli/dsm.opt', 'DSM_DIR': '/opt/tivoli/tsm/client/ba/bin', 'DSM_LOG': '/var/log/tsm', 'EAPI': '8', 'EBUILD': '/var/db/repos/gentoo/app-admin/yadm/yadm-3.2.1.ebuild', 'EBUILD_MASTER_PID': '21', 'EBUILD_PHASE': 'test', 'EBUILD_PHASE_FUNC': 'src_test', 'EC2_AMITOOL_HOME': '/usr', 'ECLASS_DEPTH': '0', 'ED': '/var/tmp/portage/app-admin/yadm-3.2.1/image', 'EDITOR': '/bin/nano', 'EGO_BUILD_FLAGS': '-p 4', 'ELIBC': 'glibc', 'EMERGE_FROM': 'ebuild', 'ENV_UNSET': 'CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH ' 'PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT ' 'XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME ' 'XDG_RUNTIME_DIR', 'EPREFIX': '', 'EPYTHON': 'python3.9', 'EROOT': '', 'ESYSROOT': '', 'ETCKEEPER_CONF_DIR': '/etc/etckeeper', 'EXEOPTIONS': '-m0755', 'FCFLAGS': '-pipe -march=native -fno-diagnostics-color -O2', 'FEATURES': 'assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ' 'buildpkg-live cgroup config-protect-if-modified distlocks ' 'ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict ' 'network-sandbox parallel-fetch pid-sandbox preserve-libs ' 'protect-owned qa-unresolved-soname-deps sandbox sfperms strict ' 'test unknown-features-warn unmerge-logs unmerge-orphans ' 'userfetch userpriv usersandbox usersync xattr', 'FETCHCOMMAND_SSH': 'bash -c "x=\\${2#ssh://} ; host=\\${x%%/*} ; ' 'port=\\${host##*:} ; host=\\${host%:*} ; [[ \\${host} = ' '\\${port} ]] && port= ; exec rsync --rsh=\\"ssh ' '\\${port:+-p\\${port}} \\${3}\\" -avP ' '\\"\\${host}:/\\${x#*/}\\" \\"\\$1\\"" rsync ' '"${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"', 'FFLAGS': '-pipe -march=native -fno-diagnostics-color -O2', 'FFTOOLS': '', 'FILESDIR': '/var/tmp/portage/app-admin/yadm-3.2.1/files', 'FLTK_DOCDIR': '/usr/share/doc/fltk-1.3.5-r4/html', 'G4ABLADATA': '/usr/share/geant4/data/G4ABLA3.1', 'G4ENSDFSTATEDATA': '/usr/share/geant4/data/G4ENSDFSTATE2.3', 'G4INCLDATA': '/usr/share/geant4/data/G4INCL1.0', 'G4LEDATA': '/usr/share/geant4/data/G4EMLOW8.0', 'G4LEVELGAMMADATA': '/usr/share/geant4/data/PhotonEvaporation5.7', 'G4NEUTRONHPDATA': '/usr/share/geant4/data/G4NDL4.6', 'G4PARTICLEHPDATA': '/usr/share/geant4/data/G4TENDL1.4', 'G4PARTICLEXSDATA': '/usr/share/geant4/data/G4PARTICLEXS4.0', 'G4PIIDATA': '/usr/share/geant4/data/G4PII1.3', 'G4RADIOACTIVEDATA': '/usr/share/geant4/data/RadioactiveDecay5.6', 'G4REALSURFACEDATA': '/usr/share/geant4/data/RealSurface2.2', 'G4SAIDXSDATA': '/usr/share/geant4/data/G4SAIDDATA2.0', 'GCC_COLORS': '', 'GCC_SPECS': '', 'GIT_CONFIG_GLOBAL': '/var/tmp/portage/app-admin/yadm-3.2.1/homedir/.gitconfig', 'GIT_CONFIG_NOSYSTEM': '1', 'GIT_PAGER': 'cat', 'GNUPGHOME': local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/gnupghome0'), 'GO19CONCURRENTCOMPILATION': '0', 'GOMAXPROCS': '4', 'GPSD_PROTOCOLS': '', 'GRUB_PLATFORMS': '', 'GSETTINGS_BACKEND': 'dconf', 'HOME': '/var/tmp/portage/app-admin/yadm-3.2.1/homedir', 'INHERITED': ' toolchain-funcs multilib bash-completion-r1 multiprocessing ' 'python-utils-r1 python-any-r1', 'INPUT_DEVICES': '', 'INSOPTIONS': '-m0644', 'IUSE_EFFECTIVE': 'abi_x86_64 alpha amd64 amd64-linux arm arm64 arm64-macos ' 'elibc_Cygwin elibc_Darwin elibc_SunOS elibc_Winnt ' 'elibc_bionic elibc_glibc elibc_mingw elibc_musl hppa ia64 ' 'kernel_Darwin kernel_SunOS kernel_Winnt kernel_linux m68k ' 'mips ppc ppc-macos ppc64 ppc64-linux prefix prefix-guest ' 'prefix-stack riscv s390 sparc sparc-solaris ' 'sparc64-solaris test userland_BSD userland_GNU x64-cygwin ' 'x64-macos x64-solaris x64-winnt x86 x86-linux x86-solaris ' 'x86-winnt', 'IUSE_IMPLICIT': 'abi_x86_64 prefix prefix-guest prefix-stack', 'JAVAC': '/etc/java-config-2/current-system-vm/bin/javac', 'JAVA_HOME': '/etc/java-config-2/current-system-vm', 'JDK_HOME': '/etc/java-config-2/current-system-vm', 'KERNEL': 'linux', 'KERNEL_ABI': 'amd64', 'KEYWORDS': '~amd64 ~ppc64 ~x86', 'L10N': '', 'LAMMPS_POTENTIALS': '/usr/share/lammps/potentials', 'LANG': 'C.UTF8', 'LCD_DEVICES': '', 'LC_COLLATE': 'C', 'LC_MESSAGES': 'C', 'LDFLAGS': '-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0', 'LDFLAGS_amd64': '-m elf_x86_64', 'LDFLAGS_x32': '-m elf32_x86_64', 'LDFLAGS_x86': '-m elf_i386', 'LD_PRELOAD': 'libsandbox.so', 'LESS': '-R -M --shift 5', 'LESSOPEN': '|lesspipe %s', 'LIBDIR_amd64': 'lib64', 'LIBDIR_default': 'lib', 'LIBDIR_x32': 'libx32', 'LIBDIR_x86': 'lib', 'LIBOPTIONS': '-m0644', 'LIBREOFFICE_EXTENSIONS': '', 'LICENSE': 'GPL-3+', 'LLVM_TARGETS': '', 'LOGNAME': 'portage', 'LUA_SINGLE_TARGET': '', 'LUA_TARGETS': '', 'MAILTO': 'tinderbox', 'MAKEOPTS': '-j4', 'MANPAGER': 'manpager', 'MERGE_TYPE': 'source', 'MONKEYD_PLUGINS': '', 'MOPREFIX': 'yadm', 'MOZ_GMP_PATH': '/usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed', 'MSI2LMP_LIBRARY': '/usr/share/lammps/frc_files', 'MULTILIB_ABIS': 'amd64 x86', 'MULTILIB_STRICT_DENY': '64-bit.*shared object', 'MULTILIB_STRICT_DIRS': '/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 ' '/usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib ' '/usr/X11R6/lib32 /usr/X11R6/lib', 'MULTILIB_STRICT_EXEMPT': '(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)', 'NGINX_MODULES_HTTP': '', 'NGINX_MODULES_MAIL': '', 'NGINX_MODULES_STREAM': '', 'NOCOLOR': 'true', 'OCAML_COLOR': 'never', 'OFED_DRIVERS': '', 'OFFICE_IMPLEMENTATION': '', 'OLDPWD': '/var/tmp/portage/app-admin/yadm-3.2.1/empty', 'OMP_DYNAMIC': 'FALSE', 'OMP_NESTED': 'FALSE', 'OMP_NUM_THREADS': '4', 'OPENMPI_FABRICS': '', 'OPENMPI_OFED_FEATURES': '', 'OPENMPI_RM': '', 'ORACLE_HOME': '/usr/lib64/oracle/client', 'P': 'yadm-3.2.1', 'PAGER': 'cat', 'PATH': '/var/tmp/portage/app-admin/yadm-3.2.1/temp/python3.9/bin:/usr/lib/portage/python3.9/ebuild-helpers/xattr:/usr/lib/portage/python3.9/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/14/bin:/usr/lib/llvm/13/bin:/usr/lib/llvm/12/bin:/opt/nvidia-cg-toolkit/bin', 'PAX_MARKINGS': 'none', 'PF': 'yadm-3.2.1', 'PHP_TARGETS': '', 'PKGDIR': '/var/cache/binpkgs', 'PKGSYSTEM_ENABLE_FSYNC': '0', 'PKGUSE': '', 'PKG_CONFIG_PATH': '/var/tmp/portage/app-admin/yadm-3.2.1/temp/python3.9/pkgconfig', 'PKG_LOGDIR': '/var/tmp/portage/app-admin/yadm-3.2.1/temp/logging', 'PKG_TMPDIR': '/var/tmp/portage/._unmerge_', 'PM_EBUILD_HOOK_DIR': '/etc/portage/env', 'PN': 'yadm', 'PORTAGE_ACTUAL_DISTDIR': '/var/cache/distfiles', 'PORTAGE_ARCHLIST': 'alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux ' 'arm64-macos hppa ia64 m68k mips ppc ppc-macos ppc64 ' 'ppc64-linux riscv s390 sparc sparc-solaris ' 'sparc64-solaris x64-cygwin x64-macos x64-solaris ' 'x64-winnt x86 x86-linux x86-solaris x86-winnt', 'PORTAGE_BASHRC': '/etc/portage/bashrc', 'PORTAGE_BASHRC_FILES': '/var/db/repos/gentoo/profiles/default/linux/amd64/17.1/profile.bashrc', 'PORTAGE_BIN_PATH': '/usr/lib/portage/python3.9', 'PORTAGE_BUILDDIR': '/var/tmp/portage/app-admin/yadm-3.2.1', 'PORTAGE_BUILD_GROUP': 'portage', 'PORTAGE_BUILD_USER': 'portage', 'PORTAGE_BZIP2_COMMAND': 'bzip2', 'PORTAGE_COLORMAP': "PORTAGE_COLOR_BAD=$'\x1b[31;01m'\n" "PORTAGE_COLOR_BRACKET=$'\x1b[34;01m'\n" "PORTAGE_COLOR_ERR=$'\x1b[31;01m'\n" "PORTAGE_COLOR_GOOD=$'\x1b[32;01m'\n" "PORTAGE_COLOR_HILITE=$'\x1b[36m'\n" "PORTAGE_COLOR_INFO=$'\x1b[32m'\n" "PORTAGE_COLOR_LOG=$'\x1b[32;01m'\n" "PORTAGE_COLOR_NORMAL=$'\x1b[0m'\n" "PORTAGE_COLOR_QAWARN=$'\x1b[33m'\n" "PORTAGE_COLOR_WARN=$'\x1b[33;01m'", 'PORTAGE_COMPRESSION_COMMAND': 'bzip2', 'PORTAGE_COMPRESS_EXCLUDE_SUFFIXES': 'css gif htm[l]? jp[e]?g js pdf png', 'PORTAGE_CONFIGROOT': '/', 'PORTAGE_DEBUG': '0', 'PORTAGE_DEPCACHEDIR': '/var/cache/edb/dep', 'PORTAGE_DOCOMPRESS_SIZE_LIMIT': '128', 'PORTAGE_FEATURES': 'assume-digests binpkg-docompress binpkg-dostrip ' 'binpkg-logs buildpkg-live cgroup ' 'config-protect-if-modified distlocks ebuild-locks ' 'fixlafiles ipc-sandbox merge-sync multilib-strict ' 'network-sandbox parallel-fetch pid-sandbox preserve-libs ' 'protect-owned qa-unresolved-soname-deps sandbox sfperms ' 'strict test unknown-features-warn unmerge-logs ' 'unmerge-orphans userfetch userpriv usersandbox usersync ' 'xattr', 'PORTAGE_GID': '250', 'PORTAGE_INST_GID': '0', 'PORTAGE_INST_UID': '0', 'PORTAGE_INTERNAL_CALLER': '1', 'PORTAGE_IPC_DAEMON': '1', 'PORTAGE_LOG_FILE': '/var/log/portage/app-admin:yadm-3.2.1:20220403-154301.log', 'PORTAGE_OVERRIDE_EPREFIX': '', 'PORTAGE_PROPERTIES': '', 'PORTAGE_PYM_PATH': '/usr/lib/python3.9/site-packages', 'PORTAGE_PYTHON': '/usr/bin/python3.9', 'PORTAGE_PYTHONPATH': '/usr/lib/python3.9/site-packages', 'PORTAGE_REPOSITORIES': '[DEFAULT]\n' 'auto-sync = yes\n' 'main-repo = gentoo\n' 'strict-misc-digests = true\n' 'sync-allow-hardlinks = true\n' 'sync-openpgp-key-refresh = true\n' 'sync-rcu = false\n' '\n' '[gentoo]\n' 'auto-sync = yes\n' 'location = /var/db/repos/gentoo\n' 'masters = \n' 'priority = -1000\n' 'strict-misc-digests = true\n' 'sync-allow-hardlinks = true\n' 'sync-openpgp-key-path = ' '/usr/share/openpgp-keys/gentoo-release.asc\n' 'sync-openpgp-key-refresh = true\n' 'sync-openpgp-key-refresh-retry-count = 40\n' 'sync-openpgp-key-refresh-retry-delay-exp-base = 2\n' 'sync-openpgp-key-refresh-retry-delay-max = 60\n' 'sync-openpgp-key-refresh-retry-delay-mult = 4\n' 'sync-openpgp-key-refresh-retry-overall-timeout = ' '1200\n' 'sync-openpgp-keyserver = hkps://keys.gentoo.org\n' 'sync-rcu = false\n' 'sync-type = git\n' 'sync-uri = ' 'https://github.com/gentoo-mirror/gentoo.git\n', 'PORTAGE_REPO_NAME': 'gentoo', 'PORTAGE_RESTRICT': '', 'PORTAGE_SIGPIPE_STATUS': '141', 'PORTAGE_TMPDIR': '/var/tmp', 'PORTAGE_TMPFS': '/dev/shm', 'PORTAGE_VERBOSE': '1', 'PORTAGE_WORKDIR_MODE': '0700', 'PORTAGE_XATTR_EXCLUDE': 'btrfs.* security.evm security.ima \t' 'security.selinux system.nfs4_acl ' 'user.apache_handler \tuser.Beagle.* ' 'user.dublincore.* user.mime_encoding user.xdg.*', 'PORT_LOGDIR': '/var/log/portage', 'POSTGRES_TARGETS': '', 'PR': 'r0', 'PRELINK_PATH_MASK': '/usr/bin/bbkeys', 'PROFILE_ONLY_VARIABLES': 'ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND ' 'USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED ' 'USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC ' 'USE_EXPAND_VALUES_KERNEL ' 'USE_EXPAND_VALUES_USERLAND', 'PV': '3.2.1', 'PVR': '3.2.1', 'PWD': '/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1', 'PYTEST_ADDOPTS': '--color=no', 'PYTEST_CURRENT_TEST': 'test/test_encryption.py::test_offer_to_add[untracked_answer_y] ' '(call)', 'PYTHON': '/usr/bin/python3.9', 'PYTHONDONTWRITEBYTECODE': '1', 'PYTHON_SINGLE_TARGET': '', 'PYTHON_TARGETS': '', 'PY_FORCE_COLOR': '0', 'QEMU_SOFTMMU_TARGETS': '', 'QEMU_USER_TARGETS': '', 'QT_QPA_PLATFORMTHEME': 'qt5ct', 'RESUMECOMMAND_SSH': 'bash -c "x=\\${2#ssh://} ; host=\\${x%%/*} ; ' 'port=\\${host##*:} ; host=\\${host%:*} ; [[ \\${host} = ' '\\${port} ]] && port= ; exec rsync --rsh=\\"ssh ' '\\${port:+-p\\${port}} \\${3}\\" -avP ' '\\"\\${host}:/\\${x#*/}\\" \\"\\$1\\"" rsync ' '"${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"', 'RNAVIEW': '/usr/share/rnaview', 'ROOT': '', 'ROOTPATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/14/bin:/usr/lib/llvm/13/bin:/usr/lib/llvm/12/bin:/opt/nvidia-cg-toolkit/bin', 'ROS_MESSAGES': '', 'ROS_PACKAGE_PATH': '/usr/share/ros_packages', 'ROS_ROOT': '/usr/share/ros', 'RUBY_TARGETS': '', 'RUSTFLAGS': '-Ctarget-cpu=native -v', 'RUST_TEST_TASKS': '4', 'RUST_TEST_THREADS': '4', 'S': '/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1', 'SANDBOX_ACTIVE': 'armedandready', 'SANDBOX_BASHRC': '/usr/share/sandbox/sandbox.bashrc', 'SANDBOX_DEBUG': '0', 'SANDBOX_DEBUG_LOG': '/var/log/sandbox/sandbox-debug-4.log', 'SANDBOX_DENY': '', 'SANDBOX_LIB': 'libsandbox.so', 'SANDBOX_LOG': '/var/tmp/portage/app-admin/yadm-3.2.1/temp/sandbox.log', 'SANDBOX_MESSAGE_P@TH': '/proc/4/fd/2', 'SANDBOX_METHOD': 'any', 'SANDBOX_ON': '1', 'SANDBOX_PREDICT': '/var/tmp/portage/app-admin/yadm-3.2.1/homedir:/dev/crypto:/var/cache/man:/dev/random:/proc/self/coredump_filter:/dev/random:/proc/self/coredump_filter:/var/cache/fontconfig:/', 'SANDBOX_READ': '/:/var/tmp/portage', 'SANDBOX_VERBOSE': '1', 'SANDBOX_WRITE': ':/dev/console:/dev/fd:/dev/full:/dev/null:/dev/ptmx:/dev/pts/:/dev/pty:/dev/shm:/dev/tts:/dev/tty:/dev/vc/:/dev/zero:/proc/self/fd:/run/firejail:/tmp/:/usr/lib/cf:/usr/lib/conftest:/usr/lib32/cf:/usr/lib32/conftest:/usr/lib64/cf:/usr/lib64/conftest:/usr/tmp/:/usr/tmp/cf:/usr/tmp/conftest:/var/tmp/:/var/tmp/portage:/var/tmp/portage/app-admin/yadm-3.2.1/homedir/.bash_history', 'SANE_BACKENDS': '', 'SHELL': '/bin/bash', 'SHLVL': '1', 'SLOT': '0', 'SPARK_HOME': '/usr/lib/spark-3', 'SYMLINK_LIB': 'no', 'SYSROOT': '', 'T': '/var/tmp/portage/app-admin/yadm-3.2.1/temp', 'TEMP': '/var/tmp/portage/app-admin/yadm-3.2.1/temp', 'TERM': 'linux', 'TERMINFO': '/etc/terminfo', 'TERMINFO_DIRS': '/usr/share/st/terminfo', 'TINYSCHEMEINIT': '/usr/share/tinyscheme/init.scm', 'TMAKEPATH': '/usr/lib/tmake/linux-g++', 'TMP': '/var/tmp/portage/app-admin/yadm-3.2.1/temp', 'TMPDIR': '/var/tmp/portage/app-admin/yadm-3.2.1/temp', 'TNS_ADMIN': '/etc/oracle/', 'TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE': '1', 'UNCACHED_ERR_FD': '', 'USE': 'abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU', 'USERLAND': 'GNU', 'USE_EXPAND': 'ABI_MIPS ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS ' 'APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS ' 'COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 ' 'CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS ' 'INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS ' 'LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS ' 'NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM ' 'OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS ' 'OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS ' 'PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS ' 'QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS ' 'USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE ' 'XTABLES_ADDONS', 'USE_EXPAND_IMPLICIT': 'ARCH ELIBC KERNEL USERLAND', 'USE_EXPAND_UNPREFIXED': 'ARCH', 'USE_EXPAND_VALUES_ARCH': 'alpha amd64 amd64-linux arm arm64 arm64-macos hppa ' 'ia64 m68k mips ppc ppc64 ppc64-linux ppc-macos ' 'riscv s390 sparc sparc64-solaris sparc-solaris ' 'x64-cygwin x64-macos x64-solaris x64-winnt x86 ' 'x86-linux x86-solaris x86-winnt', 'USE_EXPAND_VALUES_ELIBC': 'bionic Cygwin Darwin glibc mingw musl SunOS Winnt', 'USE_EXPAND_VALUES_KERNEL': 'Darwin linux SunOS Winnt', 'USE_EXPAND_VALUES_USERLAND': 'BSD GNU', 'UWSGI_PLUGINS': '', 'VIDEO_CARDS': '', 'VOICEMAIL_STORAGE': '', 'WORKDIR': '/var/tmp/portage/app-admin/yadm-3.2.1/work', 'XARGS': 'xargs -r', 'XDG_CONFIG_DIRS': '/etc/xdg', 'XDG_CONFIG_HOME': '/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_home', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share', 'XDG_DATA_HOME': '/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_data', 'XEHELPURL': '/usr/share/doc/xephem-4.1.0/html/xephem.html', 'XTABLES_ADDONS': '', '_': '/usr/bin/python3.9', '_E_DESTTREE_': '/usr', '_E_DOCDESTTREE_': '', '_E_EXEDESTTREE_': '', '_E_INSDESTTREE_': '', 'enable_year2038': 'no'} expect = [('add it now', 'y')] gnupg = GNUPG(home=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/gnupghome0'), pw=.register_gpg_password at 0x7f9b39043940>) paths = Paths(pgm='/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/yadm', root=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root'), remote=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/remote'), work=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/work'), xdg_data=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_data'), xdg_home=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_home'), data=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_data/yadm'), yadm=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_home/yadm'), hooks=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_home/yadm/hooks'), repo=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_data/yadm/repo.git'), archive=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_data/yadm/archive'), bootstrap=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_home/yadm/bootstrap'), config=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_home/yadm/config'), encrypt=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_home/yadm/encrypt')) run = Runner(['expect']) runner = untracked = 'y' worktree_archive = local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/work/worktree-archive.tar.gpg') yadm_cmd = .command_list at 0x7f9b38dcf0d0> test/test_encryption.py:419: AssertionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty shared Git repository in /var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_data/yadm/repo.git/ ---------------------------- Captured stderr setup ----------------------------- fatal: not a git repository: '/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/xdg_data/yadm/repo.git' ----------------------------- Captured stdout call ----------------------------- EXPECT:set timeout 2 spawn "/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/yadm" "encrypt" "--yadm-archive" "/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/work/worktree-archive.tar.gpg" expect { "add it now" {send "y\r"} timeout {close;exit 128} } expect eof foreach {pid spawnid os_error_flag value} [wait] break exit $value Runner(['expect']) RUN: code:128 RUN: input: set timeout 2 spawn "/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/yadm" "encrypt" "--yadm-archive" "/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/work/worktree-archive.tar.gpg" expect { "add it now" {send "y\r"} timeout {close;exit 128} } expect eof foreach {pid spawnid os_error_flag value} [wait] break exit $value RUN: stdout: spawn /var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/yadm encrypt --yadm-archive /var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/work/worktree-archive.tar.gpg Encrypting the following files: extest/inglob1 globs dir globs file1 inc dir/inc file2 inc file1 Wrote new file: /var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an0/root/work/worktree-archive.tar.gpg RUN: stderr: ____________________ test_offer_to_add[untracked_answer_n] _____________________ runner = yadm_cmd = .command_list at 0x7f9b38e6bca0> paths = Paths(pgm='/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/yadm', root=local('/var/tmp/portage/app-admin/yadm-3....tage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_home/yadm/encrypt')) encrypt_targets = ['inc file1', 'inc dir/inc file2', 'globs file1', 'globs dir/globs file2', 'extest/inglob1'] gnupg = GNUPG(home=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/gnupghome0'), pw=.register_gpg_password at 0x7f9b39043940>) untracked = 'n' @pytest.mark.parametrize( 'untracked', [False, 'y', 'n'], ids=['tracked', 'untracked_answer_y', 'untracked_answer_n']) def test_offer_to_add( runner, yadm_cmd, paths, encrypt_targets, gnupg, untracked): """Test offer to add encrypted archive All the other encryption tests use an archive outside of the work tree. However, the archive is often inside the work tree, and if it is, there should be an offer to add it to the repo if it is not tracked. """ worktree_archive = paths.work.join('worktree-archive.tar.gpg') expect = [] gnupg.pw(PASSPHRASE) env = os.environ.copy() env['GNUPGHOME'] = gnupg.home if untracked: expect.append(('add it now', untracked)) else: worktree_archive.write('exists') os.system(' '.join(yadm_cmd('add', str(worktree_archive)))) run = runner( yadm_cmd('encrypt', '--yadm-archive', str(worktree_archive)), env=env, expect=expect ) > assert run.success E AssertionError: assert False E + where False = Runner(['expect']).success encrypt_targets = ['inc file1', 'inc dir/inc file2', 'globs file1', 'globs dir/globs file2', 'extest/inglob1'] env = {'A': 'yadm-3.2.1.tar.gz', 'ABI': 'amd64', 'ABI_MIPS': '', 'ABI_S390': '', 'ABI_X86': '64', 'ACCEPT_LICENSE': 'GPL-3+', 'ADA_TARGET': '', 'ALLOW_TEST': 'network', 'ALSA_CARDS': '', 'ANT_HOME': '/usr/share/ant', 'APACHE2_MODULES': '', 'APACHE2_MPMS': '', 'ARCH': 'amd64', 'BASH_FUNC_SwitchGCC%%': '() { local latest=$(gcc-config --list-profiles ' "--nocolor | cut -f3 -d' ' -s | grep -E " "'x86_64-(pc|gentoo)-linux-(gnu|musl)-.*[0-9]$'| " 'tail -n 1);\n' ' local current=$(gcc -dumpversion | cut -f1 ' "-d'.');\n" ' if gcc-config --list-profiles --nocolor | grep -q ' '-F "$latest *"; then\n' ' echo "SwitchGCC: $current is $latest";\n' ' else\n' ' echo "SwitchGCC: switch from $current to $latest" ' '>> $taskfile.history;\n' ' gcc-config --nocolor $latest;\n' ' source_profile;\n' ' add2backlog "@preserved-rebuild";\n' ' if grep -q \'^LIBTOOL="rdlibtool"\' ' '/etc/portage/make.conf; then\n' ' add2backlog "sys-devel/slibtool";\n' ' fi;\n' ' add2backlog "sys-devel/libtool";\n' ' add2backlog "%emerge --unmerge ' 'sys-devel/gcc:$current";\n' ' fi\n' '}', 'BASH_FUNC_syncRepo%%': '() { local synclog=/var/tmp/tb/sync.log;\n' ' cd /var/db/repos/gentoo;\n' ' if ! emaint sync --auto &> $synclog; then\n' ' Mail "WARN: sync failed for ::gentoo" $synclog;\n' " if grep -q -e 'git fetch error' -e ': Failed to " "connect to ' -e ': SSL connection timeout' -e ': " "Connection timed out'; then\n" ' last_sync=$EPOCHSECONDS;\n' ' return 1;\n' ' fi;\n' ' if ( echo -e "\\nTrying to restore ...\\n";\n' ' git stash;\n' ' git stash drop;\n' ' git restore . ) &>> $synclog; then\n' ' if ! emaint sync --auto &>> $synclog; then\n' ' Finish 13 "still unfixed ::gentoo" $synclog;\n' ' else\n' ' Mail "INFO: fixed ::gentoo" $synclog;\n' ' fi;\n' ' else\n' ' Finish 13 "cannot restore ::gentoo" $synclog;\n' ' fi;\n' ' fi;\n' ' last_sync=$EPOCHSECONDS;\n' " if grep -q -F '* An update to portage is " "available.' $synclog; then\n" ' add2backlog "sys-apps/portage";\n' ' fi;\n' " if grep -B 1 '=== Sync completed for gentoo' " "$synclog | grep -q 'Already up to date.'; then\n" ' return 0;\n' ' fi;\n' ' git diff --diff-filter="ACM" --name-only "@{ $(( ' 'EPOCHSECONDS-last_sync+3600 )) second ago }".."@{ 1 ' 'hour ago }" | grep -F -e \'/files/\' -e \'.ebuild\' ' "-e 'Manifest' | cut -f1-2 -d'/' -s | grep -v -f " '/mnt/tb/data/IGNORE_PACKAGES | sort -u > ' '/tmp/syncRepo.upd;\n' ' if [[ -s /tmp/syncRepo.upd ]]; then\n' ' sort -u /tmp/syncRepo.upd /var/tmp/tb/backlog.upd | ' 'shuf > /tmp/backlog.upd;\n' ' cp /tmp/backlog.upd /var/tmp/tb/backlog.upd;\n' ' fi\n' '}', 'BOOTSTRAP_USE': 'unicode internal-glib pkg-config split-usr xml ' 'python_targets_python3_9 multilib systemd udev', 'BROOT': '', 'BROWSER': 'xdg-open', 'BUILD_PREFIX': '/var/tmp/portage', 'CALLIGRA_FEATURES': '', 'CAMERAS': '', 'CARGO_TERM_COLOR': 'never', 'CATEGORY': 'app-admin', 'CATKIN_PREFIX_PATH': '/usr', 'CBUILD': 'x86_64-pc-linux-gnu', 'CCACHE_DISABLE': '1', 'CFLAGS': '-pipe -march=native -fno-diagnostics-color -O2', 'CFLAGS_amd64': '-m64', 'CFLAGS_x32': '-mx32', 'CFLAGS_x86': '-m32', 'CG_COMPILER_EXE': '/opt/bin/cgc', 'CG_INC_PATH': '/opt/nvidia-cg-toolkit/include', 'CG_LIB_PATH': '/opt/nvidia-cg-toolkit/lib64', 'CHOST': 'x86_64-pc-linux-gnu', 'CHOST_amd64': 'x86_64-pc-linux-gnu', 'CHOST_default': 'x86_64-pc-linux-gnu', 'CHOST_x32': 'x86_64-pc-linux-gnux32', 'CHOST_x86': 'i686-pc-linux-gnu', 'COLLECTD_PLUGINS': '', 'COLUMNS': '80', 'CPU_FLAGS_ARM': '', 'CPU_FLAGS_PPC': '', 'CPU_FLAGS_X86': '', 'CTARGET_default': 'x86_64-pc-linux-gnu', 'CURL_SSL': '', 'CXXFLAGS': '-pipe -march=native -fno-diagnostics-color -O2', 'D': '/var/tmp/portage/app-admin/yadm-3.2.1/image', 'DATAPLOT_FILES': '/usr/share/dataplot', 'DATAPLOT_WEB': 'OFF', 'DCC_EMAILLOG_WHOM_TO_BLAME': '', 'DEFAULT_ABI': 'amd64', 'DEFINED_PHASES': ' compile install setup test', 'DIALIGN2_DIR': '/usr/share/dialign2', 'DIROPTIONS': '-m0755', 'DISTCC_ENABLE_DISCREPANCY_EMAIL': '', 'DISTCC_FALLBACK': '1', 'DISTCC_SAVE_TEMPS': '0', 'DISTCC_SSH': '', 'DISTCC_TCP_CORK': '', 'DISTCC_VERBOSE': '0', 'DISTDIR': '/var/tmp/portage/app-admin/yadm-3.2.1/distdir', 'DSM_CONFIG': '/etc/tivoli/dsm.opt', 'DSM_DIR': '/opt/tivoli/tsm/client/ba/bin', 'DSM_LOG': '/var/log/tsm', 'EAPI': '8', 'EBUILD': '/var/db/repos/gentoo/app-admin/yadm/yadm-3.2.1.ebuild', 'EBUILD_MASTER_PID': '21', 'EBUILD_PHASE': 'test', 'EBUILD_PHASE_FUNC': 'src_test', 'EC2_AMITOOL_HOME': '/usr', 'ECLASS_DEPTH': '0', 'ED': '/var/tmp/portage/app-admin/yadm-3.2.1/image', 'EDITOR': '/bin/nano', 'EGO_BUILD_FLAGS': '-p 4', 'ELIBC': 'glibc', 'EMERGE_FROM': 'ebuild', 'ENV_UNSET': 'CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH ' 'PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT ' 'XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME ' 'XDG_RUNTIME_DIR', 'EPREFIX': '', 'EPYTHON': 'python3.9', 'EROOT': '', 'ESYSROOT': '', 'ETCKEEPER_CONF_DIR': '/etc/etckeeper', 'EXEOPTIONS': '-m0755', 'FCFLAGS': '-pipe -march=native -fno-diagnostics-color -O2', 'FEATURES': 'assume-digests binpkg-docompress binpkg-dostrip binpkg-logs ' 'buildpkg-live cgroup config-protect-if-modified distlocks ' 'ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict ' 'network-sandbox parallel-fetch pid-sandbox preserve-libs ' 'protect-owned qa-unresolved-soname-deps sandbox sfperms strict ' 'test unknown-features-warn unmerge-logs unmerge-orphans ' 'userfetch userpriv usersandbox usersync xattr', 'FETCHCOMMAND_SSH': 'bash -c "x=\\${2#ssh://} ; host=\\${x%%/*} ; ' 'port=\\${host##*:} ; host=\\${host%:*} ; [[ \\${host} = ' '\\${port} ]] && port= ; exec rsync --rsh=\\"ssh ' '\\${port:+-p\\${port}} \\${3}\\" -avP ' '\\"\\${host}:/\\${x#*/}\\" \\"\\$1\\"" rsync ' '"${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"', 'FFLAGS': '-pipe -march=native -fno-diagnostics-color -O2', 'FFTOOLS': '', 'FILESDIR': '/var/tmp/portage/app-admin/yadm-3.2.1/files', 'FLTK_DOCDIR': '/usr/share/doc/fltk-1.3.5-r4/html', 'G4ABLADATA': '/usr/share/geant4/data/G4ABLA3.1', 'G4ENSDFSTATEDATA': '/usr/share/geant4/data/G4ENSDFSTATE2.3', 'G4INCLDATA': '/usr/share/geant4/data/G4INCL1.0', 'G4LEDATA': '/usr/share/geant4/data/G4EMLOW8.0', 'G4LEVELGAMMADATA': '/usr/share/geant4/data/PhotonEvaporation5.7', 'G4NEUTRONHPDATA': '/usr/share/geant4/data/G4NDL4.6', 'G4PARTICLEHPDATA': '/usr/share/geant4/data/G4TENDL1.4', 'G4PARTICLEXSDATA': '/usr/share/geant4/data/G4PARTICLEXS4.0', 'G4PIIDATA': '/usr/share/geant4/data/G4PII1.3', 'G4RADIOACTIVEDATA': '/usr/share/geant4/data/RadioactiveDecay5.6', 'G4REALSURFACEDATA': '/usr/share/geant4/data/RealSurface2.2', 'G4SAIDXSDATA': '/usr/share/geant4/data/G4SAIDDATA2.0', 'GCC_COLORS': '', 'GCC_SPECS': '', 'GIT_CONFIG_GLOBAL': '/var/tmp/portage/app-admin/yadm-3.2.1/homedir/.gitconfig', 'GIT_CONFIG_NOSYSTEM': '1', 'GIT_PAGER': 'cat', 'GNUPGHOME': local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/gnupghome0'), 'GO19CONCURRENTCOMPILATION': '0', 'GOMAXPROCS': '4', 'GPSD_PROTOCOLS': '', 'GRUB_PLATFORMS': '', 'GSETTINGS_BACKEND': 'dconf', 'HOME': '/var/tmp/portage/app-admin/yadm-3.2.1/homedir', 'INHERITED': ' toolchain-funcs multilib bash-completion-r1 multiprocessing ' 'python-utils-r1 python-any-r1', 'INPUT_DEVICES': '', 'INSOPTIONS': '-m0644', 'IUSE_EFFECTIVE': 'abi_x86_64 alpha amd64 amd64-linux arm arm64 arm64-macos ' 'elibc_Cygwin elibc_Darwin elibc_SunOS elibc_Winnt ' 'elibc_bionic elibc_glibc elibc_mingw elibc_musl hppa ia64 ' 'kernel_Darwin kernel_SunOS kernel_Winnt kernel_linux m68k ' 'mips ppc ppc-macos ppc64 ppc64-linux prefix prefix-guest ' 'prefix-stack riscv s390 sparc sparc-solaris ' 'sparc64-solaris test userland_BSD userland_GNU x64-cygwin ' 'x64-macos x64-solaris x64-winnt x86 x86-linux x86-solaris ' 'x86-winnt', 'IUSE_IMPLICIT': 'abi_x86_64 prefix prefix-guest prefix-stack', 'JAVAC': '/etc/java-config-2/current-system-vm/bin/javac', 'JAVA_HOME': '/etc/java-config-2/current-system-vm', 'JDK_HOME': '/etc/java-config-2/current-system-vm', 'KERNEL': 'linux', 'KERNEL_ABI': 'amd64', 'KEYWORDS': '~amd64 ~ppc64 ~x86', 'L10N': '', 'LAMMPS_POTENTIALS': '/usr/share/lammps/potentials', 'LANG': 'C.UTF8', 'LCD_DEVICES': '', 'LC_COLLATE': 'C', 'LC_MESSAGES': 'C', 'LDFLAGS': '-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0', 'LDFLAGS_amd64': '-m elf_x86_64', 'LDFLAGS_x32': '-m elf32_x86_64', 'LDFLAGS_x86': '-m elf_i386', 'LD_PRELOAD': 'libsandbox.so', 'LESS': '-R -M --shift 5', 'LESSOPEN': '|lesspipe %s', 'LIBDIR_amd64': 'lib64', 'LIBDIR_default': 'lib', 'LIBDIR_x32': 'libx32', 'LIBDIR_x86': 'lib', 'LIBOPTIONS': '-m0644', 'LIBREOFFICE_EXTENSIONS': '', 'LICENSE': 'GPL-3+', 'LLVM_TARGETS': '', 'LOGNAME': 'portage', 'LUA_SINGLE_TARGET': '', 'LUA_TARGETS': '', 'MAILTO': 'tinderbox', 'MAKEOPTS': '-j4', 'MANPAGER': 'manpager', 'MERGE_TYPE': 'source', 'MONKEYD_PLUGINS': '', 'MOPREFIX': 'yadm', 'MOZ_GMP_PATH': '/usr/lib64/nsbrowser/plugins/gmp-gmpopenh264/system-installed', 'MSI2LMP_LIBRARY': '/usr/share/lammps/frc_files', 'MULTILIB_ABIS': 'amd64 x86', 'MULTILIB_STRICT_DENY': '64-bit.*shared object', 'MULTILIB_STRICT_DIRS': '/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 ' '/usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib ' '/usr/X11R6/lib32 /usr/X11R6/lib', 'MULTILIB_STRICT_EXEMPT': '(perl5|gcc|binutils|eclipse-3|debug|portage|udev|systemd|clang|python-exec|llvm)', 'NGINX_MODULES_HTTP': '', 'NGINX_MODULES_MAIL': '', 'NGINX_MODULES_STREAM': '', 'NOCOLOR': 'true', 'OCAML_COLOR': 'never', 'OFED_DRIVERS': '', 'OFFICE_IMPLEMENTATION': '', 'OLDPWD': '/var/tmp/portage/app-admin/yadm-3.2.1/empty', 'OMP_DYNAMIC': 'FALSE', 'OMP_NESTED': 'FALSE', 'OMP_NUM_THREADS': '4', 'OPENMPI_FABRICS': '', 'OPENMPI_OFED_FEATURES': '', 'OPENMPI_RM': '', 'ORACLE_HOME': '/usr/lib64/oracle/client', 'P': 'yadm-3.2.1', 'PAGER': 'cat', 'PATH': '/var/tmp/portage/app-admin/yadm-3.2.1/temp/python3.9/bin:/usr/lib/portage/python3.9/ebuild-helpers/xattr:/usr/lib/portage/python3.9/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/14/bin:/usr/lib/llvm/13/bin:/usr/lib/llvm/12/bin:/opt/nvidia-cg-toolkit/bin', 'PAX_MARKINGS': 'none', 'PF': 'yadm-3.2.1', 'PHP_TARGETS': '', 'PKGDIR': '/var/cache/binpkgs', 'PKGSYSTEM_ENABLE_FSYNC': '0', 'PKGUSE': '', 'PKG_CONFIG_PATH': '/var/tmp/portage/app-admin/yadm-3.2.1/temp/python3.9/pkgconfig', 'PKG_LOGDIR': '/var/tmp/portage/app-admin/yadm-3.2.1/temp/logging', 'PKG_TMPDIR': '/var/tmp/portage/._unmerge_', 'PM_EBUILD_HOOK_DIR': '/etc/portage/env', 'PN': 'yadm', 'PORTAGE_ACTUAL_DISTDIR': '/var/cache/distfiles', 'PORTAGE_ARCHLIST': 'alpha amd64 amd64-linux arm arm-linux arm64 arm64-linux ' 'arm64-macos hppa ia64 m68k mips ppc ppc-macos ppc64 ' 'ppc64-linux riscv s390 sparc sparc-solaris ' 'sparc64-solaris x64-cygwin x64-macos x64-solaris ' 'x64-winnt x86 x86-linux x86-solaris x86-winnt', 'PORTAGE_BASHRC': '/etc/portage/bashrc', 'PORTAGE_BASHRC_FILES': '/var/db/repos/gentoo/profiles/default/linux/amd64/17.1/profile.bashrc', 'PORTAGE_BIN_PATH': '/usr/lib/portage/python3.9', 'PORTAGE_BUILDDIR': '/var/tmp/portage/app-admin/yadm-3.2.1', 'PORTAGE_BUILD_GROUP': 'portage', 'PORTAGE_BUILD_USER': 'portage', 'PORTAGE_BZIP2_COMMAND': 'bzip2', 'PORTAGE_COLORMAP': "PORTAGE_COLOR_BAD=$'\x1b[31;01m'\n" "PORTAGE_COLOR_BRACKET=$'\x1b[34;01m'\n" "PORTAGE_COLOR_ERR=$'\x1b[31;01m'\n" "PORTAGE_COLOR_GOOD=$'\x1b[32;01m'\n" "PORTAGE_COLOR_HILITE=$'\x1b[36m'\n" "PORTAGE_COLOR_INFO=$'\x1b[32m'\n" "PORTAGE_COLOR_LOG=$'\x1b[32;01m'\n" "PORTAGE_COLOR_NORMAL=$'\x1b[0m'\n" "PORTAGE_COLOR_QAWARN=$'\x1b[33m'\n" "PORTAGE_COLOR_WARN=$'\x1b[33;01m'", 'PORTAGE_COMPRESSION_COMMAND': 'bzip2', 'PORTAGE_COMPRESS_EXCLUDE_SUFFIXES': 'css gif htm[l]? jp[e]?g js pdf png', 'PORTAGE_CONFIGROOT': '/', 'PORTAGE_DEBUG': '0', 'PORTAGE_DEPCACHEDIR': '/var/cache/edb/dep', 'PORTAGE_DOCOMPRESS_SIZE_LIMIT': '128', 'PORTAGE_FEATURES': 'assume-digests binpkg-docompress binpkg-dostrip ' 'binpkg-logs buildpkg-live cgroup ' 'config-protect-if-modified distlocks ebuild-locks ' 'fixlafiles ipc-sandbox merge-sync multilib-strict ' 'network-sandbox parallel-fetch pid-sandbox preserve-libs ' 'protect-owned qa-unresolved-soname-deps sandbox sfperms ' 'strict test unknown-features-warn unmerge-logs ' 'unmerge-orphans userfetch userpriv usersandbox usersync ' 'xattr', 'PORTAGE_GID': '250', 'PORTAGE_INST_GID': '0', 'PORTAGE_INST_UID': '0', 'PORTAGE_INTERNAL_CALLER': '1', 'PORTAGE_IPC_DAEMON': '1', 'PORTAGE_LOG_FILE': '/var/log/portage/app-admin:yadm-3.2.1:20220403-154301.log', 'PORTAGE_OVERRIDE_EPREFIX': '', 'PORTAGE_PROPERTIES': '', 'PORTAGE_PYM_PATH': '/usr/lib/python3.9/site-packages', 'PORTAGE_PYTHON': '/usr/bin/python3.9', 'PORTAGE_PYTHONPATH': '/usr/lib/python3.9/site-packages', 'PORTAGE_REPOSITORIES': '[DEFAULT]\n' 'auto-sync = yes\n' 'main-repo = gentoo\n' 'strict-misc-digests = true\n' 'sync-allow-hardlinks = true\n' 'sync-openpgp-key-refresh = true\n' 'sync-rcu = false\n' '\n' '[gentoo]\n' 'auto-sync = yes\n' 'location = /var/db/repos/gentoo\n' 'masters = \n' 'priority = -1000\n' 'strict-misc-digests = true\n' 'sync-allow-hardlinks = true\n' 'sync-openpgp-key-path = ' '/usr/share/openpgp-keys/gentoo-release.asc\n' 'sync-openpgp-key-refresh = true\n' 'sync-openpgp-key-refresh-retry-count = 40\n' 'sync-openpgp-key-refresh-retry-delay-exp-base = 2\n' 'sync-openpgp-key-refresh-retry-delay-max = 60\n' 'sync-openpgp-key-refresh-retry-delay-mult = 4\n' 'sync-openpgp-key-refresh-retry-overall-timeout = ' '1200\n' 'sync-openpgp-keyserver = hkps://keys.gentoo.org\n' 'sync-rcu = false\n' 'sync-type = git\n' 'sync-uri = ' 'https://github.com/gentoo-mirror/gentoo.git\n', 'PORTAGE_REPO_NAME': 'gentoo', 'PORTAGE_RESTRICT': '', 'PORTAGE_SIGPIPE_STATUS': '141', 'PORTAGE_TMPDIR': '/var/tmp', 'PORTAGE_TMPFS': '/dev/shm', 'PORTAGE_VERBOSE': '1', 'PORTAGE_WORKDIR_MODE': '0700', 'PORTAGE_XATTR_EXCLUDE': 'btrfs.* security.evm security.ima \t' 'security.selinux system.nfs4_acl ' 'user.apache_handler \tuser.Beagle.* ' 'user.dublincore.* user.mime_encoding user.xdg.*', 'PORT_LOGDIR': '/var/log/portage', 'POSTGRES_TARGETS': '', 'PR': 'r0', 'PRELINK_PATH_MASK': '/usr/bin/bbkeys', 'PROFILE_ONLY_VARIABLES': 'ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND ' 'USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED ' 'USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC ' 'USE_EXPAND_VALUES_KERNEL ' 'USE_EXPAND_VALUES_USERLAND', 'PV': '3.2.1', 'PVR': '3.2.1', 'PWD': '/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1', 'PYTEST_ADDOPTS': '--color=no', 'PYTEST_CURRENT_TEST': 'test/test_encryption.py::test_offer_to_add[untracked_answer_n] ' '(call)', 'PYTHON': '/usr/bin/python3.9', 'PYTHONDONTWRITEBYTECODE': '1', 'PYTHON_SINGLE_TARGET': '', 'PYTHON_TARGETS': '', 'PY_FORCE_COLOR': '0', 'QEMU_SOFTMMU_TARGETS': '', 'QEMU_USER_TARGETS': '', 'QT_QPA_PLATFORMTHEME': 'qt5ct', 'RESUMECOMMAND_SSH': 'bash -c "x=\\${2#ssh://} ; host=\\${x%%/*} ; ' 'port=\\${host##*:} ; host=\\${host%:*} ; [[ \\${host} = ' '\\${port} ]] && port= ; exec rsync --rsh=\\"ssh ' '\\${port:+-p\\${port}} \\${3}\\" -avP ' '\\"\\${host}:/\\${x#*/}\\" \\"\\$1\\"" rsync ' '"${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"', 'RNAVIEW': '/usr/share/rnaview', 'ROOT': '', 'ROOTPATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/14/bin:/usr/lib/llvm/13/bin:/usr/lib/llvm/12/bin:/opt/nvidia-cg-toolkit/bin', 'ROS_MESSAGES': '', 'ROS_PACKAGE_PATH': '/usr/share/ros_packages', 'ROS_ROOT': '/usr/share/ros', 'RUBY_TARGETS': '', 'RUSTFLAGS': '-Ctarget-cpu=native -v', 'RUST_TEST_TASKS': '4', 'RUST_TEST_THREADS': '4', 'S': '/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1', 'SANDBOX_ACTIVE': 'armedandready', 'SANDBOX_BASHRC': '/usr/share/sandbox/sandbox.bashrc', 'SANDBOX_DEBUG': '0', 'SANDBOX_DEBUG_LOG': '/var/log/sandbox/sandbox-debug-4.log', 'SANDBOX_DENY': '', 'SANDBOX_LIB': 'libsandbox.so', 'SANDBOX_LOG': '/var/tmp/portage/app-admin/yadm-3.2.1/temp/sandbox.log', 'SANDBOX_MESSAGE_P@TH': '/proc/4/fd/2', 'SANDBOX_METHOD': 'any', 'SANDBOX_ON': '1', 'SANDBOX_PREDICT': '/var/tmp/portage/app-admin/yadm-3.2.1/homedir:/dev/crypto:/var/cache/man:/dev/random:/proc/self/coredump_filter:/dev/random:/proc/self/coredump_filter:/var/cache/fontconfig:/', 'SANDBOX_READ': '/:/var/tmp/portage', 'SANDBOX_VERBOSE': '1', 'SANDBOX_WRITE': ':/dev/console:/dev/fd:/dev/full:/dev/null:/dev/ptmx:/dev/pts/:/dev/pty:/dev/shm:/dev/tts:/dev/tty:/dev/vc/:/dev/zero:/proc/self/fd:/run/firejail:/tmp/:/usr/lib/cf:/usr/lib/conftest:/usr/lib32/cf:/usr/lib32/conftest:/usr/lib64/cf:/usr/lib64/conftest:/usr/tmp/:/usr/tmp/cf:/usr/tmp/conftest:/var/tmp/:/var/tmp/portage:/var/tmp/portage/app-admin/yadm-3.2.1/homedir/.bash_history', 'SANE_BACKENDS': '', 'SHELL': '/bin/bash', 'SHLVL': '1', 'SLOT': '0', 'SPARK_HOME': '/usr/lib/spark-3', 'SYMLINK_LIB': 'no', 'SYSROOT': '', 'T': '/var/tmp/portage/app-admin/yadm-3.2.1/temp', 'TEMP': '/var/tmp/portage/app-admin/yadm-3.2.1/temp', 'TERM': 'linux', 'TERMINFO': '/etc/terminfo', 'TERMINFO_DIRS': '/usr/share/st/terminfo', 'TINYSCHEMEINIT': '/usr/share/tinyscheme/init.scm', 'TMAKEPATH': '/usr/lib/tmake/linux-g++', 'TMP': '/var/tmp/portage/app-admin/yadm-3.2.1/temp', 'TMPDIR': '/var/tmp/portage/app-admin/yadm-3.2.1/temp', 'TNS_ADMIN': '/etc/oracle/', 'TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE': '1', 'UNCACHED_ERR_FD': '', 'USE': 'abi_x86_64 amd64 elibc_glibc kernel_linux test userland_GNU', 'USERLAND': 'GNU', 'USE_EXPAND': 'ABI_MIPS ABI_S390 ABI_X86 ADA_TARGET ALSA_CARDS ' 'APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS ' 'COLLECTD_PLUGINS CPU_FLAGS_ARM CPU_FLAGS_PPC CPU_FLAGS_X86 ' 'CURL_SSL ELIBC FFTOOLS GPSD_PROTOCOLS GRUB_PLATFORMS ' 'INPUT_DEVICES KERNEL L10N LCD_DEVICES LIBREOFFICE_EXTENSIONS ' 'LLVM_TARGETS LUA_SINGLE_TARGET LUA_TARGETS MONKEYD_PLUGINS ' 'NGINX_MODULES_HTTP NGINX_MODULES_MAIL NGINX_MODULES_STREAM ' 'OFED_DRIVERS OFFICE_IMPLEMENTATION OPENMPI_FABRICS ' 'OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS POSTGRES_TARGETS ' 'PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS ' 'QEMU_USER_TARGETS ROS_MESSAGES RUBY_TARGETS SANE_BACKENDS ' 'USERLAND UWSGI_PLUGINS VIDEO_CARDS VOICEMAIL_STORAGE ' 'XTABLES_ADDONS', 'USE_EXPAND_IMPLICIT': 'ARCH ELIBC KERNEL USERLAND', 'USE_EXPAND_UNPREFIXED': 'ARCH', 'USE_EXPAND_VALUES_ARCH': 'alpha amd64 amd64-linux arm arm64 arm64-macos hppa ' 'ia64 m68k mips ppc ppc64 ppc64-linux ppc-macos ' 'riscv s390 sparc sparc64-solaris sparc-solaris ' 'x64-cygwin x64-macos x64-solaris x64-winnt x86 ' 'x86-linux x86-solaris x86-winnt', 'USE_EXPAND_VALUES_ELIBC': 'bionic Cygwin Darwin glibc mingw musl SunOS Winnt', 'USE_EXPAND_VALUES_KERNEL': 'Darwin linux SunOS Winnt', 'USE_EXPAND_VALUES_USERLAND': 'BSD GNU', 'UWSGI_PLUGINS': '', 'VIDEO_CARDS': '', 'VOICEMAIL_STORAGE': '', 'WORKDIR': '/var/tmp/portage/app-admin/yadm-3.2.1/work', 'XARGS': 'xargs -r', 'XDG_CONFIG_DIRS': '/etc/xdg', 'XDG_CONFIG_HOME': '/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_home', 'XDG_DATA_DIRS': '/usr/local/share:/usr/share', 'XDG_DATA_HOME': '/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_data', 'XEHELPURL': '/usr/share/doc/xephem-4.1.0/html/xephem.html', 'XTABLES_ADDONS': '', '_': '/usr/bin/python3.9', '_E_DESTTREE_': '/usr', '_E_DOCDESTTREE_': '', '_E_EXEDESTTREE_': '', '_E_INSDESTTREE_': '', 'enable_year2038': 'no'} expect = [('add it now', 'n')] gnupg = GNUPG(home=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/gnupghome0'), pw=.register_gpg_password at 0x7f9b39043940>) paths = Paths(pgm='/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/yadm', root=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root'), remote=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/remote'), work=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/work'), xdg_data=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_data'), xdg_home=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_home'), data=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_data/yadm'), yadm=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_home/yadm'), hooks=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_home/yadm/hooks'), repo=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_data/yadm/repo.git'), archive=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_data/yadm/archive'), bootstrap=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_home/yadm/bootstrap'), config=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_home/yadm/config'), encrypt=local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_home/yadm/encrypt')) run = Runner(['expect']) runner = untracked = 'n' worktree_archive = local('/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/work/worktree-archive.tar.gpg') yadm_cmd = .command_list at 0x7f9b38e6bca0> test/test_encryption.py:419: AssertionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty shared Git repository in /var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_data/yadm/repo.git/ ---------------------------- Captured stderr setup ----------------------------- fatal: not a git repository: '/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/xdg_data/yadm/repo.git' ----------------------------- Captured stdout call ----------------------------- EXPECT:set timeout 2 spawn "/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/yadm" "encrypt" "--yadm-archive" "/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/work/worktree-archive.tar.gpg" expect { "add it now" {send "n\r"} timeout {close;exit 128} } expect eof foreach {pid spawnid os_error_flag value} [wait] break exit $value Runner(['expect']) RUN: code:128 RUN: input: set timeout 2 spawn "/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/yadm" "encrypt" "--yadm-archive" "/var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/work/worktree-archive.tar.gpg" expect { "add it now" {send "n\r"} timeout {close;exit 128} } expect eof foreach {pid spawnid os_error_flag value} [wait] break exit $value RUN: stdout: spawn /var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/yadm encrypt --yadm-archive /var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/work/worktree-archive.tar.gpg Encrypting the following files: extest/inglob1 globs dir globs file1 inc dir/inc file2 inc file1 Wrote new file: /var/tmp/portage/app-admin/yadm-3.2.1/temp/pytest-of-portage/pytest-0/test_offer_to_add_untracked_an1/root/work/worktree-archive.tar.gpg RUN: stderr: =============================== warnings summary =============================== ../../../../../../../usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:191 /usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:191: DeprecationWarning: The 'asyncio_mode' default value will change to 'strict' in future, please explicitly use 'asyncio_mode=strict' or 'asyncio_mode=auto' in pytest configuration file. config.issue_config_time_warning(LEGACY_MODE, stacklevel=2) ../../../../../../../usr/lib/python3.9/site-packages/_pytest/nodes.py:140 /usr/lib/python3.9/site-packages/_pytest/nodes.py:140: PytestRemovedIn8Warning: The (fspath: py.path.local) argument to MarkdownFile is deprecated. Please use the (path: pathlib.Path) argument instead. See https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path return super().__call__(*k, **kw) ../../../../../../../usr/lib/python3.9/site-packages/pytest_markdown/plugin.py:67 /usr/lib/python3.9/site-packages/pytest_markdown/plugin.py:67: ResourceWarning: unclosed file <_io.TextIOWrapper name='/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/README.md' mode='r' encoding='UTF-8'> self.ast = commonmark.Parser().parse(self.item.fspath.open().read()) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. ../../../../../../../usr/lib/python3.9/site-packages/pytest_markdown/plugin.py:67 /usr/lib/python3.9/site-packages/pytest_markdown/plugin.py:67: ResourceWarning: unclosed file <_io.TextIOWrapper name='/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/yadm.md' mode='r' encoding='UTF-8'> self.ast = commonmark.Parser().parse(self.item.fspath.open().read()) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. ../../../../../../../usr/lib/python3.9/site-packages/pytest_markdown/plugin.py:67 /usr/lib/python3.9/site-packages/pytest_markdown/plugin.py:67: ResourceWarning: unclosed file <_io.TextIOWrapper name='/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/completion/README.md' mode='r' encoding='UTF-8'> self.ast = commonmark.Parser().parse(self.item.fspath.open().read()) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. ../../../../../../../usr/lib/python3.9/site-packages/pytest_markdown/plugin.py:67 /usr/lib/python3.9/site-packages/pytest_markdown/plugin.py:67: ResourceWarning: unclosed file <_io.TextIOWrapper name='/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/contrib/hooks/README.md' mode='r' encoding='UTF-8'> self.ast = commonmark.Parser().parse(self.item.fspath.open().read()) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. ../../../../../../../usr/lib/python3.9/site-packages/pytest_markdown/plugin.py:67 /usr/lib/python3.9/site-packages/pytest_markdown/plugin.py:67: ResourceWarning: unclosed file <_io.TextIOWrapper name='/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/contrib/hooks/encrypt_with_checksums/README.md' mode='r' encoding='UTF-8'> self.ast = commonmark.Parser().parse(self.item.fspath.open().read()) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. ../../../../../../../usr/lib/python3.9/site-packages/pytest_markdown/plugin.py:67 /usr/lib/python3.9/site-packages/pytest_markdown/plugin.py:67: ResourceWarning: unclosed file <_io.TextIOWrapper name='/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/contrib/hooks/parsing_full_command_example/README.md' mode='r' encoding='UTF-8'> self.ast = commonmark.Parser().parse(self.item.fspath.open().read()) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. ../../../../../../../usr/lib/python3.9/site-packages/pytest_freezegun.py:17 /usr/lib/python3.9/site-packages/pytest_freezegun.py:17: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(pytest.__version__) < LooseVersion('3.6.0'): test/test_version.py::test_semantic_version /var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/test/test_version.py:15: ResourceWarning: unclosed file <_io.TextIOWrapper name='/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1/yadm' mode='r' encoding='UTF-8'> open(yadm).read()) Enable tracemalloc to get traceback where the object was allocated. See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED test/test_encryption.py::test_offer_to_add[untracked_answer_y] - Asser... FAILED test/test_encryption.py::test_offer_to_add[untracked_answer_n] - Asser... ==== 2 failed, 470 passed, 75 deselected, 10 warnings in 110.81s (0:01:50) ===== * ERROR: app-admin/yadm-3.2.1::gentoo failed (test phase): * pytest failed with python3.9 * * Call stack: * ebuild.sh, line 127: Called src_test * environment, line 2201: Called epytest * environment, line 1118: Called die * The specific snippet of code: * "${@}" || die -n "pytest failed with ${EPYTHON}"; * * If you need support, post the output of `emerge --info '=app-admin/yadm-3.2.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-admin/yadm-3.2.1::gentoo'`. * The complete build log is located at '/var/log/portage/app-admin:yadm-3.2.1:20220403-154301.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-admin/yadm-3.2.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/yadm-3.2.1/temp/environment'. * Working directory: '/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1' * S: '/var/tmp/portage/app-admin/yadm-3.2.1/work/yadm-3.2.1'