============================= test session starts ============================== platform linux -- Python 3.6.8, pytest-6.1.2, py-1.9.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /usr/lib/python3.6/site-packages/packit collecting ... collected 935 items tests/unit/test_actions.py::test_is_valid[get-current-version-True] PASSED [ 0%] tests/unit/test_actions.py::test_is_valid[create-patches-True] PASSED [ 0%] tests/unit/test_actions.py::test_is_valid[unknown-action-False] PASSED [ 0%] tests/unit/test_actions.py::test_is_valid[create_patches-False] PASSED [ 0%] tests/unit/test_actions.py::test_get_possible_values PASSED [ 0%] tests/unit/test_actions.py::test_get_action_from_name[get-current-version-ActionName.get_current_version] PASSED [ 0%] tests/unit/test_actions.py::test_get_action_from_name[create-patches-ActionName.create_patches] PASSED [ 0%] tests/unit/test_actions.py::test_get_action_from_name[unknown-action-None] PASSED [ 0%] tests/unit/test_actions.py::test_get_action_from_name[create_patches-None] PASSED [ 0%] tests/unit/test_api.py::TestPackitAPI::test_copr_web_build_url[user] PASSED [ 1%] tests/unit/test_api.py::TestPackitAPI::test_copr_web_build_url[group] PASSED [ 1%] tests/unit/test_base_git.py::test_has_action_upstream PASSED [ 1%] tests/unit/test_base_git.py::test_has_action_distgit PASSED [ 1%] tests/unit/test_base_git.py::test_with_action_non_defined PASSED [ 1%] tests/unit/test_base_git.py::test_with_action_defined PASSED [ 1%] tests/unit/test_base_git.py::test_with_action_working_dir PASSED [ 1%] tests/unit/test_base_git.py::test_run_action_hook_not_defined PASSED [ 1%] tests/unit/test_base_git.py::test_run_action_not_defined PASSED [ 1%] tests/unit/test_base_git.py::test_run_action_defined PASSED [ 2%] tests/unit/test_base_git.py::test_run_action_in_sandcastle SKIPPED [ 2%] tests/unit/test_base_git.py::test_run_action_more_actions PASSED [ 2%] tests/unit/test_base_git.py::test_get_output_from_action_not_defined PASSED [ 2%] tests/unit/test_cli.py::test_base_help PASSED [ 2%] tests/unit/test_cli.py::test_base_version PASSED [ 2%] tests/unit/test_cli.py::test_base_subcommand_direct[cmd_function0] PASSED [ 2%] tests/unit/test_cli.py::test_base_subcommand_direct[cmd_function1] PASSED [ 2%] tests/unit/test_cli.py::test_base_subcommand_direct[cmd_function2] PASSED [ 2%] tests/unit/test_cli.py::test_base_subcommand_help[propose-update] PASSED [ 2%] tests/unit/test_cli.py::test_base_subcommand_help[build] PASSED [ 3%] tests/unit/test_cli.py::test_base_subcommand_help[create-update] PASSED [ 3%] tests/unit/test_cli_utils.py::test_cover_packit_exception_decorator PASSED [ 3%] tests/unit/test_cli_utils.py::test_cover_packit_exception_decorator_attribute PASSED [ 3%] tests/unit/test_cli_utils.py::test_cover_packit_exception_decorator_exit_code_default PASSED [ 3%] tests/unit/test_cli_utils.py::test_cover_packit_exception_decorator_exit_code_keyboard_interrupt PASSED [ 3%] tests/unit/test_cli_utils.py::test_cover_packit_exception_decorator_exit_code_other_exception PASSED [ 3%] tests/unit/test_cli_utils.py::test_cover_packit_exception_decorator_exit_code_other_exception_override PASSED [ 3%] tests/unit/test_cli_utils.py::test_cover_packit_exception_decorator_exit_code_override PASSED [ 3%] tests/unit/test_cli_utils.py::test_cover_packit_exception_decorator_config_debug_false PASSED [ 4%] tests/unit/test_cli_utils.py::test_cover_packit_exception_decorator_config_debug_true PASSED [ 4%] tests/unit/test_cli_utils.py::test_cover_packit_exception_decorator_other_exception PASSED [ 4%] tests/unit/test_cli_utils.py::test_cover_packit_exception_decorator_other_exception_config_debug PASSED [ 4%] tests/unit/test_config.py::test_job_config_equal PASSED [ 4%] tests/unit/test_config.py::test_job_config_not_equal PASSED [ 4%] tests/unit/test_config.py::test_job_config_blah PASSED [ 4%] tests/unit/test_config.py::test_job_config_validate[raw0-False] PASSED [ 4%] tests/unit/test_config.py::test_job_config_validate[raw1-False] PASSED [ 4%] tests/unit/test_config.py::test_job_config_validate[raw2-False] PASSED [ 5%] tests/unit/test_config.py::test_job_config_validate[raw3-False] PASSED [ 5%] tests/unit/test_config.py::test_job_config_validate[raw4-False] PASSED [ 5%] tests/unit/test_config.py::test_job_config_validate[raw5-True] PASSED [ 5%] tests/unit/test_config.py::test_job_config_validate[raw6-True] PASSED [ 5%] tests/unit/test_config.py::test_job_config_parse[raw0-expected_config0] PASSED [ 5%] tests/unit/test_config.py::test_job_config_parse[raw1-expected_config1] PASSED [ 5%] tests/unit/test_config.py::test_job_config_parse[raw2-expected_config2] PASSED [ 5%] tests/unit/test_config.py::test_job_config_parse[raw3-expected_config3] PASSED [ 5%] tests/unit/test_config.py::test_job_config_parse[raw4-expected_config4] PASSED [ 5%] tests/unit/test_config.py::test_get_user_config PASSED [ 6%] tests/unit/test_config.py::test_get_user_config_new_authentication PASSED [ 6%] tests/unit/test_config.py::test_user_config_fork_token PASSED [ 6%] tests/unit/test_config.py::test_serialize_and_deserialize_job_config[config0] PASSED [ 6%] tests/unit/test_config.py::test_serialize_and_deserialize_job_config[config1] PASSED [ 6%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions[fedora-29-versions0] PASSED [ 6%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions[epel-8-versions1] PASSED [ 6%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions[fedora-rawhide-versions2] PASSED [ 6%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions[openmandriva-rolling-versions3] PASSED [ 6%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions[opensuse-leap-15.0-versions4] PASSED [ 7%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions[fedora-stable-versions5] PASSED [ 7%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions[fedora-development-versions6] PASSED [ 7%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions[fedora-all-versions7] PASSED [ 7%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions[centos-stream-versions8] PASSED [ 7%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions_from_multiple_values[names0-versions0] PASSED [ 7%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions_from_multiple_values[names1-versions1] PASSED [ 7%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions_from_multiple_values[names2-versions2] PASSED [ 7%] tests/unit/test_config_aliases.py::TestGetVersions::test_get_versions_empty_without_default PASSED [ 7%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[rawhide-targets0] PASSED [ 8%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[fedora-29-targets1] PASSED [ 8%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[epel-8-targets2] PASSED [ 8%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[fedora-rawhide-targets3] PASSED [ 8%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[openmandriva-rolling-targets4] PASSED [ 8%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[opensuse-leap-15.0-targets5] PASSED [ 8%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[centos-stream-targets6] PASSED [ 8%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[centos-stream-x86_64-targets7] PASSED [ 8%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[fedora-stable-targets8] PASSED [ 8%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[fedora-development-targets9] PASSED [ 8%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[fedora-29-x86_64-targets10] PASSED [ 9%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[fedora-29-aarch64-targets11] PASSED [ 9%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[fedora-29-i386-targets12] PASSED [ 9%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[fedora-stable-aarch64-targets13] PASSED [ 9%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[fedora-development-aarch64-targets14] PASSED [ 9%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets[fedora-all-targets15] PASSED [ 9%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets_invalid_input PASSED [ 9%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets_without_default PASSED [ 9%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets_from_multiple_values[names0-versions0] PASSED [ 9%] tests/unit/test_config_aliases.py::TestGetBuildTargets::test_get_build_targets_from_multiple_values[names1-versions1] PASSED [ 10%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches[fedora-29-branches0] PASSED [ 10%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches[fedora-rawhide-branches1] PASSED [ 10%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches[rawhide-branches2] PASSED [ 10%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches[master-branches3] PASSED [ 10%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches[f30-branches4] PASSED [ 10%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches[fedora-development-branches5] PASSED [ 10%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches[fedora-stable-branches6] PASSED [ 10%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches[epel-7-branches7] PASSED [ 10%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches[epel7-branches8] PASSED [ 11%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches[el6-branches9] PASSED [ 11%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches[epel-6-branches10] PASSED [ 11%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches[fedora-all-branches11] PASSED [ 11%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches_from_multiple_values[names0-versions0] PASSED [ 11%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches_from_multiple_values[names1-versions1] PASSED [ 11%] tests/unit/test_config_aliases.py::TestGetBranches::test_get_branches_without_default PASSED [ 11%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[dist-6E-epel] PASSED [ 11%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[dist-6E-epel-build0] PASSED [ 11%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[dist-6E-epel-testing-candidate0] PASSED [ 11%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[dist-6E-epel-testing-candidate1] PASSED [ 12%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[dist-6E-epel-build1] PASSED [ 12%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[dist-6E-epel-testing-candidate2] PASSED [ 12%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[el6-candidate] PASSED [ 12%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[dist-6E-epel-build2] PASSED [ 12%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[dist-6E-epel-testing-candidate3] PASSED [ 12%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[eln] PASSED [ 12%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[eln-build0] PASSED [ 12%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[eln-updates-candidate0] PASSED [ 12%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[eln-candidate] PASSED [ 13%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[eln-build1] PASSED [ 13%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[eln-updates-candidate1] PASSED [ 13%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[eln-rebuild0] PASSED [ 13%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[eln-build2] PASSED [ 13%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[eln-rebuild1] PASSED [ 13%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel6-infra0] PASSED [ 13%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel6-infra1] PASSED [ 13%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel6-infra-candidate] PASSED [ 13%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel7] PASSED [ 14%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel7-build0] PASSED [ 14%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel7-testing-candidate0] PASSED [ 14%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel7-candidate] PASSED [ 14%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel7-build1] PASSED [ 14%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel7-testing-candidate1] PASSED [ 14%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel7-infra] PASSED [ 14%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel7-infra-build] PASSED [ 14%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel7-infra-candidate] PASSED [ 14%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel7-infra-mailman0] PASSED [ 14%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel7-infra-mailman1] PASSED [ 15%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel7-infra-mailman-candidate] PASSED [ 15%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8] PASSED [ 15%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-build0] PASSED [ 15%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-testing-candidate0] PASSED [ 15%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-candidate] PASSED [ 15%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-build1] PASSED [ 15%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-testing-candidate1] PASSED [ 15%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-infra] PASSED [ 15%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-infra-build] PASSED [ 16%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-infra-candidate] PASSED [ 16%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-playground] PASSED [ 16%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-playground-build0] PASSED [ 16%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-playground-pending0] PASSED [ 16%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-playground-candidate] PASSED [ 16%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-playground-build1] PASSED [ 16%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[epel8-playground-pending1] PASSED [ 16%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30] PASSED [ 16%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-build0] PASSED [ 17%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-updates-candidate0] PASSED [ 17%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-candidate] PASSED [ 17%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-build1] PASSED [ 17%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-updates-candidate1] PASSED [ 17%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-container-candidate] PASSED [ 17%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-container-build] PASSED [ 17%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-container-updates-candidate] PASSED [ 17%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-coreos-continuous0] PASSED [ 17%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-build2] PASSED [ 17%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-coreos-continuous1] PASSED [ 18%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-flatpak-candidate] PASSED [ 18%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-build3] PASSED [ 18%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-flatpak-updates-candidate] PASSED [ 18%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-infra] PASSED [ 18%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-infra-build] PASSED [ 18%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-infra-candidate] PASSED [ 18%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-kde0] PASSED [ 18%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-kde1] PASSED [ 18%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-kde2] PASSED [ 19%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-rebuild0] PASSED [ 19%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-build4] PASSED [ 19%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f30-rebuild1] PASSED [ 19%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31] PASSED [ 19%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build0] PASSED [ 19%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-updates-candidate0] PASSED [ 19%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-186300] PASSED [ 19%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-186301] PASSED [ 19%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-186302] PASSED [ 20%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-232080] PASSED [ 20%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-232081] PASSED [ 20%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-232082] PASSED [ 20%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-235280] PASSED [ 20%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-235281] PASSED [ 20%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-235282] PASSED [ 20%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-237310] PASSED [ 20%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-237311] PASSED [ 20%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-237312] PASSED [ 20%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-237450] PASSED [ 21%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-237451] PASSED [ 21%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build-side-237452] PASSED [ 21%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-candidate] PASSED [ 21%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build1] PASSED [ 21%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-updates-candidate1] PASSED [ 21%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-container-candidate] PASSED [ 21%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-container-build] PASSED [ 21%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-container-updates-candidate] PASSED [ 21%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-coreos-continuous0] PASSED [ 22%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build2] PASSED [ 22%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-coreos-continuous1] PASSED [ 22%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-flatpak-candidate] PASSED [ 22%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build3] PASSED [ 22%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-flatpak-updates-candidate] PASSED [ 22%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-infra] PASSED [ 22%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-infra-build] PASSED [ 22%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-infra-candidate] PASSED [ 22%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-kde0] PASSED [ 22%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-kde1] PASSED [ 23%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-kde2] PASSED [ 23%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-rebuild0] PASSED [ 23%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-build4] PASSED [ 23%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f31-rebuild1] PASSED [ 23%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32] PASSED [ 23%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build0] PASSED [ 23%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-updates-candidate0] PASSED [ 23%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-142330] PASSED [ 23%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-142331] PASSED [ 24%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-142332] PASSED [ 24%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-180490] PASSED [ 24%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-180491] PASSED [ 24%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-180492] PASSED [ 24%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-183140] PASSED [ 24%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-183141] PASSED [ 24%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-183142] PASSED [ 24%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-198630] PASSED [ 24%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-198631] PASSED [ 25%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-198632] PASSED [ 25%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-198940] PASSED [ 25%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-198941] PASSED [ 25%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-198942] PASSED [ 25%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-203630] PASSED [ 25%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-203631] PASSED [ 25%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-203632] PASSED [ 25%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-230720] PASSED [ 25%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-230721] PASSED [ 25%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-230722] PASSED [ 26%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-230760] PASSED [ 26%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-230761] PASSED [ 26%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-230762] PASSED [ 26%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-231960] PASSED [ 26%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-231961] PASSED [ 26%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-231962] PASSED [ 26%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-235260] PASSED [ 26%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-235261] PASSED [ 26%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-235262] PASSED [ 27%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-236400] PASSED [ 27%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-236401] PASSED [ 27%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-236402] PASSED [ 27%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-237290] PASSED [ 27%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-237291] PASSED [ 27%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-237292] PASSED [ 27%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-237390] PASSED [ 27%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-237391] PASSED [ 27%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-237392] PASSED [ 28%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-237430] PASSED [ 28%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-237431] PASSED [ 28%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-237432] PASSED [ 28%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-237810] PASSED [ 28%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-237811] PASSED [ 28%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-237812] PASSED [ 28%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-238010] PASSED [ 28%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-238011] PASSED [ 28%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-238012] PASSED [ 28%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-238670] PASSED [ 29%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-238671] PASSED [ 29%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build-side-238672] PASSED [ 29%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-candidate] PASSED [ 29%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build1] PASSED [ 29%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-updates-candidate1] PASSED [ 29%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-container-candidate] PASSED [ 29%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-container-build] PASSED [ 29%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-container-updates-candidate] PASSED [ 29%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-coreos-continuous0] PASSED [ 30%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build2] PASSED [ 30%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-coreos-continuous1] PASSED [ 30%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-flatpak-candidate] PASSED [ 30%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build3] PASSED [ 30%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-flatpak-updates-candidate] PASSED [ 30%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-gnome0] PASSED [ 30%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-gnome1] PASSED [ 30%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-gnome2] PASSED [ 30%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-infra] PASSED [ 31%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-infra-build] PASSED [ 31%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-infra-candidate] PASSED [ 31%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-kde0] PASSED [ 31%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-kde1] PASSED [ 31%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-kde2] PASSED [ 31%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-rebuild0] PASSED [ 31%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-build4] PASSED [ 31%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f32-rebuild1] PASSED [ 31%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33] PASSED [ 31%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build0] PASSED [ 32%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-updates-candidate0] PASSED [ 32%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-219820] PASSED [ 32%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-219821] PASSED [ 32%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-219822] PASSED [ 32%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-223290] PASSED [ 32%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-223291] PASSED [ 32%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-223292] PASSED [ 32%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-223370] PASSED [ 32%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-223371] PASSED [ 33%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-223372] PASSED [ 33%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-234660] PASSED [ 33%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-234661] PASSED [ 33%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-234662] PASSED [ 33%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235440] PASSED [ 33%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235441] PASSED [ 33%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235442] PASSED [ 33%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235640] PASSED [ 33%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235641] PASSED [ 34%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235642] PASSED [ 34%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235720] PASSED [ 34%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235721] PASSED [ 34%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235722] PASSED [ 34%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235780] PASSED [ 34%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235781] PASSED [ 34%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235782] PASSED [ 34%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235800] PASSED [ 34%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235801] PASSED [ 34%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-235802] PASSED [ 35%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236220] PASSED [ 35%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236221] PASSED [ 35%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236222] PASSED [ 35%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236280] PASSED [ 35%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236281] PASSED [ 35%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236282] PASSED [ 35%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236320] PASSED [ 35%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236321] PASSED [ 35%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236322] PASSED [ 36%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236340] PASSED [ 36%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236341] PASSED [ 36%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236342] PASSED [ 36%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236360] PASSED [ 36%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236361] PASSED [ 36%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236362] PASSED [ 36%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236770] PASSED [ 36%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236771] PASSED [ 36%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236772] PASSED [ 37%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236950] PASSED [ 37%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236951] PASSED [ 37%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-236952] PASSED [ 37%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237150] PASSED [ 37%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237151] PASSED [ 37%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237152] PASSED [ 37%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237230] PASSED [ 37%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237231] PASSED [ 37%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237232] PASSED [ 37%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237370] PASSED [ 38%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237371] PASSED [ 38%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237372] PASSED [ 38%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237410] PASSED [ 38%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237411] PASSED [ 38%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237412] PASSED [ 38%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237850] PASSED [ 38%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237851] PASSED [ 38%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237852] PASSED [ 38%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237890] PASSED [ 39%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237891] PASSED [ 39%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237892] PASSED [ 39%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237930] PASSED [ 39%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237931] PASSED [ 39%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-237932] PASSED [ 39%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238070] PASSED [ 39%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238071] PASSED [ 39%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238072] PASSED [ 39%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238210] PASSED [ 40%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238211] PASSED [ 40%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238212] PASSED [ 40%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238270] PASSED [ 40%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238271] PASSED [ 40%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238272] PASSED [ 40%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238290] PASSED [ 40%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238291] PASSED [ 40%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238292] PASSED [ 40%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238390] PASSED [ 40%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238391] PASSED [ 41%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238392] PASSED [ 41%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238470] PASSED [ 41%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238471] PASSED [ 41%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238472] PASSED [ 41%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238530] PASSED [ 41%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238531] PASSED [ 41%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238532] PASSED [ 41%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238630] PASSED [ 41%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238631] PASSED [ 42%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238632] PASSED [ 42%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238650] PASSED [ 42%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238651] PASSED [ 42%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238652] PASSED [ 42%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238690] PASSED [ 42%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238691] PASSED [ 42%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238692] PASSED [ 42%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238710] PASSED [ 42%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238711] PASSED [ 42%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build-side-238712] PASSED [ 43%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-candidate] PASSED [ 43%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build1] PASSED [ 43%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-updates-candidate1] PASSED [ 43%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-container-candidate] PASSED [ 43%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-container-build0] PASSED [ 43%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-container-updates-candidate0] PASSED [ 43%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-coreos-continuous0] PASSED [ 43%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build2] PASSED [ 43%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-coreos-continuous1] PASSED [ 44%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-infra] PASSED [ 44%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-infra-build] PASSED [ 44%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-infra-candidate] PASSED [ 44%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-nodejs140] PASSED [ 44%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-nodejs141] PASSED [ 44%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-nodejs142] PASSED [ 44%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-python0] PASSED [ 44%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-python1] PASSED [ 44%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-python2] PASSED [ 45%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-3a383ba0732c10550] PASSED [ 45%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-3a383ba0732c1055-build] PASSED [ 45%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-3a383ba0732c10551] PASSED [ 45%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-4e782003431f6e880] PASSED [ 45%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-4e782003431f6e88-build] PASSED [ 45%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-4e782003431f6e881] PASSED [ 45%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-512311f662441d1a0] PASSED [ 45%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-512311f662441d1a-build] PASSED [ 45%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-512311f662441d1a1] PASSED [ 45%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-5be2d05f123faa410] PASSED [ 46%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-5be2d05f123faa41-build] PASSED [ 46%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-5be2d05f123faa411] PASSED [ 46%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-5cd8370d3c6532d60] PASSED [ 46%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-5cd8370d3c6532d6-build] PASSED [ 46%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-5cd8370d3c6532d61] PASSED [ 46%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-8b08096c2be105f50] PASSED [ 46%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-8b08096c2be105f5-build] PASSED [ 46%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-8b08096c2be105f51] PASSED [ 46%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-8ca335b34e88ba660] PASSED [ 47%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-8ca335b34e88ba66-build] PASSED [ 47%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-8ca335b34e88ba661] PASSED [ 47%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-9721006f9645a4740] PASSED [ 47%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-9721006f9645a474-build] PASSED [ 47%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-9721006f9645a4741] PASSED [ 47%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-9cc85b1dc751823c0] PASSED [ 47%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-9cc85b1dc751823c-build] PASSED [ 47%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-9cc85b1dc751823c1] PASSED [ 47%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-b787c9c6bbefc5390] PASSED [ 48%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-b787c9c6bbefc539-build] PASSED [ 48%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-b787c9c6bbefc5391] PASSED [ 48%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-d11cd1edd3bcbf270] PASSED [ 48%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-d11cd1edd3bcbf27-build] PASSED [ 48%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-d11cd1edd3bcbf271] PASSED [ 48%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-d734ed3acfa7f7130] PASSED [ 48%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-d734ed3acfa7f713-build] PASSED [ 48%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-d734ed3acfa7f7131] PASSED [ 48%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-eclipse-latest-3020200402152434-d2c1e2720] PASSED [ 48%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-eclipse-latest-3020200402152434-d2c1e272-build] PASSED [ 49%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-eclipse-latest-3020200402152434-d2c1e2721] PASSED [ 49%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-nodejs-10-20180816111713-a5b0195c0] PASSED [ 49%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-nodejs-10-20180816111713-a5b0195c-build] PASSED [ 49%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-nodejs-10-20180816111713-a5b0195c1] PASSED [ 49%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-nodejs-8-20180816123422-a5b0195c0] PASSED [ 49%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-nodejs-8-20180816123422-a5b0195c-build] PASSED [ 49%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-nodejs-8-20180816123422-a5b0195c1] PASSED [ 49%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-postgresql-12-3120191125133933-f636be4b0] PASSED [ 49%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-postgresql-12-3120191125133933-f636be4b-build] PASSED [ 50%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[module-postgresql-12-3120191125133933-f636be4b1] PASSED [ 50%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[rawhide] PASSED [ 50%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-build3] PASSED [ 50%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-updates-candidate2] PASSED [ 50%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[rawhide-container-candidate] PASSED [ 50%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-container-build1] PASSED [ 50%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_koji_targets_single[f33-container-updates-candidate1] PASSED [ 50%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_preserve_all_koji_targets_together PASSED [ 50%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[fedora-29-targets0] PASSED [ 51%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[fedora-rawhide-targets1] PASSED [ 51%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[rawhide-targets2] PASSED [ 51%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[master-targets3] PASSED [ 51%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[f30-targets4] PASSED [ 51%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[fedora-development-targets5] PASSED [ 51%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[fedora-stable-targets6] PASSED [ 51%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[epel-7-targets7] PASSED [ 51%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[epel7-targets8] PASSED [ 51%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[el6-targets9] PASSED [ 51%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[epel-6-targets10] PASSED [ 52%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[fedora-all-targets11] PASSED [ 52%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets[epel-all-targets12] PASSED [ 52%] tests/unit/test_config_aliases.py::TestGetKojiTargets::test_get_koji_targets_without_default PASSED [ 52%] tests/unit/test_config_aliases.py::TestGetAllKojiTargets::test_get_all_koji_targets PASSED [ 52%] tests/unit/test_config_aliases.py::TestGetAliases::test_get_aliases[valid_bodhi_response] PASSED [ 52%] tests/unit/test_config_aliases.py::test_get_valid_build_targets[identical] PASSED [ 52%] tests/unit/test_config_aliases.py::test_get_valid_build_targets[some_common] PASSED [ 52%] tests/unit/test_config_aliases.py::test_get_valid_build_targets[none_common] PASSED [ 52%] tests/unit/test_config_aliases.py::test_get_valid_build_targets[one_empty] PASSED [ 53%] tests/unit/test_config_aliases.py::test_get_valid_build_targets[both_empty] PASSED [ 53%] tests/unit/test_config_aliases.py::test_get_valid_build_targets_get_aliases_call[name_set-default_set] PASSED [ 53%] tests/unit/test_config_aliases.py::test_get_valid_build_targets_get_aliases_call[name_set-default_None] PASSED [ 53%] tests/unit/test_config_aliases.py::test_get_valid_build_targets_get_aliases_call[name_None-default_set] PASSED [ 53%] tests/unit/test_config_aliases.py::test_get_valid_build_targets_get_aliases_call[name_None-default_None] PASSED [ 53%] tests/unit/test_copr_helper.py::TestCoprHelper::test_get_avilable_chroots[chroot_list] PASSED [ 53%] tests/unit/test_copr_helper.py::TestCoprHelper::test_get_avilable_chroots[empty_list] PASSED [ 53%] tests/unit/test_dg.py::test_pr_exists[Update-Upstream tag: 0.4.0\nUpstream commit: 6957453b-f31-prs0-True] PASSED [ 53%] tests/unit/test_dg.py::test_pr_exists[Update-Upstream tag: 0.4.0\nUpstream commit: 6957453b-f31-prs1-False] PASSED [ 54%] tests/unit/test_dg.py::test_pr_exists[Update-Upstream tag: 0.4.0\nUpstream commit: 6957453b-f32-prs2-False] PASSED [ 54%] tests/unit/test_git_utils.py::test_get_metadata_from_message[empty message] PASSED [ 54%] tests/unit/test_git_utils.py::test_get_metadata_from_message[one sentence] PASSED [ 54%] tests/unit/test_git_utils.py::test_get_metadata_from_message[one sentence with end-line] PASSED [ 54%] tests/unit/test_git_utils.py::test_get_metadata_from_message[one sentence with multiple end-lines] PASSED [ 54%] tests/unit/test_git_utils.py::test_get_metadata_from_message[two sentences0] PASSED [ 54%] tests/unit/test_git_utils.py::test_get_metadata_from_message[two sentences1] PASSED [ 54%] tests/unit/test_git_utils.py::test_get_metadata_from_message[one key-value] PASSED [ 54%] tests/unit/test_git_utils.py::test_get_metadata_from_message[one key-value with empty-line] PASSED [ 54%] tests/unit/test_git_utils.py::test_get_metadata_from_message[two key-values] PASSED [ 55%] tests/unit/test_git_utils.py::test_get_metadata_from_message[one sentence and one key-value with empty-line] PASSED [ 55%] tests/unit/test_git_utils.py::test_get_metadata_from_message[two sentences and one key-value0] PASSED [ 55%] tests/unit/test_git_utils.py::test_get_metadata_from_message[two sentences and one key-value with few empty lines] PASSED [ 55%] tests/unit/test_git_utils.py::test_get_metadata_from_message[two sentences and one key-value1] PASSED [ 55%] tests/unit/test_git_utils.py::test_get_metadata_from_message[sentence at the end] PASSED [ 55%] tests/unit/test_git_utils.py::test_get_metadata_from_message[list as a value] PASSED [ 55%] tests/unit/test_git_utils.py::test_get_metadata_from_message[list as a value in separate lines] PASSED [ 55%] tests/unit/test_git_utils.py::test_get_metadata_from_message[colon in the sentence] PASSED [ 55%] tests/unit/test_git_utils.py::test_get_metadata_from_message[colon in the sentence in the middle] PASSED [ 56%] tests/unit/test_git_utils.py::test_get_message_from_metadata[empty dict] PASSED [ 56%] tests/unit/test_git_utils.py::test_get_message_from_metadata[single key-value] FAILED [ 56%] tests/unit/test_git_utils.py::test_get_message_from_metadata[multiple key-values] FAILED [ 56%] tests/unit/test_load_authentication.py::test_with_deprecated_keys[github_app_id] PASSED [ 56%] tests/unit/test_load_authentication.py::test_with_deprecated_keys[github_app_cert_path] PASSED [ 56%] tests/unit/test_load_authentication.py::test_with_deprecated_keys[github_token] PASSED [ 56%] tests/unit/test_load_authentication.py::test_with_deprecated_keys[pagure_user_token] PASSED [ 56%] tests/unit/test_load_authentication.py::test_with_deprecated_keys[pagure_instance_url] PASSED [ 56%] tests/unit/test_load_authentication.py::test_with_deprecated_keys[pagure_fork_token] PASSED [ 57%] tests/unit/test_load_authentication.py::test_with_only_authentication PASSED [ 57%] tests/unit/test_load_authentication.py::test_with_both_authentication PASSED [ 57%] tests/unit/test_local_project.py::test_parse_repo_name_and_namespace_from_namespace PASSED [ 57%] tests/unit/test_local_project.py::test_parse_full_name_from_repo_and_namespace PASSED [ 57%] tests/unit/test_local_project.py::test_parse_git_repo_from_working_dir PASSED [ 57%] tests/unit/test_local_project.py::test_parse_git_project_from_repo_namespace_and_git_project PASSED [ 57%] tests/unit/test_local_project.py::test_parse_git_service_from_git_project PASSED [ 57%] tests/unit/test_local_project.py::test_parse_ref_from_git_repo PASSED [ 57%] tests/unit/test_local_project.py::test_parse_ref_from_git_repo_detached PASSED [ 57%] tests/unit/test_local_project.py::test_parse_working_dir_from_git_repo PASSED [ 58%] tests/unit/test_local_project.py::test_parse_git_repo_from_git_url PASSED [ 58%] tests/unit/test_local_project.py::test_parse_git_url_from_git_project PASSED [ 58%] tests/unit/test_local_project.py::test_parse_repo_name_from_git_project PASSED [ 58%] tests/unit/test_local_project.py::test_parse_namespace_from_git_project PASSED [ 58%] tests/unit/test_local_project.py::test_parse_git_url_from_git_repo PASSED [ 58%] tests/unit/test_local_project.py::test_parse_namespace_from_git_url PASSED [ 58%] tests/unit/test_local_project.py::test_clone_project_checkout_branch PASSED [ 58%] tests/unit/test_local_project.py::test_clone_project_checkout_new_branch PASSED [ 58%] tests/unit/test_local_project.py::test_working_dir_namespace_repo_name PASSED [ 59%] tests/unit/test_local_project.py::test_from_path_repo_name_git_service PASSED [ 59%] tests/unit/test_local_project.py::test_working_dir PASSED [ 59%] tests/unit/test_local_project.py::test_offline_git_project PASSED [ 59%] tests/unit/test_local_project.py::test_offline_git_service PASSED [ 59%] tests/unit/test_local_project.py::test_offline_no_clone PASSED [ 59%] tests/unit/test_local_project.py::test_offline_no_clone_no_temp_dir PASSED [ 59%] tests/unit/test_package_config.py::test_get_specfile_path_from_repo[files0-foo.spec] PASSED [ 59%] tests/unit/test_package_config.py::test_get_specfile_path_from_repo[files1-None] PASSED [ 59%] tests/unit/test_package_config.py::test_project_from_copr_build_job[package_config0-None] PASSED [ 60%] tests/unit/test_package_config.py::test_project_from_copr_build_job[package_config1-example] PASSED [ 60%] tests/unit/test_package_config.py::test_project_from_copr_build_job[package_config2-example1] PASSED [ 60%] tests/unit/test_package_config.py::test_package_config_equal PASSED [ 60%] tests/unit/test_package_config.py::test_package_config_not_equal[not_equal_package_config0] PASSED [ 60%] tests/unit/test_package_config.py::test_package_config_not_equal[not_equal_package_config1] PASSED [ 60%] tests/unit/test_package_config.py::test_package_config_not_equal[not_equal_package_config2] PASSED [ 60%] tests/unit/test_package_config.py::test_package_config_not_equal[not_equal_package_config3] PASSED [ 60%] tests/unit/test_package_config.py::test_package_config_validate[raw0-False] PASSED [ 60%] tests/unit/test_package_config.py::test_package_config_validate[raw1-True] PASSED [ 60%] tests/unit/test_package_config.py::test_package_config_validate[raw2-True] PASSED [ 61%] tests/unit/test_package_config.py::test_package_config_validate[raw3-True] PASSED [ 61%] tests/unit/test_package_config.py::test_package_config_validate[raw4-True] PASSED [ 61%] tests/unit/test_package_config.py::test_package_config_validate[raw5-True] PASSED [ 61%] tests/unit/test_package_config.py::test_package_config_validate[raw6-True] PASSED [ 61%] tests/unit/test_package_config.py::test_package_config_validate[raw7-True] PASSED [ 61%] tests/unit/test_package_config.py::test_package_config_validate[raw8-True] PASSED [ 61%] tests/unit/test_package_config.py::test_package_config_validate[raw9-False] PASSED [ 61%] tests/unit/test_package_config.py::test_package_config_validate[raw10-False] PASSED [ 61%] tests/unit/test_package_config.py::test_package_config_validate[raw11-True] PASSED [ 62%] tests/unit/test_package_config.py::test_package_config_validate[raw12-False] PASSED [ 62%] tests/unit/test_package_config.py::test_package_config_validate[raw13-False] PASSED [ 62%] tests/unit/test_package_config.py::test_package_config_validate_unknown_key[raw0-False] PASSED [ 62%] tests/unit/test_package_config.py::test_package_config_validate_unknown_key[raw1-False] PASSED [ 62%] tests/unit/test_package_config.py::test_package_config_parse_error[raw0] PASSED [ 62%] tests/unit/test_package_config.py::test_package_config_parse[specfile_path+synced_files+job_config_full+downstream_package_name+create_pr] PASSED [ 62%] tests/unit/test_package_config.py::test_package_config_parse[specfile_path+synced_files+job_config_dict_simple+downstream_package_name] PASSED [ 62%] tests/unit/test_package_config.py::test_package_config_parse[specfile_path+synced_files(spec_only)+job_config_full+downstream_package_name] PASSED [ 62%] tests/unit/test_package_config.py::test_package_config_parse[specfile_path+synced_files+job_config_full+downstream_package_name] PASSED [ 62%] tests/unit/test_package_config.py::test_package_config_parse[specfile_path+synced_files+job_config_dict_full+upstream_project_url+upstream_package_name+dist_git_base_url+downstream_package_name] PASSED [ 63%] tests/unit/test_package_config.py::test_package_config_parse[specfile_path+actions+empty_jobs+upstream_project_url+upstream_package_name+dist_git_base_url+downstream_package_name] PASSED [ 63%] tests/unit/test_package_config.py::test_package_config_parse[specfile_path+synced_files+downstream_package_name] FAILED [ 63%] tests/unit/test_package_config.py::test_package_config_parse[specfile_path+get_job_config_dict_build_for_branch] PASSED [ 63%] tests/unit/test_package_config.py::test_package_config_parse[sync_changelog_true] PASSED [ 63%] tests/unit/test_package_config.py::test_package_config_parse[sync_changelog_false_by_default] PASSED [ 63%] tests/unit/test_package_config.py::test_package_config_overrides[override-specfile_path] PASSED [ 63%] tests/unit/test_package_config.py::test_package_config_overrides[override-alot] PASSED [ 63%] tests/unit/test_package_config.py::test_package_config_overrides_bad[bad_actions] PASSED [ 63%] tests/unit/test_package_config.py::test_package_config_overrides_bad[bad_synced_files] PASSED [ 64%] tests/unit/test_package_config.py::test_package_config_upstream_and_downstream_package_names[raw0-expected0] PASSED [ 64%] tests/unit/test_package_config.py::test_dist_git_package_url FAILED [ 64%] tests/unit/test_package_config.py::test_get_package_config_from_repo[synced_files:\n - packit.spec\n - src: .packit.yaml\n dest: .packit2.yaml-project0-True-None-packit.spec] PASSED [ 64%] tests/unit/test_package_config.py::test_get_package_config_from_repo[synced_files:\n - packit.spec\n - src: .packit.yaml\n dest: .packit2.yaml-project1-False-packit.spec-packit.spec] PASSED [ 64%] tests/unit/test_package_config.py::test_get_package_config_from_repo_spec_file_not_defined[{}] PASSED [ 64%] tests/unit/test_package_config.py::test_get_package_config_from_repo_spec_file_not_defined[{jobs: [{job: build, trigger: commit}]}] PASSED [ 64%] tests/unit/test_package_config.py::test_get_package_config_from_repo_spec_file_not_defined[{downstream_package_name: horkyze, jobs: [{job: build, trigger: commit}]}] PASSED [ 64%] tests/unit/test_package_config.py::test_get_package_config_from_repo_spec_file_not_defined[{upstream_package_name: slize, jobs: [{job: build, trigger: commit}]}] PASSED [ 64%] tests/unit/test_package_config.py::test_get_all_files_to_sync[package_config0-all_synced_files0] PASSED [ 65%] tests/unit/test_package_config.py::test_get_all_files_to_sync[package_config1-all_synced_files1] PASSED [ 65%] tests/unit/test_package_config.py::test_get_all_files_to_sync[package_config2-all_synced_files2] PASSED [ 65%] tests/unit/test_package_config.py::test_get_all_files_to_sync[package_config3-all_synced_files3] PASSED [ 65%] tests/unit/test_package_config.py::test_notifications_section PASSED [ 65%] tests/unit/test_package_config.py::test_get_local_specfile_path PASSED [ 65%] tests/unit/test_package_config.py::test_serialize_and_deserialize[package_config0] PASSED [ 65%] tests/unit/test_package_config.py::test_serialize_and_deserialize[package_config1] PASSED [ 65%] tests/unit/test_package_config.py::test_serialize_and_deserialize[package_config2] PASSED [ 65%] tests/unit/test_security.py::test_commit_signature_status[N-CommitSignatureStatus.no_signature] PASSED [ 65%] tests/unit/test_security.py::test_commit_signature_status[B-CommitSignatureStatus.bad] PASSED [ 66%] tests/unit/test_security.py::test_commit_signature_status[G-CommitSignatureStatus.good_valid] PASSED [ 66%] tests/unit/test_security.py::test_commit_signature_status[U-CommitSignatureStatus.good_unknown_validity] PASSED [ 66%] tests/unit/test_security.py::test_get_commit_signature_status[N-CommitSignatureStatus.no_signature] PASSED [ 66%] tests/unit/test_security.py::test_get_commit_signature_status[B-CommitSignatureStatus.bad] PASSED [ 66%] tests/unit/test_security.py::test_get_commit_signature_status[G-CommitSignatureStatus.good_valid] PASSED [ 66%] tests/unit/test_security.py::test_get_commit_signature_status[U-CommitSignatureStatus.good_unknown_validity] PASSED [ 66%] tests/unit/test_security.py::test_commit_signature_status_validity[CommitSignatureStatus.no_signature-False] PASSED [ 66%] tests/unit/test_security.py::test_commit_signature_status_validity[CommitSignatureStatus.bad-False] PASSED [ 66%] tests/unit/test_security.py::test_commit_signature_status_validity[CommitSignatureStatus.good_valid-True] PASSED [ 67%] tests/unit/test_security.py::test_commit_signature_status_validity[CommitSignatureStatus.good_unknown_validity-True] PASSED [ 67%] tests/unit/test_security.py::test_check_signature_of_commit[a-G-allowed_keys0-local_keys0-True-0] PASSED [ 67%] tests/unit/test_security.py::test_check_signature_of_commit[a-B-allowed_keys1-local_keys1-False-0] PASSED [ 67%] tests/unit/test_security.py::test_check_signature_of_commit[a-G-allowed_keys2-local_keys2-False-0] PASSED [ 67%] tests/unit/test_security.py::test_check_signature_of_commit[a-B-allowed_keys3-local_keys3-False-0] PASSED [ 67%] tests/unit/test_security.py::test_check_signature_of_commit_not_present_key[None-N-None-allowed_keys0-local_keys0-None-False-0] PASSED [ 67%] tests/unit/test_security.py::test_check_signature_of_commit_not_present_key[a-E-G-allowed_keys1-local_keys1-local_keys_after_download1-True-1] PASSED [ 67%] tests/unit/test_security.py::test_check_signature_of_commit_not_present_key[a-E-G-allowed_keys2-local_keys2-local_keys_after_download2-True-4] PASSED [ 67%] tests/unit/test_security.py::test_check_signature_of_commit_not_present_key[a-E-B-allowed_keys3-local_keys3-local_keys_after_download3-False-1] PASSED [ 68%] tests/unit/test_security.py::test_check_signature_of_commit_key_not_found PASSED [ 68%] tests/unit/test_security.py::test_download_gpg_key_if_needed[A3E9A812AAB73DA7-True] PASSED [ 68%] tests/unit/test_security.py::test_download_gpg_key_if_needed[NOTEXISTING-False] PASSED [ 68%] tests/unit/test_sync.py::test_get_raw_files[file0-glob_files0-result0] PASSED [ 68%] tests/unit/test_sync.py::test_get_raw_files[file1-glob_files1-result1] PASSED [ 68%] tests/unit/test_sync.py::test_get_raw_files[file2-glob_files2-result2] PASSED [ 68%] tests/unit/test_sync.py::test_get_raw_files[file3-glob_files3-result3] PASSED [ 68%] tests/unit/test_unicodez.py::test_run_cmd_unicode PASSED [ 68%] tests/unit/test_upstream.py::test_create_pull[fork_username_set] PASSED [ 68%] tests/unit/test_upstream.py::test_create_pull[fork_username_None] PASSED [ 69%] tests/unit/test_upstream.py::test_get_commands_for_actions[str_command] PASSED [ 69%] tests/unit/test_upstream.py::test_get_commands_for_actions[list_command] PASSED [ 69%] tests/unit/test_upstream.py::test_get_commands_for_actions[list_in_list_command] PASSED [ 69%] tests/unit/test_upstream.py::test_get_commands_for_actions[two_str_commands_in_list] PASSED [ 69%] tests/unit/test_upstream.py::test_get_commands_for_actions[two_list_commands_in_list] PASSED [ 69%] tests/unit/test_upstream.py::test_get_commands_for_actions[one_str_and_one_list_command_in_list] PASSED [ 69%] tests/unit/test_upstream.py::test_fix_spec__setup_line[test1] PASSED [ 69%] tests/unit/test_upstream.py::test_get_current_version[with_action_output] PASSED [ 69%] tests/unit/test_upstream.py::test_get_current_version[command_valid_version] PASSED [ 70%] tests/unit/test_upstream.py::test_get_current_version[command_version_with_dash] PASSED [ 70%] tests/unit/test_upstream.py::test_get_current_version[tag_valid_version] PASSED [ 70%] tests/unit/test_upstream.py::test_get_current_version[tag_version_with_dash] PASSED [ 70%] tests/unit/test_upstream.py::test_get_version_from_tag[pure_version-valid_template] PASSED [ 70%] tests/unit/test_upstream.py::test_get_version_from_tag[valid_string-valid_template] PASSED [ 70%] tests/unit/test_upstream.py::test_get_version_from_tag[missing_version_in_template] PASSED [ 70%] tests/unit/test_upstream.py::test_get_version_from_tag[no_match_found] PASSED [ 70%] tests/unit/test_upstream.py::test_get_archive_root_dir[tar_archive] PASSED [ 70%] tests/unit/test_upstream.py::test_get_archive_root_dir[unknown_archive] PASSED [ 71%] tests/unit/test_upstream.py::test_get_tar_archive_dir[valid_archive] PASSED [ 71%] tests/unit/test_upstream.py::test_get_tar_archive_dir[valid_archive_no_separate_top_level] PASSED [ 71%] tests/unit/test_upstream.py::test_get_tar_archive_dir[invalid_archive_empty] PASSED [ 71%] tests/unit/test_upstream.py::test_get_tar_archive_dir[invalid_two_dirs] PASSED [ 71%] tests/unit/test_upstream.py::test_get_tar_archive_dir[warning_file_in_root] PASSED [ 71%] tests/unit/test_upstream.py::test_get_archive_root_dir_from_template[default] PASSED [ 71%] tests/unit/test_upstream.py::test_get_archive_root_dir_from_template[custom] PASSED [ 71%] tests/unit/test_upstream.py::test_get_archive_root_dir_from_template[unknown_tag] PASSED [ 71%] tests/unit/test_upstream.py::test_get_archive_root_dir_from_template[static_template] PASSED [ 71%] tests/unit/test_utils.py::test_get_ns_repo[https://github.com/org/name-org-name] PASSED [ 72%] tests/unit/test_utils.py::test_get_ns_repo[https://github.com/org/name/-org-name] PASSED [ 72%] tests/unit/test_utils.py::test_get_ns_repo[https://github.com/org/name.git-org-name] PASSED [ 72%] tests/unit/test_utils.py::test_get_ns_repo[git@github.com:org/name-org-name] PASSED [ 72%] tests/unit/test_utils.py::test_get_ns_repo[git@github.com:org/name.git-org-name] PASSED [ 72%] tests/unit/test_utils.py::test_get_ns_repo_exc PASSED [ 72%] tests/unit/test_utils.py::test_remote_to_https_invalid[/] PASSED [ 72%] tests/unit/test_utils.py::test_remote_to_https_invalid[None] PASSED [ 72%] tests/unit/test_utils.py::test_remote_to_https_invalid[] PASSED [ 72%] tests/unit/test_utils.py::test_remote_to_https_unchanged[https://github.com/packit/packit] PASSED [ 73%] tests/unit/test_utils.py::test_remote_to_https_unchanged[https://github.com/packit/packit.git] PASSED [ 73%] tests/unit/test_utils.py::test_remote_to_https_unchanged[http://github.com/packit/packit] PASSED [ 73%] tests/unit/test_utils.py::test_remote_to_https_unchanged[http://github.com/packit/packit.git] PASSED [ 73%] tests/unit/test_utils.py::test_remote_to_https_unchanged[http://www.github.com/packit/packit] PASSED [ 73%] tests/unit/test_utils.py::test_remote_to_https[git@github.com:packit/ogr-https://github.com/packit/ogr] PASSED [ 73%] tests/unit/test_utils.py::test_remote_to_https[ssh://ttomecek@pkgs.fedoraproject.org/rpms/alot.git-https://pkgs.fedoraproject.org/rpms/alot.git] PASSED [ 73%] tests/unit/test_utils.py::test_remote_to_https[www.github.com/packit/packit-https://www.github.com/packit/packit] PASSED [ 73%] tests/unit/test_utils.py::test_remote_to_https[github.com/packit/packit-https://github.com/packit/packit] PASSED [ 73%] tests/unit/test_utils.py::test_remote_to_https[git://github.com/packit/packit-https://github.com/packit/packit] PASSED [ 74%] tests/unit/test_utils.py::test_remote_to_https[git+https://github.com/packit/packit.git-https://github.com/packit/packit.git] PASSED [ 74%] tests/unit/test_utils.py::test_run_command_w_env PASSED [ 74%] tests/unit/test_utils.py::test_get_packit_version_not_installed PASSED [ 74%] tests/unit/test_utils.py::test_get_packit_version PASSED [ 74%] tests/unit/test_utils.py::test_ensure_str[asd] PASSED [ 74%] tests/unit/test_utils.py::test_ensure_str[bytes-asd] PASSED [ 74%] tests/unit/test_utils.py::test_ensure_str[beer-str] PASSED [ 74%] tests/unit/test_utils.py::test_ensure_str[beer-bytes] PASSED [ 74%] tests/unit/test_utils.py::test_relative_to[/-/-.] PASSED [ 74%] tests/unit/test_utils.py::test_relative_to[/a-/a/b-..] PASSED [ 75%] tests/unit/test_utils.py::test_relative_to[/a-/c-../a] PASSED [ 75%] tests/unit/test_utils.py::TestFallbackReturnValue::test_fallback_return_value[raised0] PASSED [ 75%] tests/unit/test_utils.py::TestFallbackReturnValue::test_fallback_return_value[raised1] PASSED [ 75%] tests/integration/test_actions.py::test_with_action[ActionName.fix_spec-true-env_vars0-False] PASSED [ 75%] tests/integration/test_actions.py::test_with_action[ActionName.fix_spec-git this-is-not-a-command-env_vars1-True] PASSED [ 75%] tests/integration/test_actions.py::test_with_action[ActionName.fix_spec-printenv E-env_vars2-False] PASSED [ 75%] tests/integration/test_actions.py::test_with_action[ActionName.fix_spec-printenv E-env_vars3-True] PASSED [ 75%] tests/integration/test_actions.py::test_get_output_from_action[ActionName.post_upstream_clone-true-env_vars0-False-] PASSED [ 75%] tests/integration/test_actions.py::test_get_output_from_action[ActionName.post_upstream_clone-git this-is-not-a-command-env_vars1-True-] PASSED [ 76%] tests/integration/test_actions.py::test_get_output_from_action[ActionName.post_upstream_clone-printenv E-env_vars2-False-e\n] PASSED [ 76%] tests/integration/test_actions.py::test_get_output_from_action[ActionName.post_upstream_clone-printenv E-env_vars3-True-] PASSED [ 76%] tests/integration/test_api.py::test_srpm[upstream] PASSED [ 76%] tests/integration/test_api.py::test_srpm[distgit] PASSED [ 76%] tests/integration/test_api.py::test_srpm[ogr-distgit] PASSED [ 76%] tests/integration/test_api.py::test_srpm[upstream-with-multiple-sources] PASSED [ 76%] tests/integration/test_api.py::test_srpm_custom_path[upstream] PASSED [ 76%] tests/integration/test_api.py::test_srpm_custom_path[distgit] PASSED [ 76%] tests/integration/test_api.py::test_srpm_custom_path[ogr-distgit] PASSED [ 77%] tests/integration/test_api.py::test_srpm_custom_path[upstream-with-multiple-sources] PASSED [ 77%] tests/integration/test_base_git.py::test_get_output_from_action_defined[echo 'hello world'-expected_output0] PASSED [ 77%] tests/integration/test_base_git.py::test_get_output_from_action_defined[echo_cmd1-expected_output1] PASSED [ 77%] tests/integration/test_base_git.py::test_get_output_from_action_defined_in_sandcastle SKIPPED [ 77%] tests/integration/test_base_git.py::test_run_in_sandbox SKIPPED [ 77%] tests/integration/test_base_git.py::test_base_push_bad PASSED [ 77%] tests/integration/test_base_git.py::test_base_push_good PASSED [ 77%] tests/integration/test_build.py::test_basic_build[upstream] PASSED [ 77%] tests/integration/test_build.py::test_basic_build[distgit] PASSED [ 77%] tests/integration/test_build.py::test_basic_build[ogr-distgit] PASSED [ 78%] tests/integration/test_build.py::test_basic_build[upstream-with-multiple-sources] PASSED [ 78%] tests/integration/test_build.py::test_build_from_upstream[upstream] PASSED [ 78%] tests/integration/test_build.py::test_build_from_upstream[distgit] PASSED [ 78%] tests/integration/test_build.py::test_build_from_upstream[ogr-distgit] PASSED [ 78%] tests/integration/test_build.py::test_build_from_upstream[upstream-with-multiple-sources] PASSED [ 78%] tests/integration/test_copr_build.py::test_copr_build_existing_project[upstream] PASSED [ 78%] tests/integration/test_copr_build.py::test_copr_build_existing_project[distgit] PASSED [ 78%] tests/integration/test_copr_build.py::test_copr_build_existing_project[ogr-distgit] PASSED [ 78%] tests/integration/test_copr_build.py::test_copr_build_existing_project[upstream-with-multiple-sources] PASSED [ 79%] tests/integration/test_copr_build.py::test_copr_build_existing_project_change_settings[upstream] PASSED [ 79%] tests/integration/test_copr_build.py::test_copr_build_existing_project_change_settings[distgit] PASSED [ 79%] tests/integration/test_copr_build.py::test_copr_build_existing_project_change_settings[ogr-distgit] PASSED [ 79%] tests/integration/test_copr_build.py::test_copr_build_existing_project_change_settings[upstream-with-multiple-sources] PASSED [ 79%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_no_settings_change[upstream] PASSED [ 79%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_no_settings_change[distgit] PASSED [ 79%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_no_settings_change[ogr-distgit] PASSED [ 79%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_no_settings_change[upstream-with-multiple-sources] PASSED [ 79%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_chroot_change[upstream] PASSED [ 80%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_chroot_change[distgit] PASSED [ 80%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_chroot_change[ogr-distgit] PASSED [ 80%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_chroot_change[upstream-with-multiple-sources] PASSED [ 80%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_additional_repos_change[upstream] PASSED [ 80%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_additional_repos_change[distgit] PASSED [ 80%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_additional_repos_change[ogr-distgit] PASSED [ 80%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_additional_repos_change[upstream-with-multiple-sources] PASSED [ 80%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_list_on_homepage_change[upstream] PASSED [ 80%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_list_on_homepage_change[distgit] PASSED [ 80%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_list_on_homepage_change[ogr-distgit] PASSED [ 81%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_list_on_homepage_change[upstream-with-multiple-sources] PASSED [ 81%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_do_not_update_booleans_by_default[upstream] PASSED [ 81%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_do_not_update_booleans_by_default[distgit] PASSED [ 81%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_do_not_update_booleans_by_default[ogr-distgit] PASSED [ 81%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_do_not_update_booleans_by_default[upstream-with-multiple-sources] PASSED [ 81%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_do_not_remove_present_chroots[upstream] PASSED [ 81%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_do_not_remove_present_chroots[distgit] PASSED [ 81%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_do_not_remove_present_chroots[ogr-distgit] PASSED [ 81%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_do_not_remove_present_chroots[upstream-with-multiple-sources] PASSED [ 82%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_append_chroots[upstream] PASSED [ 82%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_append_chroots[distgit] PASSED [ 82%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_append_chroots[ogr-distgit] PASSED [ 82%] tests/integration/test_copr_build.py::test_copr_build_existing_project_munch_append_chroots[upstream-with-multiple-sources] PASSED [ 82%] tests/integration/test_copr_build.py::test_copr_build_existing_project_error_on_change_settings[upstream] PASSED [ 82%] tests/integration/test_copr_build.py::test_copr_build_existing_project_error_on_change_settings[distgit] PASSED [ 82%] tests/integration/test_copr_build.py::test_copr_build_existing_project_error_on_change_settings[ogr-distgit] PASSED [ 82%] tests/integration/test_copr_build.py::test_copr_build_existing_project_error_on_change_settings[upstream-with-multiple-sources] PASSED [ 82%] tests/integration/test_copr_build.py::test_copr_build_non_existing_project[upstream] PASSED [ 82%] tests/integration/test_copr_build.py::test_copr_build_non_existing_project[distgit] PASSED [ 83%] tests/integration/test_copr_build.py::test_copr_build_non_existing_project[ogr-distgit] PASSED [ 83%] tests/integration/test_copr_build.py::test_copr_build_non_existing_project[upstream-with-multiple-sources] PASSED [ 83%] tests/integration/test_copr_build.py::test_copr_build_no_owner[upstream] PASSED [ 83%] tests/integration/test_copr_build.py::test_copr_build_no_owner[distgit] PASSED [ 83%] tests/integration/test_copr_build.py::test_copr_build_no_owner[ogr-distgit] PASSED [ 83%] tests/integration/test_copr_build.py::test_copr_build_no_owner[upstream-with-multiple-sources] PASSED [ 83%] tests/integration/test_copr_build.py::test_copr_build_cli_no_project_configured PASSED [ 83%] tests/integration/test_copr_build.py::test_copr_build_cli_project_set_via_cli PASSED [ 83%] tests/integration/test_copr_build.py::test_copr_build_cli_project_set_from_config PASSED [ 84%] tests/integration/test_create_update.py::test_basic_bodhi_update[f30-enhancement-This is the best upstream release ever: {version}-koji_builds0] FAILED [ 84%] tests/integration/test_create_update.py::test_basic_bodhi_update[f30-enhancement-This is the best upstream release ever: {version}-None] FAILED [ 84%] tests/integration/test_distgit.py::test_distgit_commit_empty PASSED [ 84%] tests/integration/test_generate.py::test_generate_pass PASSED [ 84%] tests/integration/test_generate.py::test_generate_fail[upstream] PASSED [ 84%] tests/integration/test_generate.py::test_generate_fail[distgit] PASSED [ 84%] tests/integration/test_generate.py::test_generate_fail[ogr-distgit] PASSED [ 84%] tests/integration/test_generate.py::test_generate_fail[upstream-with-multiple-sources] PASSED [ 84%] tests/integration/test_get_api.py::test_is_upstream PASSED [ 85%] tests/integration/test_get_api.py::test_is_downstream PASSED [ 85%] tests/integration/test_get_api.py::test_url_is_downstream PASSED [ 85%] tests/integration/test_get_api.py::test_url_is_upstream PASSED [ 85%] tests/integration/test_get_api.py::test_get_api[remotes0-package_config0-True] PASSED [ 85%] tests/integration/test_get_api.py::test_get_api[remotes1-package_config1-True] PASSED [ 85%] tests/integration/test_get_api.py::test_get_api[remotes2-package_config2-True] PASSED [ 85%] tests/integration/test_get_api.py::test_get_api[remotes3-package_config3-True] PASSED [ 85%] tests/integration/test_get_api.py::test_get_api[remotes4-package_config4-True] PASSED [ 85%] tests/integration/test_get_api.py::test_get_api[remotes5-package_config5-False] PASSED [ 85%] tests/integration/test_get_api.py::test_get_api[remotes6-package_config6-False] PASSED [ 86%] tests/integration/test_get_api.py::test_get_api[remotes7-package_config7-False] PASSED [ 86%] tests/integration/test_get_api.py::test_get_api[remotes8-package_config8-False] PASSED [ 86%] tests/integration/test_get_api.py::test_get_api[remotes9-package_config9-True] PASSED [ 86%] tests/integration/test_get_api.py::test_get_api[remotes10-package_config10-True] PASSED [ 86%] tests/integration/test_get_api.py::test_get_api[remotes11-package_config11-True] PASSED [ 86%] tests/integration/test_local_project.py::test_pr_id_and_ref PASSED [ 86%] tests/integration/test_local_project.py::test_pr_id_and_ref_gitlab PASSED [ 86%] tests/integration/test_pagure.py::test_basic_distgit_workflow SKIPPED [ 86%] tests/integration/test_push_updates.py::test_push_updates[upstream] PASSED [ 87%] tests/integration/test_push_updates.py::test_push_updates[distgit] PASSED [ 87%] tests/integration/test_push_updates.py::test_push_updates[ogr-distgit] PASSED [ 87%] tests/integration/test_push_updates.py::test_push_updates[upstream-with-multiple-sources] PASSED [ 87%] tests/integration/test_security.py::test_allowed_gpg_keys_none PASSED [ 87%] tests/integration/test_security.py::test_allowed_gpg_keys_not_allowed[allowed_gpg_keys0] PASSED [ 87%] tests/integration/test_security.py::test_allowed_gpg_keys_not_allowed[allowed_gpg_keys1] PASSED [ 87%] tests/integration/test_security.py::test_allowed_gpg_keys_allowed FAILED [ 87%] tests/integration/test_security.py::test_allowed_gpg_keys_not_existing_key PASSED [ 87%] tests/integration/test_source_git.py::test_basic_local_update_without_patching FAILED [ 88%] tests/integration/test_source_git.py::test_basic_local_update_empty_patch[None] FAILED [ 88%] tests/integration/test_source_git.py::test_basic_local_update_empty_patch[0.1.0] FAILED [ 88%] tests/integration/test_source_git.py::test_basic_local_update_empty_patch[0.1*] FAILED [ 88%] tests/integration/test_source_git.py::test_basic_local_update_empty_patch[0.*] FAILED [ 88%] tests/integration/test_source_git.py::test_basic_local_update_patch_content FAILED [ 88%] tests/integration/test_source_git.py::test_basic_local_update_patch_content_with_metadata FAILED [ 88%] tests/integration/test_source_git.py::test_basic_local_update_patch_content_with_metadata_and_patch_ignored FAILED [ 88%] tests/integration/test_source_git.py::test_basic_local_update_patch_content_with_downstream_patch FAILED [ 88%] tests/integration/test_source_git.py::test_srpm[0.1.0] FAILED [ 88%] tests/integration/test_source_git.py::test_srpm[0.1*] FAILED [ 89%] tests/integration/test_source_git.py::test_srpm[0.*] FAILED [ 89%] tests/integration/test_source_git.py::test_srpm_merge_storm[0.1.0] FAILED [ 89%] tests/integration/test_source_git.py::test_srpm_merge_storm[0.1*] FAILED [ 89%] tests/integration/test_source_git.py::test_srpm_merge_storm[0.*] FAILED [ 89%] tests/integration/test_source_git.py::test_srpm_git_am[0.1.0] FAILED [ 89%] tests/integration/test_source_git.py::test_srpm_git_am[0.1*] FAILED [ 89%] tests/integration/test_source_git.py::test_srpm_git_am[0.*] FAILED [ 89%] tests/integration/test_source_git.py::test_srpm_git_no_prefix_patches[0.1.0] FAILED [ 89%] tests/integration/test_source_git.py::test_srpm_git_no_prefix_patches[0.1*] FAILED [ 90%] tests/integration/test_source_git.py::test_srpm_git_no_prefix_patches[0.*] FAILED [ 90%] tests/integration/test_source_git.py::test_srpm_empty_patch[0.1.0] FAILED [ 90%] tests/integration/test_source_git.py::test_srpm_empty_patch[0.1*] FAILED [ 90%] tests/integration/test_source_git.py::test_srpm_empty_patch[0.*] FAILED [ 90%] tests/integration/test_spec.py::test_write_spec_content PASSED [ 90%] tests/integration/test_sync_files.py::test_raw_files_to_sync[packit_files0-expected0] PASSED [ 90%] tests/integration/test_sync_files.py::test_raw_files_to_sync[packit_files1-expected1] PASSED [ 90%] tests/integration/test_sync_files.py::test_raw_files_to_sync[packit_files2-expected2] PASSED [ 90%] tests/integration/test_sync_files.py::test_raw_files_to_sync[packit_files3-expected3] PASSED [ 91%] tests/integration/test_sync_files.py::test_raw_files_to_sync[packit_files4-expected4] PASSED [ 91%] tests/integration/test_sync_files.py::test_raw_files_to_sync[packit_files5-expected5] PASSED [ 91%] tests/integration/test_update.py::test_basic_local_update FAILED [ 91%] tests/integration/test_update.py::test_basic_local_update_reset_after_exception PASSED [ 91%] tests/integration/test_update.py::test_basic_local_update_copy_upstream_release_description FAILED [ 91%] tests/integration/test_update.py::test_basic_local_update_using_distgit FAILED [ 91%] tests/integration/test_update.py::test_basic_local_update_direct_push FAILED [ 91%] tests/integration/test_update.py::test_basic_local_update_direct_push_no_dg_spec PASSED [ 91%] tests/integration/test_update.py::test_basic_local_update_from_downstream FAILED [ 91%] tests/integration/test_update.py::test_local_update_with_specified_tag_template PASSED [ 92%] tests/integration/test_upstream.py::test_get_spec_version PASSED [ 92%] tests/integration/test_upstream.py::test_get_current_version[no_command-pure_version-valid_template] PASSED [ 92%] tests/integration/test_upstream.py::test_get_current_version[no_command-valid_tag-valid_template] PASSED [ 92%] tests/integration/test_upstream.py::test_get_current_version[with_command_output] PASSED [ 92%] tests/integration/test_upstream.py::test_get_version[1.1000.1000000-1.1000.1000000] PASSED [ 92%] tests/integration/test_upstream.py::test_get_version[None-0.1.0] PASSED [ 92%] tests/integration/test_upstream.py::test_get_version[0.0.3-0.1.0] PASSED [ 92%] tests/integration/test_upstream.py::test_get_version[176-176] PASSED [ 92%] tests/integration/test_upstream.py::test_get_version_macro PASSED [ 93%] tests/integration/test_upstream.py::test_set_spec_ver PASSED [ 93%] tests/integration/test_upstream.py::test_set_spec_ver_empty_changelog PASSED [ 93%] tests/integration/test_upstream.py::test_create_archive[.tar.gz] PASSED [ 93%] tests/integration/test_upstream.py::test_create_archive[.tar.bz2] PASSED [ 93%] tests/integration/test_upstream.py::test_create_uncommon_archive PASSED [ 93%] tests/integration/test_upstream.py::test_fix_spec PASSED [ 93%] tests/integration/test_upstream.py::test__fix_spec_source[Source] PASSED [ 93%] tests/integration/test_upstream.py::test__fix_spec_source[Source0] PASSED [ 93%] tests/integration/test_upstream.py::test__fix_spec_source[Source100] PASSED [ 94%] tests/integration/test_upstream.py::test_create_srpm PASSED [ 94%] tests/integration/test_upstream.py::test_create_srpm_git_desc_release FAILED [ 94%] tests/integration/test_upstream.py::test_github_app PASSED [ 94%] tests/integration/test_upstream.py::test_get_last_tag PASSED [ 94%] tests/integration/test_upstream.py::test_get_archive_root_dir[default] PASSED [ 94%] tests/integration/test_upstream.py::test_get_archive_root_dir[ver-pkg_name] PASSED [ 94%] tests/integration/test_using_cockpit.py::test_update_on_cockpit_ostree PASSED [ 94%] tests/integration/test_using_cockpit.py::test_srpm_on_cockpit_ostree PASSED [ 94%] tests/integration/test_using_examples.py::test_srpm_on_example[example_repo0] PASSED [ 94%] tests/integration/test_using_examples.py::test_srpm_on_example[example_repo1] PASSED [ 95%] tests/integration/test_using_examples.py::test_srpm_on_example[example_repo2] PASSED [ 95%] tests/integration/test_using_examples.py::test_srpm_on_example[example_repo3] PASSED [ 95%] tests/integration/test_using_examples.py::test_srpm_on_example[example_repo4] PASSED [ 95%] tests/integration/test_validate_config.py::test_schema_validation[valid_1] PASSED [ 95%] tests/integration/test_validate_config.py::test_schema_validation[notif_succ_build] PASSED [ 95%] tests/integration/test_validate_config.py::test_schema_validation[empty] PASSED [ 95%] tests/integration/test_validate_config.py::test_schema_validation[valid_2] PASSED [ 95%] tests/integration/test_validate_config.py::test_schema_validation[synced_files_src] PASSED [ 95%] tests/integration/test_validate_config.py::test_schema_validation[synced_files_dest] PASSED [ 96%] tests/integration/test_validate_config.py::test_schema_validation[valid_3] PASSED [ 96%] tests/integration/test_validate_config.py::test_schema_validation[downstream_name] PASSED [ 96%] tests/integration/test_validate_config.py::test_schema_validation[create_pr] PASSED [ 96%] tests/integration/test_validate_config.py::test_schema_validation[valid_4] PASSED [ 96%] tests/integration/test_validate_config.py::test_schema_validation[allowed_gpg] PASSED [ 96%] tests/integration/test_validate_config.py::test_schema_validation[create_tarball_1] PASSED [ 96%] tests/integration/test_validate_config.py::test_schema_validation[create_tarball_2] PASSED [ 96%] tests/functional/test_local_build.py::test_rpm_command PASSED [ 96%] tests/functional/test_local_build.py::test_local_build_with_remote_good PASSED [ 97%] tests/functional/test_local_build.py::test_local_build_with_remote_bad PASSED [ 97%] tests/functional/test_local_build.py::test_rpm_command_for_path PASSED [ 97%] tests/functional/test_srpm.py::test_srpm_command_for_path[upstream] PASSED [ 97%] tests/functional/test_srpm.py::test_srpm_command_for_path[ogr-distgit] PASSED [ 97%] tests/functional/test_srpm.py::test_srpm_command_for_path_with_multiple_sources PASSED [ 97%] tests/functional/test_srpm.py::test_srpm_command[upstream] PASSED [ 97%] tests/functional/test_srpm.py::test_srpm_command[distgit] PASSED [ 97%] tests/functional/test_srpm.py::test_srpm_command[ogr-distgit] PASSED [ 97%] tests/functional/test_srpm.py::test_srpm_command[upstream-with-multiple-sources] PASSED [ 97%] tests/functional/test_srpm.py::test_action_output PASSED [ 98%] tests/functional/test_srpm.py::test_srpm_spec_not_in_root PASSED [ 98%] tests/functional/test_srpm.py::test_srpm_weird_sources PASSED [ 98%] tests/functional/test_srpm.py::test_srpm_custom_path[upstream] PASSED [ 98%] tests/functional/test_srpm.py::test_srpm_custom_path[distgit] PASSED [ 98%] tests/functional/test_srpm.py::test_srpm_custom_path[ogr-distgit] PASSED [ 98%] tests/functional/test_srpm.py::test_srpm_custom_path[upstream-with-multiple-sources] PASSED [ 98%] tests/functional/test_srpm.py::test_srpm_twice_with_custom_name[upstream] PASSED [ 98%] tests/functional/test_srpm.py::test_srpm_twice_with_custom_name[distgit] PASSED [ 98%] tests/functional/test_srpm.py::test_srpm_twice_with_custom_name[ogr-distgit] PASSED [ 99%] tests/functional/test_srpm.py::test_srpm_twice_with_custom_name[upstream-with-multiple-sources] PASSED [ 99%] tests/functional/test_srpm.py::test_srpm_twice[upstream] PASSED [ 99%] tests/functional/test_srpm.py::test_srpm_twice[distgit] PASSED [ 99%] tests/functional/test_srpm.py::test_srpm_twice[ogr-distgit] PASSED [ 99%] tests/functional/test_srpm.py::test_srpm_twice[upstream-with-multiple-sources] PASSED [ 99%] tests/functional/test_srpm.py::test_srpm_symlinking_relative_path PASSED [ 99%] tests/functional/test_srpm.py::test_srpm_symlinking_absolute_path PASSED [ 99%] tests/functional/test_validate_config.py::test_srpm_command_for_path[upstream] PASSED [ 99%] tests/functional/test_validate_config.py::test_srpm_command_for_path[ogr-distgit] PASSED [100%] =================================== FAILURES =================================== _______________ test_get_message_from_metadata[single key-value] _______________ metadata = {'key': 'value'}, header = None, result = 'key: value\n' @pytest.mark.parametrize( "metadata, header, result", [ pytest.param({}, None, "", id="empty dict"), pytest.param({"key": "value"}, None, "key: value\n", id="single key-value"), pytest.param( {"key": "value", "other": "value"}, None, "key: value\nother: value\n", id="multiple key-values", ), ], ) def test_get_message_from_metadata(metadata, header, result): > assert get_message_from_metadata(metadata, header) == result E AssertionError: assert '{key: value}\n' == 'key: value\n' E - key: value E + {key: value} E ? + + header = None metadata = {'key': 'value'} result = 'key: value\n' tests/unit/test_git_utils.py:120: AssertionError _____________ test_get_message_from_metadata[multiple key-values] ______________ metadata = {'key': 'value', 'other': 'value'}, header = None result = 'key: value\nother: value\n' @pytest.mark.parametrize( "metadata, header, result", [ pytest.param({}, None, "", id="empty dict"), pytest.param({"key": "value"}, None, "key: value\n", id="single key-value"), pytest.param( {"key": "value", "other": "value"}, None, "key: value\nother: value\n", id="multiple key-values", ), ], ) def test_get_message_from_metadata(metadata, header, result): > assert get_message_from_metadata(metadata, header) == result E AssertionError: assert '{key: value, other: value}\n' == 'key: value\nother: value\n' E + {key: value, other: value} E - key: value E - other: value header = None metadata = {'key': 'value', 'other': 'value'} result = 'key: value\nother: value\n' tests/unit/test_git_utils.py:120: AssertionError _ test_package_config_parse[specfile_path+synced_files+downstream_package_name] _ raw = {'downstream_package_name': 'package', 'jobs': [{'downstream_package_name': 'package', 'job': 'copr_build', 'metadata'...e_path': 'fedora/package.spec', ...}], 'specfile_path': 'fedora/package.spec', 'synced_files': ['fedora/package.spec']} expected = PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesIt...template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') @pytest.mark.parametrize( "raw,expected", [ pytest.param( { "specfile_path": "fedora/package.spec", "synced_files": ["fedora/package.spec"], "jobs": [get_job_config_dict_full()], "downstream_package_name": "package", "create_pr": False, }, PackageConfig( specfile_path="fedora/package.spec", downstream_package_name="package", create_pr=False, synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem( src="fedora/package.spec", dest="fedora/package.spec" ) ] ), jobs=[ get_job_config_full( downstream_package_name="package", specfile_path="fedora/package.spec", create_pr=False, synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem( src="fedora/package.spec", dest="fedora/package.spec", ) ] ), ) ], ), id="specfile_path+synced_files+job_config_full+downstream_package_name+create_pr", ), pytest.param( { "specfile_path": "fedora/package.spec", "synced_files": [ "fedora/package.spec", "somefile", "other", "directory/files", ], "jobs": [get_job_config_dict_simple()], "downstream_package_name": "package", }, PackageConfig( downstream_package_name="package", specfile_path="fedora/package.spec", synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem( src="fedora/package.spec", dest="fedora/package.spec" ), SyncFilesItem(src="somefile", dest="somefile"), SyncFilesItem(src="other", dest="other"), SyncFilesItem(src="directory/files", dest="directory/files"), ] ), jobs=[ get_job_config_simple( downstream_package_name="package", specfile_path="fedora/package.spec", synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem( src="fedora/package.spec", dest="fedora/package.spec", ), SyncFilesItem(src="somefile", dest="somefile"), SyncFilesItem(src="other", dest="other"), SyncFilesItem( src="directory/files", dest="directory/files" ), ] ), ) ], ), id="specfile_path+synced_files+job_config_dict_simple+downstream_package_name", ), pytest.param( { "specfile_path": "fedora/package.spec", "synced_files": ["fedora/package.spec"], "jobs": [get_job_config_dict_full()], "downstream_package_name": "package", }, PackageConfig( downstream_package_name="package", specfile_path="fedora/package.spec", synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem( src="fedora/package.spec", dest="fedora/package.spec" ) ] ), jobs=[ get_job_config_full( downstream_package_name="package", specfile_path="fedora/package.spec", synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem( src="fedora/package.spec", dest="fedora/package.spec", ) ] ), ) ], ), id="specfile_path+synced_files(spec_only)+job_config_full+downstream_package_name", ), pytest.param( { "specfile_path": "fedora/package.spec", "synced_files": ["fedora/package.spec", "somefile"], "jobs": [get_job_config_dict_full()], "downstream_package_name": "package", }, PackageConfig( downstream_package_name="package", specfile_path="fedora/package.spec", synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem( src="fedora/package.spec", dest="fedora/package.spec" ), SyncFilesItem(src="somefile", dest="somefile"), ] ), jobs=[ get_job_config_full( downstream_package_name="package", specfile_path="fedora/package.spec", synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem( src="fedora/package.spec", dest="fedora/package.spec", ), SyncFilesItem(src="somefile", dest="somefile"), ] ), ) ], ), id="specfile_path+synced_files+job_config_full+downstream_package_name", ), pytest.param( { "specfile_path": "fedora/package.spec", "synced_files": ["fedora/package.spec"], "jobs": [get_job_config_dict_full()], "upstream_project_url": "https://github.com/asd/qwe", "upstream_package_name": "qwe", "dist_git_base_url": "https://something.wicked", "downstream_package_name": "package", }, PackageConfig( downstream_package_name="package", specfile_path="fedora/package.spec", upstream_project_url="https://github.com/asd/qwe", upstream_package_name="qwe", dist_git_base_url="https://something.wicked", synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem( src="fedora/package.spec", dest="fedora/package.spec" ) ] ), jobs=[ get_job_config_full( downstream_package_name="package", specfile_path="fedora/package.spec", upstream_project_url="https://github.com/asd/qwe", upstream_package_name="qwe", dist_git_base_url="https://something.wicked", synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem( src="fedora/package.spec", dest="fedora/package.spec", ) ] ), ) ], ), id="specfile_path+synced_files+job_config_dict_full+upstream_project_url" "+upstream_package_name+dist_git_base_url+downstream_package_name", ), pytest.param( { "specfile_path": "fedora/package.spec", "actions": { "pre-sync": "some/pre-sync/command --option", "get-current-version": "get-me-version", }, "jobs": [], "upstream_project_url": "https://github.com/asd/qwe", "upstream_package_name": "qwe", "dist_git_base_url": "https://something.wicked", "downstream_package_name": "package", }, PackageConfig( specfile_path="fedora/package.spec", actions={ ActionName.pre_sync: "some/pre-sync/command --option", ActionName.get_current_version: "get-me-version", }, jobs=[], upstream_project_url="https://github.com/asd/qwe", upstream_package_name="qwe", dist_git_base_url="https://something.wicked", downstream_package_name="package", ), id="specfile_path+actions+empty_jobs+upstream_project_url" "+upstream_package_name+dist_git_base_url+downstream_package_name", ), pytest.param( { "specfile_path": "fedora/package.spec", "synced_files": ["fedora/package.spec"], "downstream_package_name": "package", }, PackageConfig( downstream_package_name="package", specfile_path="fedora/package.spec", synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem( src="fedora/package.spec", dest="fedora/package.spec" ) ] ), jobs=get_default_job_config( downstream_package_name="package", specfile_path="fedora/package.spec", synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem( src="fedora/package.spec", dest="fedora/package.spec" ) ] ), ), ), id="specfile_path+synced_files+downstream_package_name", ), pytest.param( { "specfile_path": "fedora/package.spec", "spec_source_id": 3, "jobs": [get_job_config_dict_build_for_branch()], }, PackageConfig( specfile_path="fedora/package.spec", spec_source_id="Source3", jobs=[ get_job_config_build_for_branch( specfile_path="fedora/package.spec", spec_source_id="Source3", ) ], ), id="specfile_path+get_job_config_dict_build_for_branch", ), pytest.param( { "specfile_path": "fedora/package.spec", "sync_changelog": True, "jobs": [get_job_config_dict_simple()], }, PackageConfig( specfile_path="fedora/package.spec", sync_changelog=True, jobs=[ get_job_config_simple( specfile_path="fedora/package.spec", sync_changelog=True ) ], ), id="sync_changelog_true", ), pytest.param( { "specfile_path": "fedora/package.spec", "jobs": [get_job_config_dict_simple()], }, PackageConfig( specfile_path="fedora/package.spec", sync_changelog=False, jobs=[ get_job_config_simple( specfile_path="fedora/package.spec", sync_changelog=False ) ], ), id="sync_changelog_false_by_default", ), ], ) def test_package_config_parse(raw, expected): package_config = PackageConfig.get_from_dict(raw_dict=raw) assert package_config # tests for https://github.com/packit/packit-service/pull/342 if expected.jobs: for j in package_config.jobs: assert j.type > assert package_config == expected E AssertionError: assert PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', jobs='[JobConfig(job=JobType.copr_build, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.tests, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False')]', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', archive_root_dir_template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') == PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', jobs='[JobConfig(job=JobType.tests, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False')]', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', archive_root_dir_template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') E +PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', jobs='[JobConfig(job=JobType.copr_build, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.tests, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False')]', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', archive_root_dir_template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') E -PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', jobs='[JobConfig(job=JobType.tests, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False')]', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', archive_root_dir_template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') expected = PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', jobs='[JobConfig(job=JobType.tests, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False')]', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', archive_root_dir_template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') j = JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False') package_config = PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', jobs='[JobConfig(job=JobType.copr_build, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.tests, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/package.spec, dest=fedora/package.spec)])', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False')]', dist_git_namespace='rpms', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://src.fedoraproject.org/rpms/package.git', downstream_package_name='package', dist_git_base_url='https://src.fedoraproject.org/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='True', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', archive_root_dir_template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') raw = {'downstream_package_name': 'package', 'jobs': [{'downstream_package_name': 'package', 'job': 'copr_build', 'metadata': {'targets': ['fedora-stable']}, 'specfile_path': 'fedora/package.spec', 'synced_files': ['fedora/package.spec'], 'trigger': 'pull_request'}, {'downstream_package_name': 'package', 'job': 'tests', 'metadata': {'targets': ['fedora-stable']}, 'specfile_path': 'fedora/package.spec', 'synced_files': ['fedora/package.spec'], 'trigger': 'pull_request'}, {'downstream_package_name': 'package', 'job': 'propose_downstream', 'metadata': {'dist_git_branches': ['fedora-all']}, 'specfile_path': 'fedora/package.spec', 'synced_files': ['fedora/package.spec'], 'trigger': 'release'}], 'specfile_path': 'fedora/package.spec', 'synced_files': ['fedora/package.spec']} tests/unit/test_package_config.py:739: AssertionError __________________________ test_dist_git_package_url ___________________________ def test_dist_git_package_url(): di = { "dist_git_base_url": "https://packit.dev/", "downstream_package_name": "packit", "dist_git_namespace": "awesome", "synced_files": ["fedora/foobar.spec"], "specfile_path": "fedora/package.spec", "create_pr": False, } new_pc = PackageConfig.get_from_dict(di) pc = PackageConfig( dist_git_base_url="https://packit.dev/", downstream_package_name="packit", dist_git_namespace="awesome", synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem(src="fedora/foobar.spec", dest="fedora/foobar.spec") ] ), specfile_path="fedora/package.spec", create_pr=False, jobs=get_default_job_config( dist_git_base_url="https://packit.dev/", downstream_package_name="packit", dist_git_namespace="awesome", synced_files=SyncFilesConfig( files_to_sync=[ SyncFilesItem(src="fedora/foobar.spec", dest="fedora/foobar.spec") ] ), specfile_path="fedora/package.spec", create_pr=False, ), ) assert new_pc.specfile_path.endswith("fedora/package.spec") assert pc.specfile_path.endswith("fedora/package.spec") > assert pc == new_pc E AssertionError: assert PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', jobs='[JobConfig(job=JobType.tests, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False')]', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', archive_root_dir_template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') == PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', jobs='[JobConfig(job=JobType.copr_build, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.tests, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False')]', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', archive_root_dir_template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') E +PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', jobs='[JobConfig(job=JobType.tests, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False')]', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', archive_root_dir_template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') E -PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', jobs='[JobConfig(job=JobType.copr_build, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.tests, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False')]', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', archive_root_dir_template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') di = {'create_pr': False, 'dist_git_base_url': 'https://packit.dev/', 'dist_git_namespace': 'awesome', 'downstream_package_name': 'packit', 'jobs': [{'create_pr': False, 'dist_git_base_url': 'https://packit.dev/', 'dist_git_namespace': 'awesome', 'downstream_package_name': 'packit', 'job': 'copr_build', 'metadata': {'targets': ['fedora-stable']}, 'specfile_path': 'fedora/package.spec', 'synced_files': ['fedora/foobar.spec'], 'trigger': 'pull_request'}, {'create_pr': False, 'dist_git_base_url': 'https://packit.dev/', 'dist_git_namespace': 'awesome', 'downstream_package_name': 'packit', 'job': 'tests', 'metadata': {'targets': ['fedora-stable']}, 'specfile_path': 'fedora/package.spec', 'synced_files': ['fedora/foobar.spec'], 'trigger': 'pull_request'}, {'create_pr': False, 'dist_git_base_url': 'https://packit.dev/', 'dist_git_namespace': 'awesome', 'downstream_package_name': 'packit', 'job': 'propose_downstream', 'metadata': {'dist_git_branches': ['fedora-all']}, 'specfile_path': 'fedora/package.spec', 'synced_files': ['fedora/foobar.spec'], 'trigger': 'release'}], 'specfile_path': 'fedora/package.spec', 'synced_files': ['fedora/foobar.spec']} new_pc = PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', jobs='[JobConfig(job=JobType.copr_build, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.tests, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False')]', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', archive_root_dir_template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') pc = PackageConfig(config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', jobs='[JobConfig(job=JobType.tests, trigger=JobConfigTriggerType.pull_request, meta=JobMetadataConfig(targets={'fedora-stable'}, timeout=7200, owner=None, project=None, dist_git_branches=set(), branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False'), JobConfig(job=JobType.propose_downstream, trigger=JobConfigTriggerType.release, meta=JobMetadataConfig(targets=set(), timeout=7200, owner=None, project=None, dist_git_branches={'fedora-all'}, branch=None, scratch=False, list_on_homepage=False, preserve_project=False, additional_packages=[], additional_repos=[]), config_file_path='None', specfile_path='fedora/package.spec', synced_files='SyncFilesConfig([SyncFilesItem(src=fedora/foobar.spec, dest=fedora/foobar.spec)])', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', patch_generation_ignore_paths='[]',copy_upstream_release_description='False')]', dist_git_namespace='awesome', upstream_project_url='None', upstream_package_name='None', downstream_project_url='https://packit.dev/awesome/packit.git', downstream_package_name='packit', dist_git_base_url='https://packit.dev/', create_tarball_command='None', current_version_command='None', actions='{}', upstream_ref='None', allowed_gpg_keys='None', create_pr='False', sync_changelog='False', spec_source_id='Source0', upstream_tag_template='{version}', archive_root_dir_template={upstream_pkg_name}-{version}', patch_generation_ignore_paths='[]', copy_upstream_release_description='False') tests/unit/test_package_config.py:904: AssertionError _ test_basic_bodhi_update[f30-enhancement-This is the best upstream release ever: {version}-koji_builds0] _ cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/local_clone-upstream_git') api_instance = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/local_clone-upstream_git'), PosixPath('/tmp/p...n the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb4006d550>) mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/dist_git')) branch = 'f30', update_type = 'enhancement' update_notes = 'This is the best upstream release ever: {version}' koji_builds = ('foo-1-1',) bodhi_response = Munch({'title': 'sen-0.6.1-1.fc30', 'autokarma': True, 'stable_karma': 3, 'unstable_karma': -3, 'requirements': '', 'r...), 'updateid': 'FEDORA-2019-0c53f2476d', 'submitter': 'ttomecek', 'karma': 0, 'content_type': 'rpm', 'test_cases': []}) @pytest.mark.skipif( not can_a_module_be_imported("bodhi"), reason="bodhi not present, skipping" ) @pytest.mark.parametrize( "branch,update_type,update_notes,koji_builds", ( ( "f30", "enhancement", "This is the best upstream release ever: {version}", ("foo-1-1",), ), ( "f30", "enhancement", "This is the best upstream release ever: {version}", None, ), ), ) def test_basic_bodhi_update( cwd_upstream, api_instance, mock_remote_functionality_upstream, branch, update_type, update_notes, koji_builds, bodhi_response, ): # https://github.com/fedora-infra/bodhi/issues/3058 from bodhi.client.bindings import BodhiClient u, d, api = api_instance flexmock(api).should_receive("init_kerberos_ticket").at_least().once() flexmock( BodhiClient, latest_builds=lambda package: { "f29-override": "sen-0.6.0-3.fc29", "f29-updates": "sen-0.6.0-3.fc29", "f29-updates-candidate": "sen-0.6.0-3.fc29", "f29-updates-pending": "sen-0.6.0-3.fc29", "f29-updates-testing": "sen-0.6.0-3.fc29", "f29-updates-testing-pending": "sen-0.6.0-3.fc29", "f30-override": "sen-0.6.0-4.fc30", "f30-updates": "sen-0.6.0-4.fc30", "f30-updates-candidate": "sen-0.6.1-1.fc30", "f30-updates-pending": "sen-0.6.0-4.fc30", "f30-updates-testing": "sen-0.6.0-4.fc30", "f30-updates-testing-pending": "sen-0.6.0-4.fc30", }, save=lambda **kwargs: bodhi_response, ) api.create_update( dist_git_branch=branch, update_type=update_type, update_notes=update_notes, > koji_builds=koji_builds, ) BodhiClient = api = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb4006d550> api_instance = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] tuple object at 0x7feb3b55f990> bodhi_response = {'alias': 'FEDORA-2019-0c53f2476d', 'autokarma': True, 'bugs': [], 'builds': [{'ci_url': None, 'epoch': 0, 'nvr': 'sen-0.6.1-1.fc30', 'release_id': 28, 'signed': True, 'type': 'rpm'}], 'close_bugs': True, 'comments': [{'anonymous': False, 'bug_feedback': [], 'id': 905816, 'karma': 0, 'karma_critpath': 0, 'testcase_feedback': [], 'text': 'This update has been submitted for testing by ' 'ttomecek. ', 'timestamp': '2019-03-10 12:09:35', 'update_id': 133306, 'user': {'avatar': 'https://apps.fedoraproject.org/img/icons/bodhi-24.png', 'email': None, 'groups': [], 'id': 91, 'name': 'bodhi', 'openid': 'bodhi.id.fedoraproject.org', 'show_popups': True}, 'user_id': 91}, {'anonymous': False, 'bug_feedback': [], 'id': 905871, 'karma': 0, 'karma_critpath': 0, 'testcase_feedback': [], 'text': 'This update has been pushed to testing.', 'timestamp': '2019-03-10 16:08:34', 'update_id': 133306, 'user': {'avatar': 'https://apps.fedoraproject.org/img/icons/bodhi-24.png', 'email': None, 'groups': [], 'id': 91, 'name': 'bodhi', 'openid': 'bodhi.id.fedoraproject.org', 'show_popups': True}, 'user_id': 91}, {'anonymous': False, 'bug_feedback': [], 'id': 908106, 'karma': 0, 'karma_critpath': 0, 'testcase_feedback': [], 'text': 'This update has reached 3 days in testing and can be ' 'pushed to stable now if the maintainer wishes', 'timestamp': '2019-03-13 18:02:58', 'update_id': 133306, 'user': {'avatar': 'https://apps.fedoraproject.org/img/icons/bodhi-24.png', 'email': None, 'groups': [], 'id': 91, 'name': 'bodhi', 'openid': 'bodhi.id.fedoraproject.org', 'show_popups': True}, 'user_id': 91}, {'anonymous': False, 'bug_feedback': [], 'id': 908350, 'karma': 0, 'karma_critpath': 0, 'testcase_feedback': [], 'text': 'This update has been submitted for batched by ' 'ttomecek. ', 'timestamp': '2019-03-14 07:47:14', 'update_id': 133306, 'user': {'avatar': 'https://apps.fedoraproject.org/img/icons/bodhi-24.png', 'email': None, 'groups': [], 'id': 91, 'name': 'bodhi', 'openid': 'bodhi.id.fedoraproject.org', 'show_popups': True}, 'user_id': 91}, {'anonymous': False, 'bug_feedback': [], 'id': 908675, 'karma': 0, 'karma_critpath': 0, 'testcase_feedback': [], 'text': 'This update has been submitted for stable by bodhi. ', 'timestamp': '2019-03-14 23:45:38', 'update_id': 133306, 'user': {'avatar': 'https://apps.fedoraproject.org/img/icons/bodhi-24.png', 'email': None, 'groups': [], 'id': 91, 'name': 'bodhi', 'openid': 'bodhi.id.fedoraproject.org', 'show_popups': True}, 'user_id': 91}], 'compose': None, 'content_type': 'rpm', 'critpath': False, 'date_approved': None, 'date_modified': None, 'date_pushed': '2019-03-10 16:08:18', 'date_stable': None, 'date_submitted': '2019-03-10 12:09:35', 'date_testing': '2019-03-10 16:08:18', 'display_name': '', 'greenwave_summary_string': 'no tests are required', 'greenwave_unsatisfied_requirements': None, 'karma': 0, 'locked': False, 'meets_testing_requirements': True, 'notes': 'New upstream release: 0.6.1', 'old_updateid': None, 'pushed': True, 'release': {'branch': 'f30', 'candidate_tag': 'f30-updates-candidate', 'composed_by_bodhi': True, 'composes': [], 'dist_tag': 'f30', 'id_prefix': 'FEDORA', 'long_name': 'Fedora 30', 'mail_template': 'fedora_errata_template', 'name': 'F30', 'override_tag': 'f30-override', 'pending_signing_tag': 'f30-signing-pending', 'pending_stable_tag': 'f30-updates-pending', 'pending_testing_tag': 'f30-updates-testing-pending', 'stable_tag': 'f30-updates', 'state': 'pending', 'testing_tag': 'f30-updates-testing', 'version': '30'}, 'request': 'stable', 'require_bugs': True, 'require_testcases': True, 'requirements': '', 'severity': 'unspecified', 'stable_karma': 3, 'status': 'testing', 'submitter': 'ttomecek', 'suggest': 'unspecified', 'test_cases': [], 'test_gating_status': 'ignored', 'title': 'sen-0.6.1-1.fc30', 'type': 'enhancement', 'unstable_karma': -3, 'updateid': 'FEDORA-2019-0c53f2476d', 'url': 'https://bodhi.fedoraproject.org/updates/FEDORA-2019-0c53f2476d', 'user': {'avatar': 'https://seccdn.libravatar.org/avatar/2098fd3a827c38e855bd76b1f6b75c85483b112f0e8f086257309df75dc04dc0?s=24&d=retro', 'email': 'ttomecek@redhat.com', 'groups': [Munch({'name': 'provenpackager'}), Munch({'name': 'packager'})], 'id': 754, 'name': 'ttomecek', 'openid': 'ttomecek.id.fedoraproject.org', 'show_popups': True}} branch = 'f30' cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/local_clone-upstream_git') d = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/dist_git') koji_builds = ('foo-1-1',) mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/dist_git')) u = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/local_clone-upstream_git') update_notes = 'This is the best upstream release ever: {version}' update_type = 'enhancement' /usr/lib/python3.6/site-packages/packit/tests/integration/test_create_update.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.6/site-packages/packit/api.py:477: in create_update update_type=update_type, dist_git_branch = 'f30' koji_builds = ('foo-1-1',) self = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb4006d550> update_notes = 'This is the best upstream release ever: {version}' update_type = 'enhancement' /usr/lib/python3.6/site-packages/packit/distgit.py:382: in create_bodhi_update rendered_note = update_notes.format(version=self.specfile.get_version()) BodhiClient = BodhiClientException = b = dist_git_branch = 'f30' koji_builds = ('foo-1-1',) self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] DistGit object at 0x7feb3b5c1b38> update_notes = 'This is the best upstream release ever: {version}' update_type = 'enhancement' /usr/lib/python3.6/site-packages/packit/base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] DistGit object at 0x7feb3b5c1b38> /usr/lib/python3.6/site-packages/packit/specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/dist_git/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/dist_git') /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/dist_git/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/dist_git' /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b511d08> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/upstream_remote-upstream_git/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/local_clone-upstream_git/.git/ [master (root-commit) 81fc567] empty commit #0 [master 777042d] empty commit #1 [master e1de5f5] empty commit #2 [master 1ac7dc0] commit with data 4 files changed, 31 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/dist_git/.git/ [master (root-commit) 81fc567] empty commit #0 [master 777042d] empty commit #1 [master e1de5f5] empty commit #2 [master 1eaccf0] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/upstream_remote-upstream_git * [new branch] master -> master * [new tag] 0.1.0 -> 0.1.0 To /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en0/dist_git_remote * [new branch] f30 -> f30 --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. _ test_basic_bodhi_update[f30-enhancement-This is the best upstream release ever: {version}-None] _ cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/local_clone-upstream_git') api_instance = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/local_clone-upstream_git'), PosixPath('/tmp/p...n the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b567978>) mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/dist_git')) branch = 'f30', update_type = 'enhancement' update_notes = 'This is the best upstream release ever: {version}' koji_builds = None bodhi_response = Munch({'title': 'sen-0.6.1-1.fc30', 'autokarma': True, 'stable_karma': 3, 'unstable_karma': -3, 'requirements': '', 'r...), 'updateid': 'FEDORA-2019-0c53f2476d', 'submitter': 'ttomecek', 'karma': 0, 'content_type': 'rpm', 'test_cases': []}) @pytest.mark.skipif( not can_a_module_be_imported("bodhi"), reason="bodhi not present, skipping" ) @pytest.mark.parametrize( "branch,update_type,update_notes,koji_builds", ( ( "f30", "enhancement", "This is the best upstream release ever: {version}", ("foo-1-1",), ), ( "f30", "enhancement", "This is the best upstream release ever: {version}", None, ), ), ) def test_basic_bodhi_update( cwd_upstream, api_instance, mock_remote_functionality_upstream, branch, update_type, update_notes, koji_builds, bodhi_response, ): # https://github.com/fedora-infra/bodhi/issues/3058 from bodhi.client.bindings import BodhiClient u, d, api = api_instance flexmock(api).should_receive("init_kerberos_ticket").at_least().once() flexmock( BodhiClient, latest_builds=lambda package: { "f29-override": "sen-0.6.0-3.fc29", "f29-updates": "sen-0.6.0-3.fc29", "f29-updates-candidate": "sen-0.6.0-3.fc29", "f29-updates-pending": "sen-0.6.0-3.fc29", "f29-updates-testing": "sen-0.6.0-3.fc29", "f29-updates-testing-pending": "sen-0.6.0-3.fc29", "f30-override": "sen-0.6.0-4.fc30", "f30-updates": "sen-0.6.0-4.fc30", "f30-updates-candidate": "sen-0.6.1-1.fc30", "f30-updates-pending": "sen-0.6.0-4.fc30", "f30-updates-testing": "sen-0.6.0-4.fc30", "f30-updates-testing-pending": "sen-0.6.0-4.fc30", }, save=lambda **kwargs: bodhi_response, ) api.create_update( dist_git_branch=branch, update_type=update_type, update_notes=update_notes, > koji_builds=koji_builds, ) BodhiClient = api = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b567978> api_instance = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] tuple object at 0x7feb3bf89f78> bodhi_response = {'alias': 'FEDORA-2019-0c53f2476d', 'autokarma': True, 'bugs': [], 'builds': [{'ci_url': None, 'epoch': 0, 'nvr': 'sen-0.6.1-1.fc30', 'release_id': 28, 'signed': True, 'type': 'rpm'}], 'close_bugs': True, 'comments': [{'anonymous': False, 'bug_feedback': [], 'id': 905816, 'karma': 0, 'karma_critpath': 0, 'testcase_feedback': [], 'text': 'This update has been submitted for testing by ' 'ttomecek. ', 'timestamp': '2019-03-10 12:09:35', 'update_id': 133306, 'user': {'avatar': 'https://apps.fedoraproject.org/img/icons/bodhi-24.png', 'email': None, 'groups': [], 'id': 91, 'name': 'bodhi', 'openid': 'bodhi.id.fedoraproject.org', 'show_popups': True}, 'user_id': 91}, {'anonymous': False, 'bug_feedback': [], 'id': 905871, 'karma': 0, 'karma_critpath': 0, 'testcase_feedback': [], 'text': 'This update has been pushed to testing.', 'timestamp': '2019-03-10 16:08:34', 'update_id': 133306, 'user': {'avatar': 'https://apps.fedoraproject.org/img/icons/bodhi-24.png', 'email': None, 'groups': [], 'id': 91, 'name': 'bodhi', 'openid': 'bodhi.id.fedoraproject.org', 'show_popups': True}, 'user_id': 91}, {'anonymous': False, 'bug_feedback': [], 'id': 908106, 'karma': 0, 'karma_critpath': 0, 'testcase_feedback': [], 'text': 'This update has reached 3 days in testing and can be ' 'pushed to stable now if the maintainer wishes', 'timestamp': '2019-03-13 18:02:58', 'update_id': 133306, 'user': {'avatar': 'https://apps.fedoraproject.org/img/icons/bodhi-24.png', 'email': None, 'groups': [], 'id': 91, 'name': 'bodhi', 'openid': 'bodhi.id.fedoraproject.org', 'show_popups': True}, 'user_id': 91}, {'anonymous': False, 'bug_feedback': [], 'id': 908350, 'karma': 0, 'karma_critpath': 0, 'testcase_feedback': [], 'text': 'This update has been submitted for batched by ' 'ttomecek. ', 'timestamp': '2019-03-14 07:47:14', 'update_id': 133306, 'user': {'avatar': 'https://apps.fedoraproject.org/img/icons/bodhi-24.png', 'email': None, 'groups': [], 'id': 91, 'name': 'bodhi', 'openid': 'bodhi.id.fedoraproject.org', 'show_popups': True}, 'user_id': 91}, {'anonymous': False, 'bug_feedback': [], 'id': 908675, 'karma': 0, 'karma_critpath': 0, 'testcase_feedback': [], 'text': 'This update has been submitted for stable by bodhi. ', 'timestamp': '2019-03-14 23:45:38', 'update_id': 133306, 'user': {'avatar': 'https://apps.fedoraproject.org/img/icons/bodhi-24.png', 'email': None, 'groups': [], 'id': 91, 'name': 'bodhi', 'openid': 'bodhi.id.fedoraproject.org', 'show_popups': True}, 'user_id': 91}], 'compose': None, 'content_type': 'rpm', 'critpath': False, 'date_approved': None, 'date_modified': None, 'date_pushed': '2019-03-10 16:08:18', 'date_stable': None, 'date_submitted': '2019-03-10 12:09:35', 'date_testing': '2019-03-10 16:08:18', 'display_name': '', 'greenwave_summary_string': 'no tests are required', 'greenwave_unsatisfied_requirements': None, 'karma': 0, 'locked': False, 'meets_testing_requirements': True, 'notes': 'New upstream release: 0.6.1', 'old_updateid': None, 'pushed': True, 'release': {'branch': 'f30', 'candidate_tag': 'f30-updates-candidate', 'composed_by_bodhi': True, 'composes': [], 'dist_tag': 'f30', 'id_prefix': 'FEDORA', 'long_name': 'Fedora 30', 'mail_template': 'fedora_errata_template', 'name': 'F30', 'override_tag': 'f30-override', 'pending_signing_tag': 'f30-signing-pending', 'pending_stable_tag': 'f30-updates-pending', 'pending_testing_tag': 'f30-updates-testing-pending', 'stable_tag': 'f30-updates', 'state': 'pending', 'testing_tag': 'f30-updates-testing', 'version': '30'}, 'request': 'stable', 'require_bugs': True, 'require_testcases': True, 'requirements': '', 'severity': 'unspecified', 'stable_karma': 3, 'status': 'testing', 'submitter': 'ttomecek', 'suggest': 'unspecified', 'test_cases': [], 'test_gating_status': 'ignored', 'title': 'sen-0.6.1-1.fc30', 'type': 'enhancement', 'unstable_karma': -3, 'updateid': 'FEDORA-2019-0c53f2476d', 'url': 'https://bodhi.fedoraproject.org/updates/FEDORA-2019-0c53f2476d', 'user': {'avatar': 'https://seccdn.libravatar.org/avatar/2098fd3a827c38e855bd76b1f6b75c85483b112f0e8f086257309df75dc04dc0?s=24&d=retro', 'email': 'ttomecek@redhat.com', 'groups': [Munch({'name': 'provenpackager'}), Munch({'name': 'packager'})], 'id': 754, 'name': 'ttomecek', 'openid': 'ttomecek.id.fedoraproject.org', 'show_popups': True}} branch = 'f30' cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/local_clone-upstream_git') d = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/dist_git') koji_builds = None mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/dist_git')) u = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/local_clone-upstream_git') update_notes = 'This is the best upstream release ever: {version}' update_type = 'enhancement' /usr/lib/python3.6/site-packages/packit/tests/integration/test_create_update.py:318: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.6/site-packages/packit/api.py:477: in create_update update_type=update_type, dist_git_branch = 'f30' koji_builds = None self = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b567978> update_notes = 'This is the best upstream release ever: {version}' update_type = 'enhancement' /usr/lib/python3.6/site-packages/packit/distgit.py:382: in create_bodhi_update rendered_note = update_notes.format(version=self.specfile.get_version()) BodhiClient = BodhiClientException = b = builds_d = {'f29-override': 'sen-0.6.0-3.fc29', 'f29-updates': 'sen-0.6.0-3.fc29', 'f29-updates-candidate': 'sen-0.6.0-3.fc29', 'f29-updates-pending': 'sen-0.6.0-3.fc29', 'f29-updates-testing': 'sen-0.6.0-3.fc29', 'f29-updates-testing-pending': 'sen-0.6.0-3.fc29', 'f30-override': 'sen-0.6.0-4.fc30', 'f30-updates': 'sen-0.6.0-4.fc30', 'f30-updates-candidate': 'sen-0.6.1-1.fc30', 'f30-updates-pending': 'sen-0.6.0-4.fc30', 'f30-updates-testing': 'sen-0.6.0-4.fc30', 'f30-updates-testing-pending': 'sen-0.6.0-4.fc30'} builds_str = (' - f29-override\n' ' - f29-updates\n' ' - f29-updates-candidate\n' ' - f29-updates-pending\n' ' - f29-updates-testing\n' ' - f29-updates-testing-pending\n' ' - f30-override\n' ' - f30-updates\n' ' - f30-updates-candidate\n' ' - f30-updates-pending\n' ' - f30-updates-testing\n' ' - f30-updates-testing-pending') dist_git_branch = 'f30' koji_builds = ['sen-0.6.1-1.fc30'] koji_builds_str = ' - sen-0.6.1-1.fc30' koji_tag = 'f30-updates-candidate' self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] DistGit object at 0x7feb3bf58438> update_notes = 'This is the best upstream release ever: {version}' update_type = 'enhancement' /usr/lib/python3.6/site-packages/packit/base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] DistGit object at 0x7feb3bf58438> /usr/lib/python3.6/site-packages/packit/specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/dist_git/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/dist_git') /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/dist_git/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/dist_git' /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b514ae8> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/upstream_remote-upstream_git/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/local_clone-upstream_git/.git/ [master (root-commit) c044d44] empty commit #0 [master 1797ab3] empty commit #1 [master 33cd6fa] empty commit #2 [master 7b70539] commit with data 4 files changed, 31 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/dist_git/.git/ [master (root-commit) 49802f4] empty commit #0 [master a07aed7] empty commit #1 [master 8ae2cd1] empty commit #2 [master e6b52c7] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/upstream_remote-upstream_git * [new branch] master -> master * [new tag] 0.1.0 -> 0.1.0 To /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_bodhi_update_f30_en1/dist_git_remote * [new branch] f30 -> f30 ----------------------------- Captured stderr call ----------------------------- Koji builds for package 'beer' and koji tag f30-updates-candidate: - sen-0.6.1-1.fc30 ------------------------------ Captured log call ------------------------------- INFO packit.distgit:distgit.py:371 Koji builds for package 'beer' and koji tag f30-updates-candidate: - sen-0.6.1-1.fc30 --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ________________________ test_allowed_gpg_keys_allowed _________________________ api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/source_gi...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf0cd30> gnupg_key_fingerprint = '5BD5F62FB7CF6BABEC863978AB44D48B588F3228' def test_allowed_gpg_keys_allowed( api_instance_source_git: PackitAPI, gnupg_key_fingerprint: str ): api_instance_source_git.up.local_project.git_repo.git.commit( message="signed commit", gpg_sign=gnupg_key_fingerprint, allow_empty=True ) api_instance_source_git.up.allowed_gpg_keys = [gnupg_key_fingerprint] > api_instance_source_git.up.check_last_commit() api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf0cd30> gnupg_key_fingerprint = '5BD5F62FB7CF6BABEC863978AB44D48B588F3228' tests/integration/test_security.py:61: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/source_gi... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bf0f6d8> def check_last_commit(self) -> None: if self.allowed_gpg_keys is None: logger.debug("Allowed GPG keys are not set, skipping the verification.") return ver = CommitVerifier() last_commit = self.local_project.git_repo.head.commit valid = ver.check_signature_of_commit( commit=last_commit, possible_key_fingerprints=self.allowed_gpg_keys ) if not valid: msg = f"Last commit {last_commit.hexsha!r} not signed by the authorized gpg key." logger.warning(msg) > raise PackitException(msg) E packit.exceptions.PackitException: Last commit '491967c1b4fefd1a931e2d7fc4f9bbef79f7443b' not signed by the authorized gpg key. last_commit = msg = ("Last commit '491967c1b4fefd1a931e2d7fc4f9bbef79f7443b' not signed by the " 'authorized gpg key.') self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bf0f6d8> valid = False ver = base_git.py:352: PackitException ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/source_git/.git/ [master (root-commit) 8d0aeb7] empty commit #0 [master e478f30] empty commit #1 [master a24ea19] empty commit #2 [master cf589f8] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master fd719d2] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/dist_git/.git/ [master (root-commit) 8d0aeb7] empty commit #0 [master e478f30] empty commit #1 [master a24ea19] empty commit #2 [master 503a5ba] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stderr call ----------------------------- WARNING Signature author not authorized. WARNING Last commit '491967c1b4fefd1a931e2d7fc4f9bbef79f7443b' not signed by the authorized gpg key. ------------------------------ Captured log call ------------------------------- WARNING packit.security:security.py:125 Signature author not authorized. WARNING packit.base_git:base_git.py:351 Last commit '491967c1b4fefd1a931e2d7fc4f9bbef79f7443b' not signed by the authorized gpg key. --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_allowed_gpg_keys_allowed0/source_git' is missing in the config. ___________________ test_basic_local_update_without_patching ___________________ sourcegit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git_remote')) distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git_remote')) mock_patching = None mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_g...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb400a9978> def test_basic_local_update_without_patching( sourcegit_and_remote, distgit_and_remote, mock_patching, mock_remote_functionality_sourcegit, api_instance_source_git, ): """ propose-update for sourcegit test: mock remote API, use local upstream and dist-git """ sourcegit, _ = sourcegit_and_remote distgit, _ = distgit_and_remote mock_spec_download_remote_s(distgit) api_instance_source_git.sync_release( dist_git_branch="master", version="0.1.0", use_local_content=True, > upstream_ref="0.1.0", ) _ = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git_remote') api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb400a9978> distgit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git') distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git_remote')) mock_patching = None mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git')) sourcegit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git') sourcegit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git_remote')) tests/integration/test_source_git.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: f821165b\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git/.packit.yaml, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git/README.packit') self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb400a9978> upstream_ref = '0.1.0' upstream_tag = '0.1.0' use_local_content = True version = '0.1.0' api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git/.packit.yaml, dist_is_dir=False)] self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb400a9978> upstream_tag = '0.1.0' base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb41560a58> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3bf71d08> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git/.git/ [master (root-commit) 542fbc2] empty commit #0 [master 42c9aea] empty commit #1 [master 363413d] empty commit #2 [master 0f4cfc7] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master f821165] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git/.git/ [master (root-commit) 542fbc2] empty commit #0 [master 42c9aea] empty commit #1 [master 363413d] empty commit #2 [master c36d79b] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stderr call ----------------------------- Using 'master' dist-git branch. ERROR Command 'git describe --tags --abbrev=0 0.1.0^' failed. Can't describe this repository, are there any git tags? ------------------------------ Captured log call ------------------------------- INFO packit.api:api.py:204 Using 'master' dist-git branch. ERROR packit.utils.commands:commands.py:86 Command 'git describe --tags --abbrev=0 0.1.0^' failed. INFO packit.upstream:upstream.py:434 Can't describe this repository, are there any git tags? --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_withou0/source_git' is missing in the config. __________________ test_basic_local_update_empty_patch[None] ___________________ distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_g...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf057f0> ref = None @pytest.mark.parametrize("ref", [None, "0.1.0", "0.1*", "0.*"]) def test_basic_local_update_empty_patch( distgit_and_remote, mock_remote_functionality_sourcegit, api_instance_source_git, ref, ): """ propose-update for sourcegit test: mock remote API, use local upstream and dist-git """ distgit, _ = distgit_and_remote mock_spec_download_remote_s(distgit) api_instance_source_git.sync_release( dist_git_branch="master", version="0.1.0", use_local_content=True, > upstream_ref=ref, ) _ = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git_remote') api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf057f0> distgit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git') distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git')) ref = None tests/integration/test_source_git.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: f821165b\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git/.packit.yaml, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git/README.packit') self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf057f0> upstream_ref = None upstream_tag = '0.1.0' use_local_content = True version = '0.1.0' api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git/.packit.yaml, dist_is_dir=False)] self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf057f0> upstream_tag = '0.1.0' base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bf05c18> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3bf71840> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git/.git/ [master (root-commit) 542fbc2] empty commit #0 [master 42c9aea] empty commit #1 [master 363413d] empty commit #2 [master c36d79b] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git/.git/ [master (root-commit) 542fbc2] empty commit #0 [master 42c9aea] empty commit #1 [master 363413d] empty commit #2 [master 0f4cfc7] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master f821165] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stderr call ----------------------------- Using 'master' dist-git branch. ERROR Command 'git describe --tags --abbrev=0 0.1.0^' failed. Can't describe this repository, are there any git tags? ------------------------------ Captured log call ------------------------------- INFO packit.api:api.py:204 Using 'master' dist-git branch. ERROR packit.utils.commands:commands.py:86 Command 'git describe --tags --abbrev=0 0.1.0^' failed. INFO packit.upstream:upstream.py:434 Can't describe this repository, are there any git tags? --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_0/source_git' is missing in the config. __________________ test_basic_local_update_empty_patch[0.1.0] __________________ distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_g...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bee8a90> ref = '0.1.0' @pytest.mark.parametrize("ref", [None, "0.1.0", "0.1*", "0.*"]) def test_basic_local_update_empty_patch( distgit_and_remote, mock_remote_functionality_sourcegit, api_instance_source_git, ref, ): """ propose-update for sourcegit test: mock remote API, use local upstream and dist-git """ distgit, _ = distgit_and_remote mock_spec_download_remote_s(distgit) api_instance_source_git.sync_release( dist_git_branch="master", version="0.1.0", use_local_content=True, > upstream_ref=ref, ) _ = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git_remote') api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bee8a90> distgit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git') distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git')) ref = '0.1.0' tests/integration/test_source_git.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: 2502f308\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git/.packit.yaml, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git/README.packit') self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bee8a90> upstream_ref = '0.1.0' upstream_tag = '0.1.0' use_local_content = True version = '0.1.0' api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git/.packit.yaml, dist_is_dir=False)] self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bee8a90> upstream_tag = '0.1.0' base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bee8710> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3bef62f0> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git/.git/ [master (root-commit) dbcc0a1] empty commit #0 [master 4cfdaed] empty commit #1 [master 75f96ce] empty commit #2 [master 6a61b70] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git/.git/ [master (root-commit) dbcc0a1] empty commit #0 [master 4cfdaed] empty commit #1 [master 75f96ce] empty commit #2 [master 7578bd1] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 2502f30] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stderr call ----------------------------- Using 'master' dist-git branch. ERROR Command 'git describe --tags --abbrev=0 0.1.0^' failed. Can't describe this repository, are there any git tags? ------------------------------ Captured log call ------------------------------- INFO packit.api:api.py:204 Using 'master' dist-git branch. ERROR packit.utils.commands:commands.py:86 Command 'git describe --tags --abbrev=0 0.1.0^' failed. INFO packit.upstream:upstream.py:434 Can't describe this repository, are there any git tags? --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_1/source_git' is missing in the config. __________________ test_basic_local_update_empty_patch[0.1*] ___________________ distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_g...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bff3da0> ref = '0.1*' @pytest.mark.parametrize("ref", [None, "0.1.0", "0.1*", "0.*"]) def test_basic_local_update_empty_patch( distgit_and_remote, mock_remote_functionality_sourcegit, api_instance_source_git, ref, ): """ propose-update for sourcegit test: mock remote API, use local upstream and dist-git """ distgit, _ = distgit_and_remote mock_spec_download_remote_s(distgit) api_instance_source_git.sync_release( dist_git_branch="master", version="0.1.0", use_local_content=True, > upstream_ref=ref, ) _ = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git_remote') api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bff3da0> distgit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git') distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git')) ref = '0.1*' tests/integration/test_source_git.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: 2502f308\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git/.packit.yaml, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git/README.packit') self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bff3da0> upstream_ref = '0.1.0' upstream_tag = '0.1.0' use_local_content = True version = '0.1.0' api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git/.packit.yaml, dist_is_dir=False)] self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bff3da0> upstream_tag = '0.1.0' base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bff3940> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b511048> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git/.git/ [master (root-commit) dbcc0a1] empty commit #0 [master 4cfdaed] empty commit #1 [master 75f96ce] empty commit #2 [master 6a61b70] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git/.git/ [master (root-commit) dbcc0a1] empty commit #0 [master 4cfdaed] empty commit #1 [master 75f96ce] empty commit #2 [master 7578bd1] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 2502f30] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stderr call ----------------------------- Using 'master' dist-git branch. ERROR Command 'git describe --tags --abbrev=0 0.1.0^' failed. Can't describe this repository, are there any git tags? ------------------------------ Captured log call ------------------------------- INFO packit.api:api.py:204 Using 'master' dist-git branch. ERROR packit.utils.commands:commands.py:86 Command 'git describe --tags --abbrev=0 0.1.0^' failed. INFO packit.upstream:upstream.py:434 Can't describe this repository, are there any git tags? --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_2/source_git' is missing in the config. ___________________ test_basic_local_update_empty_patch[0.*] ___________________ distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_g...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf05080> ref = '0.*' @pytest.mark.parametrize("ref", [None, "0.1.0", "0.1*", "0.*"]) def test_basic_local_update_empty_patch( distgit_and_remote, mock_remote_functionality_sourcegit, api_instance_source_git, ref, ): """ propose-update for sourcegit test: mock remote API, use local upstream and dist-git """ distgit, _ = distgit_and_remote mock_spec_download_remote_s(distgit) api_instance_source_git.sync_release( dist_git_branch="master", version="0.1.0", use_local_content=True, > upstream_ref=ref, ) _ = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git_remote') api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf05080> distgit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git') distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git')) ref = '0.*' tests/integration/test_source_git.py:83: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: 67f02138\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git/.packit.yaml, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git/README.packit') self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf05080> upstream_ref = '0.1.0' upstream_tag = '0.1.0' use_local_content = True version = '0.1.0' api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git/.packit.yaml, dist_is_dir=False)] self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf05080> upstream_tag = '0.1.0' base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bf05128> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b629d90> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git/.git/ [master (root-commit) dbcc0a1] empty commit #0 [master e114c54] empty commit #1 [master 2ec7510] empty commit #2 [master bd89e00] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git/.git/ [master (root-commit) 27c65f4] empty commit #0 [master d2255c0] empty commit #1 [master 1e41747] empty commit #2 [master ede1b50] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 67f0213] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stderr call ----------------------------- Using 'master' dist-git branch. ERROR Command 'git describe --tags --abbrev=0 0.1.0^' failed. Can't describe this repository, are there any git tags? ------------------------------ Captured log call ------------------------------- INFO packit.api:api.py:204 Using 'master' dist-git branch. ERROR packit.utils.commands:commands.py:86 Command 'git describe --tags --abbrev=0 0.1.0^' failed. INFO packit.upstream:upstream.py:434 Can't describe this repository, are there any git tags? --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_empty_3/source_git' is missing in the config. ____________________ test_basic_local_update_patch_content _____________________ sourcegit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git_remote')) distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_g...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf14470> def test_basic_local_update_patch_content( sourcegit_and_remote, distgit_and_remote, mock_remote_functionality_sourcegit, api_instance_source_git, ): """ propose-update for sourcegit test: mock remote API, use local upstream and dist-git """ sourcegit, _ = sourcegit_and_remote distgit, _ = distgit_and_remote mock_spec_download_remote_s(distgit) create_merge_commit_in_source_git(sourcegit) source_file = sourcegit / "big-source-file.txt" source_file.write_text("new changes") git_add_and_commit(directory=sourcegit, message="source change") source_file = sourcegit / "ignored_file.txt" source_file.write_text(" And I am sad.") git_add_and_commit(directory=sourcegit, message="make a file sad") api_instance_source_git.sync_release( dist_git_branch="master", version="0.1.0", use_local_content=True, > upstream_ref="0.1.0", ) _ = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git_remote') api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf14470> distgit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git') distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git')) source_file = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git/ignored_file.txt') sourcegit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git') sourcegit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git_remote')) tests/integration/test_source_git.py:125: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: 9ce7cafa\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git/.packit.yaml, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git/README.packit') self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf14470> upstream_ref = '0.1.0' upstream_tag = '0.1.0' use_local_content = True version = '0.1.0' api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git/.packit.yaml, dist_is_dir=False)] self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf14470> upstream_tag = '0.1.0' base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bf14ac8> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b511ea0> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git/.git/ [master (root-commit) 27c65f4] empty commit #0 [master d2255c0] empty commit #1 [master 1e41747] empty commit #2 [master ede1b50] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 67f0213] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git/.git/ [master (root-commit) 27c65f4] empty commit #0 [master d2255c0] empty commit #1 [master 1e41747] empty commit #2 [master 38cb2d3] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stdout call ----------------------------- [new-changes e469434] switching to amarillo hops 1 file changed, 1 insertion(+), 1 deletion(-) [new-changes 4eb08f2] actually, let's do citra 1 file changed, 1 insertion(+), 1 deletion(-) Merge made by the 'recursive' strategy. hops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [master b4b2784] source change 1 file changed, 1 insertion(+), 2 deletions(-) [master 9ce7caf] make a file sad 1 file changed, 1 insertion(+), 1 deletion(-) ----------------------------- Captured stderr call ----------------------------- Switched to a new branch 'new-changes' Switched to branch 'master' Using 'master' dist-git branch. ERROR Command 'git describe --tags --abbrev=0 0.1.0^' failed. Can't describe this repository, are there any git tags? ------------------------------ Captured log call ------------------------------- INFO packit.api:api.py:204 Using 'master' dist-git branch. ERROR packit.utils.commands:commands.py:86 Command 'git describe --tags --abbrev=0 0.1.0^' failed. INFO packit.upstream:upstream.py:434 Can't describe this repository, are there any git tags? --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_0/source_git' is missing in the config. _____________ test_basic_local_update_patch_content_with_metadata ______________ sourcegit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git_remote')) distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_g...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf96c88> def test_basic_local_update_patch_content_with_metadata( sourcegit_and_remote, distgit_and_remote, mock_remote_functionality_sourcegit, api_instance_source_git, ): """ propose-update for sourcegit test: mock remote API, use local upstream and dist-git """ sourcegit, _ = sourcegit_and_remote distgit, _ = distgit_and_remote mock_spec_download_remote_s(distgit) create_merge_commit_in_source_git(sourcegit) source_file = sourcegit / "big-source-file.txt" source_file.write_text("new changes") git_add_and_commit( directory=sourcegit, message="source change\n" "patch_name: testing.patch\n" "description: Few words for info.", ) source_file = sourcegit / "ignored_file.txt" source_file.write_text(" And I am sad.") git_add_and_commit(directory=sourcegit, message="make a file sad") api_instance_source_git.sync_release( dist_git_branch="master", version="0.1.0", use_local_content=True, > upstream_ref="0.1.0", ) _ = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git_remote') api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf96c88> distgit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git') distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git')) source_file = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git/ignored_file.txt') sourcegit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git') sourcegit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git_remote')) tests/integration/test_source_git.py:298: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: 3c31e39b\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git/.packit.yaml, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git/README.packit') self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf96c88> upstream_ref = '0.1.0' upstream_tag = '0.1.0' use_local_content = True version = '0.1.0' api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git/.packit.yaml, dist_is_dir=False)] self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf96c88> upstream_tag = '0.1.0' base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b6586a0> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3bef61e0> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git/.git/ [master (root-commit) 27c65f4] empty commit #0 [master 539ad1c] empty commit #1 [master 5619bbb] empty commit #2 [master 8a3e722] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 8fb2d41] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git/.git/ [master (root-commit) 3fc1c60] empty commit #0 [master 3b00bc7] empty commit #1 [master 30114d3] empty commit #2 [master bc29e8a] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stdout call ----------------------------- [new-changes a9211f0] switching to amarillo hops 1 file changed, 1 insertion(+), 1 deletion(-) [new-changes cef419c] actually, let's do citra 1 file changed, 1 insertion(+), 1 deletion(-) Merge made by the 'recursive' strategy. hops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [master baa0429] source change patch_name: testing.patch description: Few words for info. 1 file changed, 1 insertion(+), 2 deletions(-) [master 3c31e39] make a file sad 1 file changed, 1 insertion(+), 1 deletion(-) ----------------------------- Captured stderr call ----------------------------- Switched to a new branch 'new-changes' Switched to branch 'master' Using 'master' dist-git branch. ERROR Command 'git describe --tags --abbrev=0 0.1.0^' failed. Can't describe this repository, are there any git tags? ------------------------------ Captured log call ------------------------------- INFO packit.api:api.py:204 Using 'master' dist-git branch. ERROR packit.utils.commands:commands.py:86 Command 'git describe --tags --abbrev=0 0.1.0^' failed. INFO packit.upstream:upstream.py:434 Can't describe this repository, are there any git tags? --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_1/source_git' is missing in the config. ____ test_basic_local_update_patch_content_with_metadata_and_patch_ignored _____ sourcegit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git_remote')) distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_g...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b39a208> def test_basic_local_update_patch_content_with_metadata_and_patch_ignored( sourcegit_and_remote, distgit_and_remote, mock_remote_functionality_sourcegit, api_instance_source_git, ): """ propose-update for sourcegit test: mock remote API, use local upstream and dist-git """ sourcegit, _ = sourcegit_and_remote distgit, _ = distgit_and_remote mock_spec_download_remote_s(distgit) create_merge_commit_in_source_git(sourcegit) source_file = sourcegit / "big-source-file.txt" source_file.write_text("new changes") git_add_and_commit( directory=sourcegit, message="source change\nignore: true", ) source_file = sourcegit / "ignored_file.txt" source_file.write_text(" And I am sad.") git_add_and_commit(directory=sourcegit, message="make a file sad") api_instance_source_git.sync_release( dist_git_branch="master", version="0.1.0", use_local_content=True, > upstream_ref="0.1.0", ) _ = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git_remote') api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b39a208> distgit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git') distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git')) source_file = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git/ignored_file.txt') sourcegit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git') sourcegit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git_remote')) tests/integration/test_source_git.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: aa149ed5\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git/.packit.yaml, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git/README.packit') self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b39a208> upstream_ref = '0.1.0' upstream_tag = '0.1.0' use_local_content = True version = '0.1.0' api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git/.packit.yaml, dist_is_dir=False)] self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b39a208> upstream_tag = '0.1.0' base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b39a438> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3bf376a8> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git/.git/ [master (root-commit) 3fc1c60] empty commit #0 [master 3b00bc7] empty commit #1 [master 30114d3] empty commit #2 [master 53f05f4] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 45ba00e] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git/.git/ [master (root-commit) 3fc1c60] empty commit #0 [master 3b00bc7] empty commit #1 [master 30114d3] empty commit #2 [master bc29e8a] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stdout call ----------------------------- [new-changes 9f5302d] switching to amarillo hops 1 file changed, 1 insertion(+), 1 deletion(-) [new-changes 708f7e4] actually, let's do citra 1 file changed, 1 insertion(+), 1 deletion(-) Merge made by the 'recursive' strategy. hops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [master 24349ca] source change ignore: true 1 file changed, 1 insertion(+), 2 deletions(-) [master aa149ed] make a file sad 1 file changed, 1 insertion(+), 1 deletion(-) ----------------------------- Captured stderr call ----------------------------- Switched to a new branch 'new-changes' Switched to branch 'master' Using 'master' dist-git branch. ERROR Command 'git describe --tags --abbrev=0 0.1.0^' failed. Can't describe this repository, are there any git tags? ------------------------------ Captured log call ------------------------------- INFO packit.api:api.py:204 Using 'master' dist-git branch. ERROR packit.utils.commands:commands.py:86 Command 'git describe --tags --abbrev=0 0.1.0^' failed. INFO packit.upstream:upstream.py:434 Can't describe this repository, are there any git tags? --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_2/source_git' is missing in the config. _________ test_basic_local_update_patch_content_with_downstream_patch __________ sourcegit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git_remote')) distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_g...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b4f79e8> def test_basic_local_update_patch_content_with_downstream_patch( sourcegit_and_remote, distgit_and_remote, mock_remote_functionality_sourcegit, api_instance_source_git, ): """ propose-update for sourcegit test: mock remote API, use local upstream and dist-git """ sourcegit, _ = sourcegit_and_remote distgit, _ = distgit_and_remote mock_spec_download_remote_s(distgit) create_merge_commit_in_source_git(sourcegit) source_file = sourcegit / "ignored_file.txt" source_file.write_text(" And I am sad.") git_add_and_commit(directory=sourcegit, message="make a file sad") api_instance_source_git.sync_release( dist_git_branch="master", version="0.1.0", use_local_content=True, > upstream_ref="0.1.0", ) _ = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git_remote') api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b4f79e8> distgit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git') distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git_remote')) mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git')) source_file = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git/ignored_file.txt') sourcegit = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git') sourcegit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git_remote')) tests/integration/test_source_git.py:402: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: a6dbe3dc\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git/.packit.yaml, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git/README.packit') self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b4f79e8> upstream_ref = '0.1.0' upstream_tag = '0.1.0' use_local_content = True version = '0.1.0' api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git/fedora/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git/.packit.yaml, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git/.packit.yaml, dist_is_dir=False)] self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b4f79e8> upstream_tag = '0.1.0' base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b4f7a58> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b454d90> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git/.git/ [master (root-commit) 3fc1c60] empty commit #0 [master 3b00bc7] empty commit #1 [master 30114d3] empty commit #2 [master 55c4034] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master a928cd5] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git/.git/ [master (root-commit) c54341d] empty commit #0 [master 1cac591] empty commit #1 [master 456bf11] empty commit #2 [master dc6ea2e] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stdout call ----------------------------- [new-changes 44dfc2f] switching to amarillo hops 1 file changed, 1 insertion(+), 1 deletion(-) [new-changes f133849] actually, let's do citra 1 file changed, 1 insertion(+), 1 deletion(-) Merge made by the 'recursive' strategy. hops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [master a6dbe3d] make a file sad 1 file changed, 1 insertion(+), 1 deletion(-) ----------------------------- Captured stderr call ----------------------------- Switched to a new branch 'new-changes' Switched to branch 'master' Using 'master' dist-git branch. ERROR Command 'git describe --tags --abbrev=0 0.1.0^' failed. Can't describe this repository, are there any git tags? ------------------------------ Captured log call ------------------------------- INFO packit.api:api.py:204 Using 'master' dist-git branch. ERROR packit.utils.commands:commands.py:86 Command 'git describe --tags --abbrev=0 0.1.0^' failed. INFO packit.upstream:upstream.py:434 Can't describe this repository, are there any git tags? --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_basic_local_update_patch_3/source_git' is missing in the config. _______________________________ test_srpm[0.1.0] _______________________________ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b611198> output_file = None, upstream_ref = '0.1.0', srpm_dir = None def create_srpm( self, output_file: str = None, upstream_ref: str = None, srpm_dir: Union[Path, str] = None, ) -> Path: """ Create srpm from the upstream repo :param upstream_ref: git ref to upstream commit :param output_file: path + filename where the srpm should be written, defaults to cwd :param srpm_dir: path to the directory where the srpm is meant to be placed :return: a path to the srpm """ self.up.run_action(actions=ActionName.post_upstream_clone) try: > self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref) output_file = None self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b611198> srpm_dir = None upstream_ref = '0.1.0' api.py:497: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b4a3550> upstream_ref = '0.1.0' def prepare_upstream_for_srpm_creation(self, upstream_ref: str = None): """ 1. determine version 2. create an archive or download upstream and create patches for sourcegit 3. fix/update the specfile to use the right archive 4. download the remote sources :param upstream_ref: str, needed for the sourcegit mode """ current_git_describe_version = self.get_current_version() upstream_ref = self._expand_git_ref( upstream_ref or self.package_config.upstream_ref ) if upstream_ref: > self.prepare_upstream_using_source_git(upstream_ref) current_git_describe_version = '0.1.0' self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b4a3550> upstream_ref = '0.1.0' upstream.py:682: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b4a3550> upstream_ref = '0.1.0' def prepare_upstream_using_source_git(self, upstream_ref): """ Fetch the tarball and don't check out the upstream ref. :param upstream_ref: the base git ref for the source git :return: the source directory where we can build the SRPM """ > self.fetch_upstream_archive() self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b4a3550> upstream_ref = '0.1.0' upstream.py:727: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b4a3550> def fetch_upstream_archive(self): with cwd(self.absolute_specfile_dir): > self.specfile.download_remote_sources() self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b4a3550> base_git.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b4a3550> @property def specfile(self) -> Specfile: if self._specfile is None: self._specfile = Specfile( > self.absolute_specfile_path, self.absolute_specfile_dir ) self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b4a3550> base_git.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git/fedora/beer.spec') sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git/fedora') def __init__(self, path: Union[str, Path], sources_dir: Union[str, Path] = ""): s = inspect.signature(SpecFile) if "changelog_entry" in s.parameters: super().__init__( path=str(path), sources_location=str(sources_dir), changelog_entry="" ) else: > super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git/fedora') specfile.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = path = '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git/fedora/beer.spec' sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git/fedora' predefined_macros = None def __init__(self, path: str, sources_location: str = '', predefined_macros: Optional[Dict[str, str]] = None): # Initialize attributes self.path: str = path self.sources_location: str = sources_location self.predefined_macros: Dict[str, str] = predefined_macros or {} self.prep_section: str = '' self.sources: List[str] = [] self.patches: Dict[str, List[PatchObject]] = {} self.removed_patches: List[str] = [] self.category: Optional[PackageCategory] = None self.spc: rpm.spec = RpmHelper.get_rpm_spec(self.path, self.sources_location, self.predefined_macros) self.header: RpmHeader = RpmHeader(self.spc.sourceHeader) self.spec_content: SpecContent = self._read_spec_content() self.tags: Tags = Tags(self.spec_content, SpecContent(self.spc.parsed)) # Load rpm information > self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git/fedora' ../rebasehelper/specfile.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _update_data(self): """ Function updates data from given SPEC file :return: """ def guess_category(): for pkg in self.spc.packages: header = RpmHeader(pkg.header) for category in PackageCategory: if category.value.match(header.name): return category for provide in header.providename: if category.value.match(provide): return category return None self.category = guess_category() self.sources = self._get_spec_sources_list(self.spc) self.prep_section = self.spc.prep > self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb41117ea0> self = ../rebasehelper/specfile.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError The above exception was the direct cause of the following exception: mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b611198> ref = '0.1.0' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm(mock_remote_functionality_sourcegit, api_instance_source_git, ref): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") create_merge_commit_in_source_git(sg_path) with cwd(sg_path): > api_instance_source_git.create_srpm(upstream_ref=ref) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b611198> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/dist_git')) ref = '0.1.0' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git') tests/integration/test_source_git.py:432: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b611198> output_file = None, upstream_ref = '0.1.0', srpm_dir = None def create_srpm( self, output_file: str = None, upstream_ref: str = None, srpm_dir: Union[Path, str] = None, ) -> Path: """ Create srpm from the upstream repo :param upstream_ref: git ref to upstream commit :param output_file: path + filename where the srpm should be written, defaults to cwd :param srpm_dir: path to the directory where the srpm is meant to be placed :return: a path to the srpm """ self.up.run_action(actions=ActionName.post_upstream_clone) try: self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref) except Exception as ex: raise PackitSRPMException( f"Preparing of the upstream to the SRPM build failed: {ex}" > ) from ex E packit.exceptions.PackitSRPMException: Preparing of the upstream to the SRPM build failed: min() arg is an empty sequence output_file = None self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b611198> srpm_dir = None upstream_ref = '0.1.0' api.py:501: PackitSRPMException ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git/.git/ [master (root-commit) c54341d] empty commit #0 [master 1cac591] empty commit #1 [master 456bf11] empty commit #2 [master 4f62d83] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 496bfbe] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/dist_git/.git/ [master (root-commit) c54341d] empty commit #0 [master 1cac591] empty commit #1 [master 456bf11] empty commit #2 [master dc6ea2e] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stdout call ----------------------------- [new-changes 875a0c4] switching to amarillo hops 1 file changed, 1 insertion(+), 1 deletion(-) [new-changes 73ad0b3] actually, let's do citra 1 file changed, 1 insertion(+), 1 deletion(-) Merge made by the 'recursive' strategy. hops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ----------------------------- Captured stderr call ----------------------------- Switched to a new branch 'new-changes' Switched to branch 'master' --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1_0_0/source_git' is missing in the config. _______________________________ test_srpm[0.1*] ________________________________ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b6709e8> output_file = None, upstream_ref = '0.1*', srpm_dir = None def create_srpm( self, output_file: str = None, upstream_ref: str = None, srpm_dir: Union[Path, str] = None, ) -> Path: """ Create srpm from the upstream repo :param upstream_ref: git ref to upstream commit :param output_file: path + filename where the srpm should be written, defaults to cwd :param srpm_dir: path to the directory where the srpm is meant to be placed :return: a path to the srpm """ self.up.run_action(actions=ActionName.post_upstream_clone) try: > self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref) output_file = None self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b6709e8> srpm_dir = None upstream_ref = '0.1*' api.py:497: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb400649b0> upstream_ref = '0.1.0' def prepare_upstream_for_srpm_creation(self, upstream_ref: str = None): """ 1. determine version 2. create an archive or download upstream and create patches for sourcegit 3. fix/update the specfile to use the right archive 4. download the remote sources :param upstream_ref: str, needed for the sourcegit mode """ current_git_describe_version = self.get_current_version() upstream_ref = self._expand_git_ref( upstream_ref or self.package_config.upstream_ref ) if upstream_ref: > self.prepare_upstream_using_source_git(upstream_ref) current_git_describe_version = '0.1.0' self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb400649b0> upstream_ref = '0.1.0' upstream.py:682: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb400649b0> upstream_ref = '0.1.0' def prepare_upstream_using_source_git(self, upstream_ref): """ Fetch the tarball and don't check out the upstream ref. :param upstream_ref: the base git ref for the source git :return: the source directory where we can build the SRPM """ > self.fetch_upstream_archive() self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb400649b0> upstream_ref = '0.1.0' upstream.py:727: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb400649b0> def fetch_upstream_archive(self): with cwd(self.absolute_specfile_dir): > self.specfile.download_remote_sources() self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb400649b0> base_git.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb400649b0> @property def specfile(self) -> Specfile: if self._specfile is None: self._specfile = Specfile( > self.absolute_specfile_path, self.absolute_specfile_dir ) self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb400649b0> base_git.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git/fedora/beer.spec') sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git/fedora') def __init__(self, path: Union[str, Path], sources_dir: Union[str, Path] = ""): s = inspect.signature(SpecFile) if "changelog_entry" in s.parameters: super().__init__( path=str(path), sources_location=str(sources_dir), changelog_entry="" ) else: > super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git/fedora') specfile.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = path = '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git/fedora/beer.spec' sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git/fedora' predefined_macros = None def __init__(self, path: str, sources_location: str = '', predefined_macros: Optional[Dict[str, str]] = None): # Initialize attributes self.path: str = path self.sources_location: str = sources_location self.predefined_macros: Dict[str, str] = predefined_macros or {} self.prep_section: str = '' self.sources: List[str] = [] self.patches: Dict[str, List[PatchObject]] = {} self.removed_patches: List[str] = [] self.category: Optional[PackageCategory] = None self.spc: rpm.spec = RpmHelper.get_rpm_spec(self.path, self.sources_location, self.predefined_macros) self.header: RpmHeader = RpmHeader(self.spc.sourceHeader) self.spec_content: SpecContent = self._read_spec_content() self.tags: Tags = Tags(self.spec_content, SpecContent(self.spc.parsed)) # Load rpm information > self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git/fedora' ../rebasehelper/specfile.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _update_data(self): """ Function updates data from given SPEC file :return: """ def guess_category(): for pkg in self.spc.packages: header = RpmHeader(pkg.header) for category in PackageCategory: if category.value.match(header.name): return category for provide in header.providename: if category.value.match(provide): return category return None self.category = guess_category() self.sources = self._get_spec_sources_list(self.spc) self.prep_section = self.spc.prep > self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3bf37268> self = ../rebasehelper/specfile.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError The above exception was the direct cause of the following exception: mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b6709e8> ref = '0.1*' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm(mock_remote_functionality_sourcegit, api_instance_source_git, ref): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") create_merge_commit_in_source_git(sg_path) with cwd(sg_path): > api_instance_source_git.create_srpm(upstream_ref=ref) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b6709e8> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/dist_git')) ref = '0.1*' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git') tests/integration/test_source_git.py:432: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b6709e8> output_file = None, upstream_ref = '0.1*', srpm_dir = None def create_srpm( self, output_file: str = None, upstream_ref: str = None, srpm_dir: Union[Path, str] = None, ) -> Path: """ Create srpm from the upstream repo :param upstream_ref: git ref to upstream commit :param output_file: path + filename where the srpm should be written, defaults to cwd :param srpm_dir: path to the directory where the srpm is meant to be placed :return: a path to the srpm """ self.up.run_action(actions=ActionName.post_upstream_clone) try: self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref) except Exception as ex: raise PackitSRPMException( f"Preparing of the upstream to the SRPM build failed: {ex}" > ) from ex E packit.exceptions.PackitSRPMException: Preparing of the upstream to the SRPM build failed: min() arg is an empty sequence output_file = None self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b6709e8> srpm_dir = None upstream_ref = '0.1*' api.py:501: PackitSRPMException ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git/.git/ [master (root-commit) c54341d] empty commit #0 [master 1cac591] empty commit #1 [master 456bf11] empty commit #2 [master 4f62d83] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 496bfbe] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/dist_git/.git/ [master (root-commit) c54341d] empty commit #0 [master 1cac591] empty commit #1 [master 456bf11] empty commit #2 [master 2e8edf9] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stdout call ----------------------------- [new-changes 879448d] switching to amarillo hops 1 file changed, 1 insertion(+), 1 deletion(-) [new-changes 6b4da94] actually, let's do citra 1 file changed, 1 insertion(+), 1 deletion(-) Merge made by the 'recursive' strategy. hops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ----------------------------- Captured stderr call ----------------------------- Switched to a new branch 'new-changes' Switched to branch 'master' --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0_1__0/source_git' is missing in the config. ________________________________ test_srpm[0.*] ________________________________ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b3070f0> output_file = None, upstream_ref = '0.*', srpm_dir = None def create_srpm( self, output_file: str = None, upstream_ref: str = None, srpm_dir: Union[Path, str] = None, ) -> Path: """ Create srpm from the upstream repo :param upstream_ref: git ref to upstream commit :param output_file: path + filename where the srpm should be written, defaults to cwd :param srpm_dir: path to the directory where the srpm is meant to be placed :return: a path to the srpm """ self.up.run_action(actions=ActionName.post_upstream_clone) try: > self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref) output_file = None self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b3070f0> srpm_dir = None upstream_ref = '0.*' api.py:497: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b307390> upstream_ref = '0.1.0' def prepare_upstream_for_srpm_creation(self, upstream_ref: str = None): """ 1. determine version 2. create an archive or download upstream and create patches for sourcegit 3. fix/update the specfile to use the right archive 4. download the remote sources :param upstream_ref: str, needed for the sourcegit mode """ current_git_describe_version = self.get_current_version() upstream_ref = self._expand_git_ref( upstream_ref or self.package_config.upstream_ref ) if upstream_ref: > self.prepare_upstream_using_source_git(upstream_ref) current_git_describe_version = '0.1.0' self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b307390> upstream_ref = '0.1.0' upstream.py:682: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b307390> upstream_ref = '0.1.0' def prepare_upstream_using_source_git(self, upstream_ref): """ Fetch the tarball and don't check out the upstream ref. :param upstream_ref: the base git ref for the source git :return: the source directory where we can build the SRPM """ > self.fetch_upstream_archive() self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b307390> upstream_ref = '0.1.0' upstream.py:727: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b307390> def fetch_upstream_archive(self): with cwd(self.absolute_specfile_dir): > self.specfile.download_remote_sources() self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b307390> base_git.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b307390> @property def specfile(self) -> Specfile: if self._specfile is None: self._specfile = Specfile( > self.absolute_specfile_path, self.absolute_specfile_dir ) self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b307390> base_git.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git/fedora/beer.spec') sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git/fedora') def __init__(self, path: Union[str, Path], sources_dir: Union[str, Path] = ""): s = inspect.signature(SpecFile) if "changelog_entry" in s.parameters: super().__init__( path=str(path), sources_location=str(sources_dir), changelog_entry="" ) else: > super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git/fedora') specfile.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = path = '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git/fedora/beer.spec' sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git/fedora' predefined_macros = None def __init__(self, path: str, sources_location: str = '', predefined_macros: Optional[Dict[str, str]] = None): # Initialize attributes self.path: str = path self.sources_location: str = sources_location self.predefined_macros: Dict[str, str] = predefined_macros or {} self.prep_section: str = '' self.sources: List[str] = [] self.patches: Dict[str, List[PatchObject]] = {} self.removed_patches: List[str] = [] self.category: Optional[PackageCategory] = None self.spc: rpm.spec = RpmHelper.get_rpm_spec(self.path, self.sources_location, self.predefined_macros) self.header: RpmHeader = RpmHeader(self.spc.sourceHeader) self.spec_content: SpecContent = self._read_spec_content() self.tags: Tags = Tags(self.spec_content, SpecContent(self.spc.parsed)) # Load rpm information > self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git/fedora' ../rebasehelper/specfile.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _update_data(self): """ Function updates data from given SPEC file :return: """ def guess_category(): for pkg in self.spc.packages: header = RpmHeader(pkg.header) for category in PackageCategory: if category.value.match(header.name): return category for provide in header.providename: if category.value.match(provide): return category return None self.category = guess_category() self.sources = self._get_spec_sources_list(self.spc) self.prep_section = self.spc.prep > self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b505378> self = ../rebasehelper/specfile.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError The above exception was the direct cause of the following exception: mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0___0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b3070f0> ref = '0.*' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm(mock_remote_functionality_sourcegit, api_instance_source_git, ref): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") create_merge_commit_in_source_git(sg_path) with cwd(sg_path): > api_instance_source_git.create_srpm(upstream_ref=ref) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b3070f0> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0___0/dist_git')) ref = '0.*' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git') tests/integration/test_source_git.py:432: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b3070f0> output_file = None, upstream_ref = '0.*', srpm_dir = None def create_srpm( self, output_file: str = None, upstream_ref: str = None, srpm_dir: Union[Path, str] = None, ) -> Path: """ Create srpm from the upstream repo :param upstream_ref: git ref to upstream commit :param output_file: path + filename where the srpm should be written, defaults to cwd :param srpm_dir: path to the directory where the srpm is meant to be placed :return: a path to the srpm """ self.up.run_action(actions=ActionName.post_upstream_clone) try: self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref) except Exception as ex: raise PackitSRPMException( f"Preparing of the upstream to the SRPM build failed: {ex}" > ) from ex E packit.exceptions.PackitSRPMException: Preparing of the upstream to the SRPM build failed: min() arg is an empty sequence output_file = None self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b3070f0> srpm_dir = None upstream_ref = '0.*' api.py:501: PackitSRPMException ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git/.git/ [master (root-commit) a8d0999] empty commit #0 [master 12730d4] empty commit #1 [master 7a05544] empty commit #2 [master 8fa5c77] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 97f35b0] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_0___0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_0___0/dist_git/.git/ [master (root-commit) a8d0999] empty commit #0 [master 12730d4] empty commit #1 [master 7a05544] empty commit #2 [master 510b275] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_0___0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_0___0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stdout call ----------------------------- [new-changes 2074ea0] switching to amarillo hops 1 file changed, 1 insertion(+), 1 deletion(-) [new-changes ed9466e] actually, let's do citra 1 file changed, 1 insertion(+), 1 deletion(-) Merge made by the 'recursive' strategy. hops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ----------------------------- Captured stderr call ----------------------------- Switched to a new branch 'new-changes' Switched to branch 'master' --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_0___0/source_git' is missing in the config. _________________________ test_srpm_merge_storm[0.1.0] _________________________ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf0c0f0> output_file = None, upstream_ref = '0.1.0', srpm_dir = None def create_srpm( self, output_file: str = None, upstream_ref: str = None, srpm_dir: Union[Path, str] = None, ) -> Path: """ Create srpm from the upstream repo :param upstream_ref: git ref to upstream commit :param output_file: path + filename where the srpm should be written, defaults to cwd :param srpm_dir: path to the directory where the srpm is meant to be placed :return: a path to the srpm """ self.up.run_action(actions=ActionName.post_upstream_clone) try: > self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref) output_file = None self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf0c0f0> srpm_dir = None upstream_ref = '0.1.0' api.py:497: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bff38d0> upstream_ref = '0.1.0' def prepare_upstream_for_srpm_creation(self, upstream_ref: str = None): """ 1. determine version 2. create an archive or download upstream and create patches for sourcegit 3. fix/update the specfile to use the right archive 4. download the remote sources :param upstream_ref: str, needed for the sourcegit mode """ current_git_describe_version = self.get_current_version() upstream_ref = self._expand_git_ref( upstream_ref or self.package_config.upstream_ref ) if upstream_ref: > self.prepare_upstream_using_source_git(upstream_ref) current_git_describe_version = '0.1.0' self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bff38d0> upstream_ref = '0.1.0' upstream.py:682: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bff38d0> upstream_ref = '0.1.0' def prepare_upstream_using_source_git(self, upstream_ref): """ Fetch the tarball and don't check out the upstream ref. :param upstream_ref: the base git ref for the source git :return: the source directory where we can build the SRPM """ > self.fetch_upstream_archive() self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bff38d0> upstream_ref = '0.1.0' upstream.py:727: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bff38d0> def fetch_upstream_archive(self): with cwd(self.absolute_specfile_dir): > self.specfile.download_remote_sources() self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bff38d0> base_git.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bff38d0> @property def specfile(self) -> Specfile: if self._specfile is None: self._specfile = Specfile( > self.absolute_specfile_path, self.absolute_specfile_dir ) self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bff38d0> base_git.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git/fedora/beer.spec') sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git/fedora') def __init__(self, path: Union[str, Path], sources_dir: Union[str, Path] = ""): s = inspect.signature(SpecFile) if "changelog_entry" in s.parameters: super().__init__( path=str(path), sources_location=str(sources_dir), changelog_entry="" ) else: > super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git/fedora') specfile.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = path = '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git/fedora/beer.spec' sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git/fedora' predefined_macros = None def __init__(self, path: str, sources_location: str = '', predefined_macros: Optional[Dict[str, str]] = None): # Initialize attributes self.path: str = path self.sources_location: str = sources_location self.predefined_macros: Dict[str, str] = predefined_macros or {} self.prep_section: str = '' self.sources: List[str] = [] self.patches: Dict[str, List[PatchObject]] = {} self.removed_patches: List[str] = [] self.category: Optional[PackageCategory] = None self.spc: rpm.spec = RpmHelper.get_rpm_spec(self.path, self.sources_location, self.predefined_macros) self.header: RpmHeader = RpmHeader(self.spc.sourceHeader) self.spec_content: SpecContent = self._read_spec_content() self.tags: Tags = Tags(self.spec_content, SpecContent(self.spc.parsed)) # Load rpm information > self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git/fedora' ../rebasehelper/specfile.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _update_data(self): """ Function updates data from given SPEC file :return: """ def guess_category(): for pkg in self.spc.packages: header = RpmHeader(pkg.header) for category in PackageCategory: if category.value.match(header.name): return category for provide in header.providename: if category.value.match(provide): return category return None self.category = guess_category() self.sources = self._get_spec_sources_list(self.spc) self.prep_section = self.spc.prep > self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb41117ea0> self = ../rebasehelper/specfile.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError The above exception was the direct cause of the following exception: mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf0c0f0> ref = '0.1.0' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm_merge_storm( mock_remote_functionality_sourcegit, api_instance_source_git, ref ): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") create_merge_commit_in_source_git(sg_path, go_nuts=True) with cwd(sg_path): > api_instance_source_git.create_srpm(upstream_ref=ref) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf0c0f0> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/dist_git')) ref = '0.1.0' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git') tests/integration/test_source_git.py:458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf0c0f0> output_file = None, upstream_ref = '0.1.0', srpm_dir = None def create_srpm( self, output_file: str = None, upstream_ref: str = None, srpm_dir: Union[Path, str] = None, ) -> Path: """ Create srpm from the upstream repo :param upstream_ref: git ref to upstream commit :param output_file: path + filename where the srpm should be written, defaults to cwd :param srpm_dir: path to the directory where the srpm is meant to be placed :return: a path to the srpm """ self.up.run_action(actions=ActionName.post_upstream_clone) try: self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref) except Exception as ex: raise PackitSRPMException( f"Preparing of the upstream to the SRPM build failed: {ex}" > ) from ex E packit.exceptions.PackitSRPMException: Preparing of the upstream to the SRPM build failed: min() arg is an empty sequence output_file = None self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf0c0f0> srpm_dir = None upstream_ref = '0.1.0' api.py:501: PackitSRPMException ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git/.git/ [master (root-commit) a8d0999] empty commit #0 [master 12730d4] empty commit #1 [master 7a05544] empty commit #2 [master 8fa5c77] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 97f35b0] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/dist_git/.git/ [master (root-commit) a8d0999] empty commit #0 [master 12730d4] empty commit #1 [master 7a05544] empty commit #2 [master 510b275] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stdout call ----------------------------- [new-changes 3028293] switching to amarillo hops 1 file changed, 1 insertion(+), 1 deletion(-) [new-changes aad88cd] actually, let's do citra 1 file changed, 1 insertion(+), 1 deletion(-) Merge made by the 'recursive' strategy. hops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [ugly-merge 676d28d] let's start with the Munich malt 1 file changed, 1 insertion(+) create mode 100644 malt Merge made by the 'recursive' strategy. malt | 1 + 1 file changed, 1 insertion(+) create mode 100644 malt [ugly-merge2 782701a] let's try Pilsen instead 1 file changed, 1 insertion(+) create mode 100644 malt Auto-merging malt Merge made by the 'recursive' strategy. ----------------------------- Captured stderr call ----------------------------- Switched to a new branch 'new-changes' Switched to branch 'master' Switched to a new branch 'ugly-merge' Switched to branch 'master' Switched to a new branch 'ugly-merge2' Switched to branch 'master' --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1_0_0/source_git' is missing in the config. _________________________ test_srpm_merge_storm[0.1*] __________________________ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git'...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b562860> output_file = None, upstream_ref = '0.1*', srpm_dir = None def create_srpm( self, output_file: str = None, upstream_ref: str = None, srpm_dir: Union[Path, str] = None, ) -> Path: """ Create srpm from the upstream repo :param upstream_ref: git ref to upstream commit :param output_file: path + filename where the srpm should be written, defaults to cwd :param srpm_dir: path to the directory where the srpm is meant to be placed :return: a path to the srpm """ self.up.run_action(actions=ActionName.post_upstream_clone) try: > self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref) output_file = None self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b562860> srpm_dir = None upstream_ref = '0.1*' api.py:497: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git'... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b562160> upstream_ref = '0.1.0' def prepare_upstream_for_srpm_creation(self, upstream_ref: str = None): """ 1. determine version 2. create an archive or download upstream and create patches for sourcegit 3. fix/update the specfile to use the right archive 4. download the remote sources :param upstream_ref: str, needed for the sourcegit mode """ current_git_describe_version = self.get_current_version() upstream_ref = self._expand_git_ref( upstream_ref or self.package_config.upstream_ref ) if upstream_ref: > self.prepare_upstream_using_source_git(upstream_ref) current_git_describe_version = '0.1.0' self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b562160> upstream_ref = '0.1.0' upstream.py:682: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git'... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b562160> upstream_ref = '0.1.0' def prepare_upstream_using_source_git(self, upstream_ref): """ Fetch the tarball and don't check out the upstream ref. :param upstream_ref: the base git ref for the source git :return: the source directory where we can build the SRPM """ > self.fetch_upstream_archive() self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b562160> upstream_ref = '0.1.0' upstream.py:727: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git'... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b562160> def fetch_upstream_archive(self): with cwd(self.absolute_specfile_dir): > self.specfile.download_remote_sources() self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b562160> base_git.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git'... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b562160> @property def specfile(self) -> Specfile: if self._specfile is None: self._specfile = Specfile( > self.absolute_specfile_path, self.absolute_specfile_dir ) self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b562160> base_git.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git/fedora/beer.spec') sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git/fedora') def __init__(self, path: Union[str, Path], sources_dir: Union[str, Path] = ""): s = inspect.signature(SpecFile) if "changelog_entry" in s.parameters: super().__init__( path=str(path), sources_location=str(sources_dir), changelog_entry="" ) else: > super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git/fedora') specfile.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = path = '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git/fedora/beer.spec' sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git/fedora' predefined_macros = None def __init__(self, path: str, sources_location: str = '', predefined_macros: Optional[Dict[str, str]] = None): # Initialize attributes self.path: str = path self.sources_location: str = sources_location self.predefined_macros: Dict[str, str] = predefined_macros or {} self.prep_section: str = '' self.sources: List[str] = [] self.patches: Dict[str, List[PatchObject]] = {} self.removed_patches: List[str] = [] self.category: Optional[PackageCategory] = None self.spc: rpm.spec = RpmHelper.get_rpm_spec(self.path, self.sources_location, self.predefined_macros) self.header: RpmHeader = RpmHeader(self.spc.sourceHeader) self.spec_content: SpecContent = self._read_spec_content() self.tags: Tags = Tags(self.spec_content, SpecContent(self.spc.parsed)) # Load rpm information > self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git/fedora' ../rebasehelper/specfile.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _update_data(self): """ Function updates data from given SPEC file :return: """ def guess_category(): for pkg in self.spc.packages: header = RpmHeader(pkg.header) for category in PackageCategory: if category.value.match(header.name): return category for provide in header.providename: if category.value.match(provide): return category return None self.category = guess_category() self.sources = self._get_spec_sources_list(self.spc) self.prep_section = self.spc.prep > self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b64cd08> self = ../rebasehelper/specfile.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError The above exception was the direct cause of the following exception: mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git'...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b562860> ref = '0.1*' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm_merge_storm( mock_remote_functionality_sourcegit, api_instance_source_git, ref ): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") create_merge_commit_in_source_git(sg_path, go_nuts=True) with cwd(sg_path): > api_instance_source_git.create_srpm(upstream_ref=ref) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b562860> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/dist_git')) ref = '0.1*' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git') tests/integration/test_source_git.py:458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git'...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b562860> output_file = None, upstream_ref = '0.1*', srpm_dir = None def create_srpm( self, output_file: str = None, upstream_ref: str = None, srpm_dir: Union[Path, str] = None, ) -> Path: """ Create srpm from the upstream repo :param upstream_ref: git ref to upstream commit :param output_file: path + filename where the srpm should be written, defaults to cwd :param srpm_dir: path to the directory where the srpm is meant to be placed :return: a path to the srpm """ self.up.run_action(actions=ActionName.post_upstream_clone) try: self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref) except Exception as ex: raise PackitSRPMException( f"Preparing of the upstream to the SRPM build failed: {ex}" > ) from ex E packit.exceptions.PackitSRPMException: Preparing of the upstream to the SRPM build failed: min() arg is an empty sequence output_file = None self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b562860> srpm_dir = None upstream_ref = '0.1*' api.py:501: PackitSRPMException ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git/.git/ [master (root-commit) c724e1d] empty commit #0 [master 96b10d0] empty commit #1 [master 998ed1b] empty commit #2 [master dd8a1d0] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master b81617c] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/dist_git/.git/ [master (root-commit) c724e1d] empty commit #0 [master 96b10d0] empty commit #1 [master 998ed1b] empty commit #2 [master db21fee] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stdout call ----------------------------- [new-changes 368e450] switching to amarillo hops 1 file changed, 1 insertion(+), 1 deletion(-) [new-changes 8aaafaf] actually, let's do citra 1 file changed, 1 insertion(+), 1 deletion(-) Merge made by the 'recursive' strategy. hops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [ugly-merge 3a8958b] let's start with the Munich malt 1 file changed, 1 insertion(+) create mode 100644 malt Merge made by the 'recursive' strategy. malt | 1 + 1 file changed, 1 insertion(+) create mode 100644 malt [ugly-merge2 97ed78b] let's try Pilsen instead 1 file changed, 1 insertion(+) create mode 100644 malt Auto-merging malt Merge made by the 'recursive' strategy. ----------------------------- Captured stderr call ----------------------------- Switched to a new branch 'new-changes' Switched to branch 'master' Switched to a new branch 'ugly-merge' Switched to branch 'master' Switched to a new branch 'ugly-merge2' Switched to branch 'master' --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0_1__0/source_git' is missing in the config. __________________________ test_srpm_merge_storm[0.*] __________________________ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' ...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b5ebcc0> output_file = None, upstream_ref = '0.*', srpm_dir = None def create_srpm( self, output_file: str = None, upstream_ref: str = None, srpm_dir: Union[Path, str] = None, ) -> Path: """ Create srpm from the upstream repo :param upstream_ref: git ref to upstream commit :param output_file: path + filename where the srpm should be written, defaults to cwd :param srpm_dir: path to the directory where the srpm is meant to be placed :return: a path to the srpm """ self.up.run_action(actions=ActionName.post_upstream_clone) try: > self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref) output_file = None self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b5ebcc0> srpm_dir = None upstream_ref = '0.*' api.py:497: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' ... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b654470> upstream_ref = '0.1.0' def prepare_upstream_for_srpm_creation(self, upstream_ref: str = None): """ 1. determine version 2. create an archive or download upstream and create patches for sourcegit 3. fix/update the specfile to use the right archive 4. download the remote sources :param upstream_ref: str, needed for the sourcegit mode """ current_git_describe_version = self.get_current_version() upstream_ref = self._expand_git_ref( upstream_ref or self.package_config.upstream_ref ) if upstream_ref: > self.prepare_upstream_using_source_git(upstream_ref) current_git_describe_version = '0.1.0' self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b654470> upstream_ref = '0.1.0' upstream.py:682: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' ... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b654470> upstream_ref = '0.1.0' def prepare_upstream_using_source_git(self, upstream_ref): """ Fetch the tarball and don't check out the upstream ref. :param upstream_ref: the base git ref for the source git :return: the source directory where we can build the SRPM """ > self.fetch_upstream_archive() self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b654470> upstream_ref = '0.1.0' upstream.py:727: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' ... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b654470> def fetch_upstream_archive(self): with cwd(self.absolute_specfile_dir): > self.specfile.download_remote_sources() self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b654470> base_git.py:356: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' ... in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b654470> @property def specfile(self) -> Specfile: if self._specfile is None: self._specfile = Specfile( > self.absolute_specfile_path, self.absolute_specfile_dir ) self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b654470> base_git.py:102: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git/fedora/beer.spec') sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git/fedora') def __init__(self, path: Union[str, Path], sources_dir: Union[str, Path] = ""): s = inspect.signature(SpecFile) if "changelog_entry" in s.parameters: super().__init__( path=str(path), sources_location=str(sources_dir), changelog_entry="" ) else: > super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git/fedora') specfile.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = path = '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git/fedora/beer.spec' sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git/fedora' predefined_macros = None def __init__(self, path: str, sources_location: str = '', predefined_macros: Optional[Dict[str, str]] = None): # Initialize attributes self.path: str = path self.sources_location: str = sources_location self.predefined_macros: Dict[str, str] = predefined_macros or {} self.prep_section: str = '' self.sources: List[str] = [] self.patches: Dict[str, List[PatchObject]] = {} self.removed_patches: List[str] = [] self.category: Optional[PackageCategory] = None self.spc: rpm.spec = RpmHelper.get_rpm_spec(self.path, self.sources_location, self.predefined_macros) self.header: RpmHeader = RpmHeader(self.spc.sourceHeader) self.spec_content: SpecContent = self._read_spec_content() self.tags: Tags = Tags(self.spec_content, SpecContent(self.spc.parsed)) # Load rpm information > self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git/fedora' ../rebasehelper/specfile.py:135: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def _update_data(self): """ Function updates data from given SPEC file :return: """ def guess_category(): for pkg in self.spc.packages: header = RpmHeader(pkg.header) for category in PackageCategory: if category.value.match(header.name): return category for provide in header.providename: if category.value.match(provide): return category return None self.category = guess_category() self.sources = self._get_spec_sources_list(self.spc) self.prep_section = self.spc.prep > self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b454d90> self = ../rebasehelper/specfile.py:196: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError The above exception was the direct cause of the following exception: mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' ...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b5ebcc0> ref = '0.*' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm_merge_storm( mock_remote_functionality_sourcegit, api_instance_source_git, ref ): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") create_merge_commit_in_source_git(sg_path, go_nuts=True) with cwd(sg_path): > api_instance_source_git.create_srpm(upstream_ref=ref) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b5ebcc0> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/dist_git')) ref = '0.*' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git') tests/integration/test_source_git.py:458: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' ...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b5ebcc0> output_file = None, upstream_ref = '0.*', srpm_dir = None def create_srpm( self, output_file: str = None, upstream_ref: str = None, srpm_dir: Union[Path, str] = None, ) -> Path: """ Create srpm from the upstream repo :param upstream_ref: git ref to upstream commit :param output_file: path + filename where the srpm should be written, defaults to cwd :param srpm_dir: path to the directory where the srpm is meant to be placed :return: a path to the srpm """ self.up.run_action(actions=ActionName.post_upstream_clone) try: self.up.prepare_upstream_for_srpm_creation(upstream_ref=upstream_ref) except Exception as ex: raise PackitSRPMException( f"Preparing of the upstream to the SRPM build failed: {ex}" > ) from ex E packit.exceptions.PackitSRPMException: Preparing of the upstream to the SRPM build failed: min() arg is an empty sequence output_file = None self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b5ebcc0> srpm_dir = None upstream_ref = '0.*' api.py:501: PackitSRPMException ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git/.git/ [master (root-commit) c724e1d] empty commit #0 [master 96b10d0] empty commit #1 [master 998ed1b] empty commit #2 [master dd8a1d0] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master b81617c] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/dist_git/.git/ [master (root-commit) c724e1d] empty commit #0 [master 96b10d0] empty commit #1 [master 998ed1b] empty commit #2 [master db21fee] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ----------------------------- Captured stdout call ----------------------------- [new-changes 368e450] switching to amarillo hops 1 file changed, 1 insertion(+), 1 deletion(-) [new-changes 8aaafaf] actually, let's do citra 1 file changed, 1 insertion(+), 1 deletion(-) Merge made by the 'recursive' strategy. hops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) [ugly-merge 3a8958b] let's start with the Munich malt 1 file changed, 1 insertion(+) create mode 100644 malt Merge made by the 'recursive' strategy. malt | 1 + 1 file changed, 1 insertion(+) create mode 100644 malt [ugly-merge2 ec79073] let's try Pilsen instead 1 file changed, 1 insertion(+) create mode 100644 malt Auto-merging malt Merge made by the 'recursive' strategy. ----------------------------- Captured stderr call ----------------------------- Switched to a new branch 'new-changes' Switched to branch 'master' Switched to a new branch 'ugly-merge' Switched to branch 'master' Switched to a new branch 'ugly-merge2' Switched to branch 'master' --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_merge_storm_0___0/source_git' is missing in the config. ___________________________ test_srpm_git_am[0.1.0] ____________________________ mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git' is ...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b562978> ref = '0.1.0' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm_git_am(mock_remote_functionality_sourcegit, api_instance_source_git, ref): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") api_instance_source_git.up.specfile.spec_content.section("%package")[10:10] = ( "Patch1: citra.patch", "Patch2: malt.patch", > "Patch8: 0001-m04r-malt.patch", ) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b562978> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/dist_git')) ref = '0.1.0' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git') tests/integration/test_source_git.py:486: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b54ac18> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b46e730> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git/.git/ [master (root-commit) 7dff17f] empty commit #0 [master d69f1c4] empty commit #1 [master 00c47f5] empty commit #2 [master 72e5643] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 5b52270] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/dist_git/.git/ [master (root-commit) 7dff17f] empty commit #0 [master d69f1c4] empty commit #1 [master 00c47f5] empty commit #2 [master 47e941e] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1_0_0/source_git' is missing in the config. ____________________________ test_srpm_git_am[0.1*] ____________________________ mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git' is m...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb40084ef0> ref = '0.1*' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm_git_am(mock_remote_functionality_sourcegit, api_instance_source_git, ref): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") api_instance_source_git.up.specfile.spec_content.section("%package")[10:10] = ( "Patch1: citra.patch", "Patch2: malt.patch", > "Patch8: 0001-m04r-malt.patch", ) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb40084ef0> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/dist_git')) ref = '0.1*' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git') tests/integration/test_source_git.py:486: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bf58358> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b6a5f28> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git/.git/ [master (root-commit) 7dff17f] empty commit #0 [master d69f1c4] empty commit #1 [master 00c47f5] empty commit #2 [master 72e5643] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 5b52270] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/dist_git/.git/ [master (root-commit) 7dff17f] empty commit #0 [master d69f1c4] empty commit #1 [master 00c47f5] empty commit #2 [master 47e941e] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0_1__0/source_git' is missing in the config. ____________________________ test_srpm_git_am[0.*] _____________________________ mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git' is mi...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b5b0b00> ref = '0.*' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm_git_am(mock_remote_functionality_sourcegit, api_instance_source_git, ref): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") api_instance_source_git.up.specfile.spec_content.section("%package")[10:10] = ( "Patch1: citra.patch", "Patch2: malt.patch", > "Patch8: 0001-m04r-malt.patch", ) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b5b0b00> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/dist_git')) ref = '0.*' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git') tests/integration/test_source_git.py:486: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b5c2f28> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b46e488> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git/.git/ [master (root-commit) 7dff17f] empty commit #0 [master d69f1c4] empty commit #1 [master 00c47f5] empty commit #2 [master 72e5643] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master 5b52270] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/dist_git/.git/ [master (root-commit) 7dff17f] empty commit #0 [master d69f1c4] empty commit #1 [master 00c47f5] empty commit #2 [master 47e941e] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_am_0___0/source_git' is missing in the config. ____________________ test_srpm_git_no_prefix_patches[0.1.0] ____________________ mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_g...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b5a4f28> ref = '0.1.0' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm_git_no_prefix_patches( mock_remote_functionality_sourcegit, api_instance_source_git, ref ): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") api_instance_source_git.up.specfile.spec_content.section("%package")[10:10] = ( "Patch1: amarillo.patch", "Patch2: citra.patch", > "Patch8: malt.patch", ) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b5a4f28> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/dist_git')) ref = '0.1.0' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git') tests/integration/test_source_git.py:527: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b5a4c88> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b6a5620> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git/.git/ [master (root-commit) d413aee] empty commit #0 [master b3652be] empty commit #1 [master 4422156] empty commit #2 [master a09e607] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master c1873c1] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/dist_git/.git/ [master (root-commit) d413aee] empty commit #0 [master b3652be] empty commit #1 [master 4422156] empty commit #2 [master 0fa10a6] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche0/source_git' is missing in the config. ____________________ test_srpm_git_no_prefix_patches[0.1*] _____________________ mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_g...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b506358> ref = '0.1*' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm_git_no_prefix_patches( mock_remote_functionality_sourcegit, api_instance_source_git, ref ): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") api_instance_source_git.up.specfile.spec_content.section("%package")[10:10] = ( "Patch1: amarillo.patch", "Patch2: citra.patch", > "Patch8: malt.patch", ) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b506358> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/dist_git')) ref = '0.1*' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git') tests/integration/test_source_git.py:527: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b6bdda0> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b511f28> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git/.git/ [master (root-commit) d413aee] empty commit #0 [master b3652be] empty commit #1 [master 4422156] empty commit #2 [master a09e607] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master c1873c1] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/dist_git/.git/ [master (root-commit) d413aee] empty commit #0 [master b3652be] empty commit #1 [master 4422156] empty commit #2 [master 0fa10a6] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche1/source_git' is missing in the config. _____________________ test_srpm_git_no_prefix_patches[0.*] _____________________ mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_g...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf0ec18> ref = '0.*' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm_git_no_prefix_patches( mock_remote_functionality_sourcegit, api_instance_source_git, ref ): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") api_instance_source_git.up.specfile.spec_content.section("%package")[10:10] = ( "Patch1: amarillo.patch", "Patch2: citra.patch", > "Patch8: malt.patch", ) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3bf0ec18> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/dist_git')) ref = '0.*' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git') tests/integration/test_source_git.py:527: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bf0e940> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b6a21e0> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git/.git/ [master (root-commit) d413aee] empty commit #0 [master b3652be] empty commit #1 [master 4422156] empty commit #2 [master a09e607] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master c1873c1] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/dist_git/.git/ [master (root-commit) d413aee] empty commit #0 [master b3652be] empty commit #1 [master 4422156] empty commit #2 [master 0fa10a6] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_git_no_prefix_patche2/source_git' is missing in the config. _________________________ test_srpm_empty_patch[0.1.0] _________________________ mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b6b58d0> ref = '0.1.0' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm_empty_patch( mock_remote_functionality_sourcegit, api_instance_source_git, ref ): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") api_instance_source_git.up.specfile.spec_content.section("%package")[10:10] = ( "Patch1: amarillo.patch", "Patch2: citra.patch", "Patch5: saaz.patch", > "Patch8: malt.patch", ) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b6b58d0> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/dist_git')) ref = '0.1.0' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git') tests/integration/test_source_git.py:564: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b6b5eb8> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b511400> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git/.git/ [master (root-commit) d32356e] empty commit #0 [master 3dea39e] empty commit #1 [master ea19b17] empty commit #2 [master 67ee553] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master df61c64] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/dist_git/.git/ [master (root-commit) d32356e] empty commit #0 [master 3dea39e] empty commit #1 [master ea19b17] empty commit #2 [master 409fd85] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1_0_0/source_git' is missing in the config. _________________________ test_srpm_empty_patch[0.1*] __________________________ mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git'...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b4f7b38> ref = '0.1*' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm_empty_patch( mock_remote_functionality_sourcegit, api_instance_source_git, ref ): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") api_instance_source_git.up.specfile.spec_content.section("%package")[10:10] = ( "Patch1: amarillo.patch", "Patch2: citra.patch", "Patch5: saaz.patch", > "Patch8: malt.patch", ) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b4f7b38> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/dist_git')) ref = '0.1*' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git') tests/integration/test_source_git.py:564: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b4f7fd0> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b4547b8> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git/.git/ [master (root-commit) d32356e] empty commit #0 [master 3dea39e] empty commit #1 [master ea19b17] empty commit #2 [master 67ee553] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master df61c64] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/dist_git/.git/ [master (root-commit) d32356e] empty commit #0 [master 3dea39e] empty commit #1 [master ea19b17] empty commit #2 [master 409fd85] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0_1__0/source_git' is missing in the config. __________________________ test_srpm_empty_patch[0.*] __________________________ mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/dist_git')) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git' ...in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b3462e8> ref = '0.*' @pytest.mark.parametrize("ref", ["0.1.0", "0.1*", "0.*"]) def test_srpm_empty_patch( mock_remote_functionality_sourcegit, api_instance_source_git, ref ): sg_path = Path(api_instance_source_git.upstream_local_project.working_dir) mock_spec_download_remote_s(sg_path, sg_path / "fedora", "0.1.0") api_instance_source_git.up.specfile.spec_content.section("%package")[10:10] = ( "Patch1: amarillo.patch", "Patch2: citra.patch", "Patch5: saaz.patch", > "Patch8: malt.patch", ) api_instance_source_git = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b3462e8> mock_remote_functionality_sourcegit = (PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/dist_git')) ref = '0.*' sg_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git') tests/integration/test_source_git.py:564: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3b3469b0> specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git/fedora/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git/fedora') ../rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git/fedora/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git/fedora' ../rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3bf37f28> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = ../rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git/.git/ [master (root-commit) d32356e] empty commit #0 [master 3dea39e] empty commit #1 [master ea19b17] empty commit #2 [master 67ee553] commit with data 3 files changed, 4 insertions(+) create mode 100644 README create mode 100644 big-source-file.txt create mode 100644 hops [master df61c64] sourcegit content 3 files changed, 46 insertions(+) create mode 100644 .packit.yaml create mode 100644 fedora/beer.spec create mode 100644 ignored_file.txt Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/dist_git/.git/ [master (root-commit) d32356e] empty commit #0 [master 3dea39e] empty commit #1 [master ea19b17] empty commit #2 [master 409fd85] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/dist_git_remote * [new branch] f30 -> f30 WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. ------------------------------ Captured log setup ------------------------------ WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. WARNING packit.schema:schema.py:241 Job metadata key 'dist_git_branch' has been renamed to 'dist_git_branches', please update your configuration file. --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_srpm_empty_patch_0___0/source_git' is missing in the config. ___________________________ test_basic_local_update ____________________________ cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update0/local_clone-upstream_git') api_instance = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update0/local_clone-upstream_git'), PosixPath('/tmp/pytest-o...n the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b4c3b38>) mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update0/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git')) def test_basic_local_update( cwd_upstream, api_instance, mock_remote_functionality_upstream ): """ basic propose-update test: mock remote API, use local upstream and dist-git """ u, d, api = api_instance mock_spec_download_remote_s(d) flexmock(api).should_receive("init_kerberos_ticket").at_least().once() > api.sync_release(dist_git_branch="master", version="0.1.0") api = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b4c3b38> api_instance = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] tuple object at 0x7feb3b44cb40> cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update0/local_clone-upstream_git') d = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git') mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update0/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git')) u = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update0/local_clone-upstream_git') /usr/lib/python3.6/site-packages/packit/tests/integration/test_update.py:67: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.6/site-packages/packit/api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: d5d9d09a\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update0/local_clone-upstream_git/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update0/local_clone-upstream_git/.packit.json, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git/.packit.json, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git/README.packit') self = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b4c3b38> upstream_ref = None upstream_tag = '0.1.0' use_local_content = False version = '0.1.0' /usr/lib/python3.6/site-packages/packit/api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update0/local_clone-upstream_git/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update0/local_clone-upstream_git/.packit.json, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git/.packit.json, dist_is_dir=False)] self = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b4c3b38> upstream_tag = '0.1.0' /usr/lib/python3.6/site-packages/packit/base_git.py:366: in set_specfile_content this_changelog = self.specfile.spec_content.section("%changelog") comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] DistGit object at 0x7feb3b442160> specfile = version = '0.1.0' /usr/lib/python3.6/site-packages/packit/base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] DistGit object at 0x7feb3b442160> /usr/lib/python3.6/site-packages/packit/specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git') /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git' /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b64c1e0> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update0/upstream_remote-upstream_git/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update0/local_clone-upstream_git/.git/ [master (root-commit) 62c1aab] empty commit #0 [master 5bdf8e8] empty commit #1 [master b9cfb06] empty commit #2 [master d5d9d09] commit with data 4 files changed, 31 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git/.git/ [master (root-commit) 62c1aab] empty commit #0 [master 5bdf8e8] empty commit #1 [master b9cfb06] empty commit #2 [master aeade3f] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update0/upstream_remote-upstream_git * [new branch] master -> master * [new tag] 0.1.0 -> 0.1.0 To /tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update0/dist_git_remote * [new branch] f30 -> f30 ----------------------------- Captured stderr call ----------------------------- Checking out upstream version 0.1.0. Using 'master' dist-git branch. ERROR Command 'git describe --tags --abbrev=0 0.1.0^' failed. Can't describe this repository, are there any git tags? ------------------------------ Captured log call ------------------------------- INFO packit.local_project:local_project.py:421 Checking out upstream version 0.1.0. INFO packit.api:api.py:204 Using 'master' dist-git branch. ERROR packit.utils.commands:commands.py:86 Command 'git describe --tags --abbrev=0 0.1.0^' failed. INFO packit.upstream:upstream.py:434 Can't describe this repository, are there any git tags? --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. __________ test_basic_local_update_copy_upstream_release_description ___________ cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/local_clone-upstream_git') api_instance = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/local_clone-upstream_git'), PosixPath('/tmp/p... may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] PackitAPI object at 0x7feb3b56a160>) mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git')) def test_basic_local_update_copy_upstream_release_description( cwd_upstream, api_instance, mock_remote_functionality_upstream ): """basic propose-update test: mock remote API, use local upstream and dist-git, set copy_upstream_release_description in package config to True""" u, d, api = api_instance mock_spec_download_remote_s(d) flexmock(api).should_receive("init_kerberos_ticket").at_least().once() release = flexmock(body="Some description of the upstream release") api.up.local_project.git_project = flexmock(get_release=lambda name: release) api.package_config.copy_upstream_release_description = True > api.sync_release(dist_git_branch="master", version="0.1.0") api = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] PackitAPI object at 0x7feb3b56a160> api_instance = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] tuple object at 0x7feb3b515828> cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/local_clone-upstream_git') d = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git') mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git')) release = u = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/local_clone-upstream_git') /usr/lib/python3.6/site-packages/packit/tests/integration/test_update.py:104: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.6/site-packages/packit/api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: 89a7e33c\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/local_clone-upstream_git/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/local_clone-upstream_git/.packit.json, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git/.packit.json, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git/README.packit') self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] PackitAPI object at 0x7feb3b56a160> upstream_ref = None upstream_tag = '0.1.0' use_local_content = False version = '0.1.0' /usr/lib/python3.6/site-packages/packit/api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = 'Some description of the upstream release' full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/local_clone-upstream_git/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/local_clone-upstream_git/.packit.json, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git/.packit.json, dist_is_dir=False)] self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] PackitAPI object at 0x7feb3b56a160> upstream_tag = '0.1.0' /usr/lib/python3.6/site-packages/packit/base_git.py:366: in set_specfile_content this_changelog = self.specfile.spec_content.section("%changelog") comment = 'Some description of the upstream release' self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] DistGit object at 0x7feb3b4ef550> specfile = version = '0.1.0' /usr/lib/python3.6/site-packages/packit/base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] DistGit object at 0x7feb3b4ef550> /usr/lib/python3.6/site-packages/packit/specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git') /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git' /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b4febf8> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/upstream_remote-upstream_git/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/local_clone-upstream_git/.git/ [master (root-commit) d2fd59c] empty commit #0 [master a4c65d4] empty commit #1 [master 4687b4b] empty commit #2 [master 89a7e33] commit with data 4 files changed, 31 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git/.git/ [master (root-commit) d2fd59c] empty commit #0 [master a4c65d4] empty commit #1 [master 4687b4b] empty commit #2 [master c7ef614] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/upstream_remote-upstream_git * [new branch] master -> master * [new tag] 0.1.0 -> 0.1.0 To /tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_copy_u0/dist_git_remote * [new branch] f30 -> f30 ----------------------------- Captured stderr call ----------------------------- Checking out upstream version 0.1.0. Using 'master' dist-git branch. ------------------------------ Captured log call ------------------------------- INFO packit.local_project:local_project.py:421 Checking out upstream version 0.1.0. INFO packit.api:api.py:204 Using 'master' dist-git branch. --------------------------- Captured stderr teardown --------------------------- ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ____________________ test_basic_local_update_using_distgit _____________________ cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/local_clone-upstream_git') api_instance = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/local_clone-upstream_git'), PosixPath('/tmp/p...n the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b3b4fd0>) mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git')) def test_basic_local_update_using_distgit( cwd_upstream, api_instance, mock_remote_functionality_upstream ): """ basic propose-update test: mock remote API, use local upstream and dist-git """ u, d, api = api_instance mock_spec_download_remote_s(d) > api.sync_release(dist_git_branch="master", version="0.1.0") api = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b3b4fd0> api_instance = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] tuple object at 0x7feb3b515168> cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/local_clone-upstream_git') d = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git') mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git')) u = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/local_clone-upstream_git') /usr/lib/python3.6/site-packages/packit/tests/integration/test_update.py:131: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.6/site-packages/packit/api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: 954e727d\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/local_clone-upstream_git/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/local_clone-upstream_git/.packit.json, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git/.packit.json, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git/README.packit') self = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b3b4fd0> upstream_ref = None upstream_tag = '0.1.0' use_local_content = False version = '0.1.0' /usr/lib/python3.6/site-packages/packit/api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/local_clone-upstream_git/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/local_clone-upstream_git/.packit.json, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git/.packit.json, dist_is_dir=False)] self = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b3b4fd0> upstream_tag = '0.1.0' /usr/lib/python3.6/site-packages/packit/base_git.py:366: in set_specfile_content this_changelog = self.specfile.spec_content.section("%changelog") comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] DistGit object at 0x7feb3b3b4eb8> specfile = version = '0.1.0' /usr/lib/python3.6/site-packages/packit/base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] DistGit object at 0x7feb3b3b4eb8> /usr/lib/python3.6/site-packages/packit/specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git') /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git' /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b64cae8> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/upstream_remote-upstream_git/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/local_clone-upstream_git/.git/ [master (root-commit) c133d42] empty commit #0 [master f46626d] empty commit #1 [master 22d8a5b] empty commit #2 [master 954e727] commit with data 4 files changed, 31 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git/.git/ [master (root-commit) c133d42] empty commit #0 [master f46626d] empty commit #1 [master 22d8a5b] empty commit #2 [master d32a711] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/upstream_remote-upstream_git * [new branch] master -> master * [new tag] 0.1.0 -> 0.1.0 To /tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_using_0/dist_git_remote * [new branch] f30 -> f30 ----------------------------- Captured stderr call ----------------------------- Checking out upstream version 0.1.0. Using 'master' dist-git branch. ERROR Command 'git describe --tags --abbrev=0 0.1.0^' failed. Can't describe this repository, are there any git tags? ------------------------------ Captured log call ------------------------------- INFO packit.local_project:local_project.py:421 Checking out upstream version 0.1.0. INFO packit.api:api.py:204 Using 'master' dist-git branch. ERROR packit.utils.commands:commands.py:86 Command 'git describe --tags --abbrev=0 0.1.0^' failed. INFO packit.upstream:upstream.py:434 Can't describe this repository, are there any git tags? --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. _____________________ test_basic_local_update_direct_push ______________________ cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/local_clone-upstream_git') api_instance = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/local_clone-upstream_git'), PosixPath('/tmp/p...n the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b690dd8>) distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git_remote')) mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git')) def test_basic_local_update_direct_push( cwd_upstream, api_instance, distgit_and_remote, mock_remote_functionality_upstream ): """ basic propose-update test: mock remote API, use local upstream and dist-git """ u, d, api = api_instance _, distgit_remote = distgit_and_remote mock_spec_download_remote_s(d) > api.sync_release(dist_git_branch="master", version="0.1.0", create_pr=False) _ = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git') api = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b690dd8> api_instance = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] tuple object at 0x7feb3bf64a68> cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/local_clone-upstream_git') d = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git') distgit_and_remote = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git_remote')) distgit_remote = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git_remote') mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git')) u = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/local_clone-upstream_git') /usr/lib/python3.6/site-packages/packit/tests/integration/test_update.py:160: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.6/site-packages/packit/api.py:235: in sync_release upstream_tag=upstream_tag, create_pr = False current_up_branch = 'master' description = 'Upstream tag: 0.1.0\nUpstream commit: b30cd108\n' dist_git_branch = 'master' force = False force_new_sources = False full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/local_clone-upstream_git/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/local_clone-upstream_git/.packit.json, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git/.packit.json, dist_is_dir=False)] readme_path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git/README.packit') self = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b690dd8> upstream_ref = None upstream_tag = '0.1.0' use_local_content = False version = '0.1.0' /usr/lib/python3.6/site-packages/packit/api.py:288: in _prepare_files_to_sync self.dg.set_specfile_content(self.up.specfile, full_version, comment) comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') full_version = '0.1.0' raw_sync_files = [RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/local_clone-upstream_git/beer.spec, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git/beer.spec, dist_is_dir=False), RawSyncFilesItem(src=/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/local_clone-upstream_git/.packit.json, dest=/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git/.packit.json, dist_is_dir=False)] self = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb3b690dd8> upstream_tag = '0.1.0' /usr/lib/python3.6/site-packages/packit/base_git.py:366: in set_specfile_content this_changelog = self.specfile.spec_content.section("%changelog") comment = ('- commit with data (Packit Test Suite)\n' '- empty commit #2 (Your Name)\n' '- empty commit #1 (Your Name)\n' '- empty commit #0 (Your Name)') self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] DistGit object at 0x7feb3b2147b8> specfile = version = '0.1.0' /usr/lib/python3.6/site-packages/packit/base_git.py:102: in specfile self.absolute_specfile_path, self.absolute_specfile_dir self = <[PackitCommandFailedError('Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active.',) raised in repr()] DistGit object at 0x7feb3b2147b8> /usr/lib/python3.6/site-packages/packit/specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git/beer.spec') s = self = sources_dir = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git') /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git/beer.spec' predefined_macros = None self = sources_location = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git' /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b4cab70> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/upstream_remote-upstream_git/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/local_clone-upstream_git/.git/ [master (root-commit) 5d2fe8d] empty commit #0 [master 8c9321d] empty commit #1 [master 5a89518] empty commit #2 [master b30cd10] commit with data 4 files changed, 31 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git/.git/ [master (root-commit) 18da1e3] empty commit #0 [master df6e086] empty commit #1 [master 4976ee8] empty commit #2 [master aec8eec] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/upstream_remote-upstream_git * [new branch] master -> master * [new tag] 0.1.0 -> 0.1.0 To /tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_direct0/dist_git_remote * [new branch] f30 -> f30 ----------------------------- Captured stderr call ----------------------------- Checking out upstream version 0.1.0. Using 'master' dist-git branch. ERROR Command 'git describe --tags --abbrev=0 0.1.0^' failed. Can't describe this repository, are there any git tags? ------------------------------ Captured log call ------------------------------- INFO packit.local_project:local_project.py:421 Checking out upstream version 0.1.0. INFO packit.api:api.py:204 Using 'master' dist-git branch. ERROR packit.utils.commands:commands.py:86 Command 'git describe --tags --abbrev=0 0.1.0^' failed. INFO packit.upstream:upstream.py:434 Can't describe this repository, are there any git tags? --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ERROR Packit failed to clone the repository beer; please make sure that you are authorized to clone repositories from Fedora dist-git - this may require SSH keys set up or Kerberos ticket being active. ___________________ test_basic_local_update_from_downstream ____________________ cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/local_clone-upstream_git') api_instance = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/local_clone-upstream_git'), PosixPath('/tmp/p...n the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb416f4ef0>) mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/dist_git')) def test_basic_local_update_from_downstream( cwd_upstream, api_instance, mock_remote_functionality_upstream ): flexmock(LocalProject, _parse_namespace_from_git_url=lambda: None) u, d, api = api_instance api.sync_from_downstream("master", "master", True) new_upstream = api.up.local_project.working_dir assert (new_upstream / "beer.spec").is_file() > spec = Specfile(new_upstream / "beer.spec") api = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] PackitAPI object at 0x7feb416f4ef0> api_instance = <[PackitConfigException("Authentication for url '' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] tuple object at 0x7feb3b6379d8> cwd_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/local_clone-upstream_git') d = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/dist_git') mock_remote_functionality_upstream = (PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/local_clone-upstream_git'), PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/dist_git')) new_upstream = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/local_clone-upstream_git') u = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/local_clone-upstream_git') /usr/lib/python3.6/site-packages/packit/tests/integration/test_update.py:208: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.6/site-packages/packit/specfile.py:53: in __init__ super().__init__(path=str(path), sources_location=str(sources_dir)) __class__ = path = PosixPath('/tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/local_clone-upstream_git/beer.spec') s = self = sources_dir = '' /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:135: in __init__ self._update_data() path = '/tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/local_clone-upstream_git/beer.spec' predefined_macros = None self = sources_location = '' /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:196: in _update_data self.main_source_index = self._identify_main_source(self.spc) guess_category = .guess_category at 0x7feb3b4547b8> self = _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ spec = @staticmethod def _identify_main_source(spec: rpm.spec) -> int: # lowest index is the main source > return min([s[1] for s in spec.sources if s[2] == 1]) E ValueError: min() arg is an empty sequence spec = /usr/lib/python3.6/site-packages/rebasehelper/specfile.py:235: ValueError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/upstream_remote-upstream_git/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/local_clone-upstream_git/.git/ [master (root-commit) e3baca5] empty commit #0 [master e617fe3] empty commit #1 [master 06086e7] empty commit #2 [master d5806de] commit with data 4 files changed, 31 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/dist_git/.git/ [master (root-commit) e3baca5] empty commit #0 [master e617fe3] empty commit #1 [master 06086e7] empty commit #2 [master 6c8678b] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/upstream_remote-upstream_git * [new branch] master -> master * [new tag] 0.1.0 -> 0.1.0 To /tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/dist_git_remote * [new branch] f30 -> f30 ----------------------------- Captured stderr call ----------------------------- Upstream active branch: master Using 'master' dist-git branch. Copying /tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/dist_git/beer.spec to /tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/local_clone-upstream_git/beer.spec. ------------------------------ Captured log call ------------------------------- INFO packit.api:api.py:329 Upstream active branch: master INFO packit.api:api.py:338 Using 'master' dist-git branch. INFO packit.sync:sync.py:121 Copying /tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/dist_git/beer.spec to /tmp/pytest-of-root/pytest-9/test_basic_local_update_from_d0/local_clone-upstream_git/beer.spec. --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. WARNING Authentication for url '' is missing in the config. ______________________ test_create_srpm_git_desc_release _______________________ upstream_instance = (PosixPath('/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/local_clone-upstream_git'), <[PackitConfigExc...in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bf54be0>) def test_create_srpm_git_desc_release(upstream_instance): u, ups = upstream_instance u.joinpath("README").write_text("\nEven better now!\n") subprocess.check_call(["git", "add", "."], cwd=u) subprocess.check_call(["git", "commit", "-m", "More awesome changes"], cwd=u) ups.create_archive() ups.prepare_upstream_for_srpm_creation() srpm = ups.create_srpm() assert srpm.exists() build_srpm(srpm) > assert re.match( r".+beer-0.1.0-1\.\d{20}\.\w+\.\d\.g\w{7}\.fc\d{2}.src.rpm$", str(srpm) ) E AssertionError: assert None E + where None = ('.+beer-0.1.0-1\\.\\d{20}\\.\\w+\\.\\d\\.g\\w{7}\\.fc\\d{2}.src.rpm$', '/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/beer-0.1.0-1.20201207174333721768.master.1.g65cdba4.el8.src.rpm') E + where = re.match E + and '/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/beer-0.1.0-1.20201207174333721768.master.1.g65cdba4.el8.src.rpm' = str(PosixPath('/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/beer-0.1.0-1.20201207174333721768.master.1.g65cdba4.el8.src.rpm')) srpm = PosixPath('/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/beer-0.1.0-1.20201207174333721768.master.1.g65cdba4.el8.src.rpm') u = PosixPath('/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/local_clone-upstream_git') ups = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/local_clone-upstream_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] Upstream object at 0x7feb3bf54be0> upstream_instance = <[PackitConfigException("Authentication for url '/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/local_clone-upstream_git' is missing in the config.", OgrException('No matching service was found.',)) raised in repr()] tuple object at 0x7feb3b6247c8> /usr/lib/python3.6/site-packages/packit/tests/integration/test_upstream.py:296: AssertionError ---------------------------- Captured stdout setup ----------------------------- Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/upstream_remote-upstream_git/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/local_clone-upstream_git/.git/ [master (root-commit) 3456c31] empty commit #0 [master 8006e73] empty commit #1 [master 94ca751] empty commit #2 [master efc3c82] commit with data 4 files changed, 31 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/dist_git_remote/ Initialized empty Git repository in /tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/dist_git/.git/ [master (root-commit) 3456c31] empty commit #0 [master 8006e73] empty commit #1 [master 94ca751] empty commit #2 [master 1812723] commit with data 4 files changed, 32 insertions(+) create mode 100644 .packit.json create mode 100644 README create mode 100644 beer.spec create mode 100644 hops Branch 'master' set up to track remote branch 'master' from 'origin'. Branch 'f30' set up to track remote branch 'f30' from 'origin'. ---------------------------- Captured stderr setup ----------------------------- To /tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/upstream_remote-upstream_git * [new branch] master -> master * [new tag] 0.1.0 -> 0.1.0 To /tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/dist_git_remote * [new branch] master -> master To /tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/dist_git_remote * [new branch] f30 -> f30 ----------------------------- Captured stdout call ----------------------------- [master 65cdba4] More awesome changes 1 file changed, 2 insertions(+), 1 deletion(-) ------------------------------ Captured log call ------------------------------- VERBOSE rebasehelper.specfile:specfile.py:977 Writing SPEC file '/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/local_clone-upstream_git/beer.spec' to the disc VERBOSE rebasehelper.specfile:specfile.py:519 Updating version in SPEC from 0.1.0 to 0.1.0 VERBOSE rebasehelper.specfile:specfile.py:977 Writing SPEC file '/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/local_clone-upstream_git/beer.spec' to the disc VERBOSE rebasehelper.specfile:specfile.py:523 Changing release to 1.20201207174333721768.master.1.g65cdba4 VERBOSE rebasehelper.specfile:specfile.py:977 Writing SPEC file '/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/local_clone-upstream_git/beer.spec' to the disc VERBOSE rebasehelper.specfile:specfile.py:977 Writing SPEC file '/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/local_clone-upstream_git/beer.spec' to the disc --------------------------- Captured stderr teardown --------------------------- WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/local_clone-upstream_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/local_clone-upstream_git' is missing in the config. WARNING Authentication for url '/tmp/pytest-of-root/pytest-9/test_create_srpm_git_desc_rele0/local_clone-upstream_git' is missing in the config. =============================== warnings summary =============================== ../../../../lib64/python3.6/site-packages/koji/__init__.py:31 /usr/lib64/python3.6/site-packages/koji/__init__.py:31: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp ../fedora/client/bodhi.py:48 /usr/lib/python3.6/site-packages/fedora/client/bodhi.py:48: DeprecationWarning: fedora.client.bodhi has been deprecated. Please use bodhi.client.bindings instead. DeprecationWarning) tests/unit/test_config.py::test_job_config_blah tests/unit/test_config.py::test_job_config_blah tests/unit/test_package_config.py::test_package_config_validate[raw10-False] tests/unit/test_package_config.py::test_package_config_validate[raw10-False] /usr/lib/python3.6/site-packages/marshmallow/fields.py:286: DeprecationWarning: `Field.fail` is deprecated. Use `raise self.make_error("by_name", ...)` instead. DeprecationWarning, -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ FAILED tests/unit/test_git_utils.py::test_get_message_from_metadata[single key-value] FAILED tests/unit/test_git_utils.py::test_get_message_from_metadata[multiple key-values] FAILED tests/unit/test_package_config.py::test_package_config_parse[specfile_path+synced_files+downstream_package_name] FAILED tests/unit/test_package_config.py::test_dist_git_package_url - Asserti... FAILED tests/integration/test_create_update.py::test_basic_bodhi_update[f30-enhancement-This is the best upstream release ever: {version}-koji_builds0] FAILED tests/integration/test_create_update.py::test_basic_bodhi_update[f30-enhancement-This is the best upstream release ever: {version}-None] FAILED tests/integration/test_security.py::test_allowed_gpg_keys_allowed - pa... FAILED tests/integration/test_source_git.py::test_basic_local_update_without_patching FAILED tests/integration/test_source_git.py::test_basic_local_update_empty_patch[None] FAILED tests/integration/test_source_git.py::test_basic_local_update_empty_patch[0.1.0] FAILED tests/integration/test_source_git.py::test_basic_local_update_empty_patch[0.1*] FAILED tests/integration/test_source_git.py::test_basic_local_update_empty_patch[0.*] FAILED tests/integration/test_source_git.py::test_basic_local_update_patch_content FAILED tests/integration/test_source_git.py::test_basic_local_update_patch_content_with_metadata FAILED tests/integration/test_source_git.py::test_basic_local_update_patch_content_with_metadata_and_patch_ignored FAILED tests/integration/test_source_git.py::test_basic_local_update_patch_content_with_downstream_patch FAILED tests/integration/test_source_git.py::test_srpm[0.1.0] - packit.except... FAILED tests/integration/test_source_git.py::test_srpm[0.1*] - packit.excepti... FAILED tests/integration/test_source_git.py::test_srpm[0.*] - packit.exceptio... FAILED tests/integration/test_source_git.py::test_srpm_merge_storm[0.1.0] - p... FAILED tests/integration/test_source_git.py::test_srpm_merge_storm[0.1*] - pa... FAILED tests/integration/test_source_git.py::test_srpm_merge_storm[0.*] - pac... FAILED tests/integration/test_source_git.py::test_srpm_git_am[0.1.0] - ValueE... FAILED tests/integration/test_source_git.py::test_srpm_git_am[0.1*] - ValueEr... FAILED tests/integration/test_source_git.py::test_srpm_git_am[0.*] - ValueErr... FAILED tests/integration/test_source_git.py::test_srpm_git_no_prefix_patches[0.1.0] FAILED tests/integration/test_source_git.py::test_srpm_git_no_prefix_patches[0.1*] FAILED tests/integration/test_source_git.py::test_srpm_git_no_prefix_patches[0.*] FAILED tests/integration/test_source_git.py::test_srpm_empty_patch[0.1.0] - V... FAILED tests/integration/test_source_git.py::test_srpm_empty_patch[0.1*] - Va... FAILED tests/integration/test_source_git.py::test_srpm_empty_patch[0.*] - Val... FAILED tests/integration/test_update.py::test_basic_local_update - ValueError... FAILED tests/integration/test_update.py::test_basic_local_update_copy_upstream_release_description FAILED tests/integration/test_update.py::test_basic_local_update_using_distgit FAILED tests/integration/test_update.py::test_basic_local_update_direct_push FAILED tests/integration/test_update.py::test_basic_local_update_from_downstream FAILED tests/integration/test_upstream.py::test_create_srpm_git_desc_release ====== 37 failed, 894 passed, 4 skipped, 6 warnings in 513.33s (0:08:33) =======