pungi/tests
Lubomír Sedlář fc86e03e44
pkgset: ignore events for modular content tags
Generally we want all packages to come from particular event.

There are two exceptions: packages configured via `pkgset_koji_builds`
are pulled in by exact NVR and skip event; and modules in
`pkgset_koji_modules` are pulled in by NSVC and also ignore events.

However, the modular content tag did honor event, and could lead to a
crashed compose if the content tag did not exist at the configured
event.

This patch is a slightly too big hammer. It ignores events for all
modules, not just ones configured by explicit NSVC. It's not a huge deal
as the content tags are created before the corresponding module build is
created, and once all rpm builds are tagged into the content tag, MBS
will never change it again.

JIRA: RHELCMP-12765
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit b32c8f3e5e)
2024-08-30 13:30:38 +03:00
..
data comps: Apply arch filtering to environment/optionlist 2023-11-10 16:51:52 +02:00
fixtures - Fix unittests 2022-11-08 14:57:52 +02:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
Dockerfile-test Install missing deps in ci image 2021-08-17 12:01:51 +08:00
Dockerfile-test-py2 Install missing deps in ci image 2021-08-17 12:01:51 +08:00
helpers.py kojiwrapper: Stop being smart about local access 2023-11-10 16:57:53 +02:00
Jenkinsfile Add Jenkinsfile for CI 2022-08-29 17:38:04 +08:00
test_arch.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_arguments.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_buildinstall.py Drop buildinstall method 2024-08-30 13:30:35 +03:00
test_checks.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_compose.py Support OIDC Client Credentials authentication to CTS 2023-11-10 16:54:58 +02:00
test_compose.sh tests: Fix test_compose.sh paths 2017-08-10 09:28:36 +02:00
test_comps_wrapper.py Filter out environment groups unmatch given arch 2022-02-22 11:33:25 +08:00
test_config_utils.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_config_validate_script.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_config.py Drop buildinstall method 2024-08-30 13:30:35 +03:00
test_create_extra_repo.py ALBS-987: Generate i686 and dev repositories with pungi on building new distr. version automatically 2023-03-30 12:52:51 +03:00
test_create_packages_json.py - Bump version 2023-11-15 14:49:51 +02:00
test_createiso_phase.py Fix unittest errors 2023-11-10 16:57:51 +02:00
test_createiso_script.py Drop buildinstall method 2024-08-30 13:30:35 +03:00
test_createrepo_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_createrepophase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_extra_files_phase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_extra_isos_phase.py Merge branch 'master' into a8_updated 2022-11-07 23:38:38 +02:00
test_fus_wrapper.py Merge branch 'master' into a8_updated 2022-11-07 23:38:38 +02:00
test_gather_method_deps.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_gather_method_hybrid.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_gather_method_nodeps.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_gather_modules.py - kojimock is added to pungi.phases.gather._make_lookaside_repo#prefixes 2022-11-09 20:56:56 +02:00
test_gather_phase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_gather_rpms.py AL-5220: Investigate why CL9 can't built on the new nebula 2023-07-24 18:26:51 +03:00
test_gather_source_module.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_gather.py Format code 2021-03-02 18:31:45 +08:00
test_graph.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_image_container_phase.py Fix unittest errors 2023-11-10 16:57:51 +02:00
test_imagebuildphase.py Fix unittest errors 2023-11-10 16:57:51 +02:00
test_imagechecksumphase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_initphase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_iso_wrapper.py Fix black complaints 2023-11-10 16:50:38 +02:00
test_koji_local_source.py ALBS-1040: Investigate why Pungi doesn't put modules packages into the final repos 2023-03-14 18:43:14 +02:00
test_koji_wrapper.py Fix black complaints 2023-11-10 16:50:38 +02:00
test_linker.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_liveimagesphase.py Fix unittest errors 2023-11-10 16:57:51 +02:00
test_livemediaphase.py Fix unittest errors 2023-11-10 16:57:51 +02:00
test_lorax_wrapper.py Replace -c parameter with --config 2020-08-13 11:16:43 +02:00
test_media_split.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_metadata.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_module_util.py Fix module defaults and obsoletes validation 2022-06-10 11:35:26 +00:00
test_notifier.py Update to work with latest mock 2023-11-10 16:50:34 +02:00
test_osbs_phase.py Fix unittest errors 2023-11-10 16:57:51 +02:00
test_osbuild_phase.py Fix unittest errors 2023-11-10 16:57:51 +02:00
test_ostree_installer_phase.py Fix unittest errors 2023-11-10 16:57:51 +02:00
test_ostree_phase.py Fix unittest errors 2023-11-10 16:57:51 +02:00
test_ostree_script.py Fix black complaints 2023-11-10 16:50:38 +02:00
test_ostree_utils.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_patch_iso.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_pathmatch.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_phase_base.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_pkgset_common.py Allow disabling inheriting ExcludeArch to noarch packages 2023-11-10 16:51:37 +02:00
test_pkgset_phase.py Move test for unsigned packages with pkgset_koji_scratch_tasks to PkgsetPhase class. 2020-06-11 12:05:47 +00:00
test_pkgset_pkgsets.py - The unittests are fixed 2023-11-10 18:08:03 +02:00
test_pkgset_source_koji.py pkgset: ignore events for modular content tags 2024-08-30 13:30:38 +03:00
test_repoclosure_phase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_repoclosure_wrapper.py repoclosure: Use --forcearch for dnf repoclosure 2021-11-02 08:51:40 +01:00
test_runroot.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_scm.py Remove repository cloning multiple times 2023-11-10 16:55:18 +02:00
test_test_phase.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_unified_isos.py - Use unittest.mock instead external mock 2022-11-11 15:32:00 +02:00
test_util.py Add support for git-credential-helper 2023-11-10 16:54:59 +02:00
test_variant_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00