pungi/tests
Lubomír Sedlář 0ca2c579ce
All checks were successful
Tests / test (pull_request) Successful in 2m1s
Tests / test (push) Successful in 2m3s
boot_iso: record failable arch subtask failures for FINISHED_INCOMPLETE
When a boot_iso Koji task succeeds overall but a failable arch subtask
fails inside it, watch_task() returns 0 and no exception is raised, so
failable() never calls fail_deliverable(). As a result failed_deliverables
stays empty and the compose is marked FINISHED instead of
FINISHED_INCOMPLETE.

Fix this by passing a callback to get_iso_paths()/get_image_paths() that
calls log_failed_task() (which calls fail_deliverable()) for each arch
whose subtask was not CLOSED, matching the approach already used by the
image_build and livemedia phases.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2026-08-17 07:48:39 +00:00
..
data doc: update trigger_konflux_pipeline documentation 2026-03-11 11:07:04 +01:00
fixtures Stop trying to validate non-existent metadata 2021-11-04 09:57:20 +01:00
__init__.py Fix test data, improve Makefile. 2015-06-25 08:02:57 -04:00
helpers.py Improve Koji task ID discovery and logging 2026-04-20 11:18:15 -07:00
test_arch.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_arguments.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_boot_iso_phase.py boot_iso: record failable arch subtask failures for FINISHED_INCOMPLETE 2026-08-17 07:48:39 +00:00
test_buildinstall.py Move image sanity checks from test phase to image-generating phases 2026-04-14 13:47:13 +02:00
test_checks.py Drop size check for ISOs 2026-04-14 12:20:54 +02:00
test_compose.py Improve Koji task ID discovery and logging 2026-04-20 11:18:15 -07:00
test_compose.sh tests: Fix test_compose.sh paths 2017-08-10 09:28:36 +02:00
test_comps_wrapper.py Drop unittest2 2024-11-22 13:54:46 +01:00
test_config.py Remove OSBS and ImageContainer phases 2026-04-14 13:44:19 +02:00
test_config_utils.py Drop parameterized dependency 2025-11-13 12:39:57 +01:00
test_config_validate_script.py Black 26.1.0 new format 2026-02-05 17:27:21 +01:00
test_createiso_phase.py Move image sanity checks from test phase to image-generating phases 2026-04-14 13:47:13 +02:00
test_createiso_script.py Drop parameterized dependency 2025-11-13 12:39:57 +01:00
test_createrepo_wrapper.py Drop usage of six 2024-11-29 09:29:20 +01:00
test_createrepophase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_extra_files_phase.py Download extra files from container registry 2025-01-10 16:34:34 +01:00
test_extra_isos_phase.py Move image sanity checks from test phase to image-generating phases 2026-04-14 13:47:13 +02:00
test_fus_wrapper.py Black 26.1.0 new format 2026-02-05 17:27:21 +01:00
test_gather.py Drop usage of six 2024-11-29 09:29:20 +01:00
test_gather_method_deps.py gather: Move code out of __init__.py 2026-02-13 14:02:03 +08:00
test_gather_method_hybrid.py gather: Move code out of __init__.py 2026-02-13 14:02:03 +08:00
test_gather_method_nodeps.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_gather_phase.py gather: Move code out of __init__.py 2026-02-13 14:02:03 +08:00
test_gather_source_module.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_graph.py Drop unittest2 2024-11-22 13:54:46 +01:00
test_image_checks.py Move image sanity checks from test phase to image-generating phases 2026-04-14 13:47:13 +02:00
test_imagebuilderphase.py many: failable arches support 2026-08-13 09:23:15 +02:00
test_imagebuildphase.py image_build: propagate boot_iso_phase for reuse checks 2026-08-13 09:23:12 +02:00
test_imagechecksumphase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_initphase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_iso_wrapper.py Protect against decoding errors with subprocess text mode 2025-01-16 09:20:27 +01:00
test_kiwibuildphase.py phase/kiwi, phase/image-builder: iso fields 2026-04-29 10:46:23 +02:00
test_koji_wrapper.py Protect against decoding errors with subprocess text mode 2025-01-16 09:20:27 +01:00
test_konflux_template_rendering.sh trigger-konflux-pipeline: store Snapshot metadata in konflux.json 2026-03-11 15:49:51 +01:00
test_linker.py linker: Drop ability to link dirs recursively 2025-05-21 15:45:18 +02:00
test_livemediaphase.py Move image sanity checks from test phase to image-generating phases 2026-04-14 13:47:13 +02:00
test_lorax_wrapper.py feat: Support custom --workdir for Lorax 2025-11-10 08:16:05 +00:00
test_media_split.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_metadata.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_module_util.py Black 26.1.0 new format 2026-02-05 17:27:21 +01:00
test_notifier.py Black 26.1.0 new format 2026-02-05 17:27:21 +01:00
test_osbuild_phase.py Move image sanity checks from test phase to image-generating phases 2026-04-14 13:47:13 +02:00
test_ostree_installer_phase.py Move image sanity checks from test phase to image-generating phases 2026-04-14 13:47:13 +02:00
test_ostree_phase.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_ostree_script.py Protect against decoding errors with subprocess text mode 2025-01-16 09:20:27 +01:00
test_ostree_utils.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_patch_iso.py Protect against decoding errors with subprocess text mode 2025-01-16 09:20:27 +01:00
test_phase_base.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_pkgset_common.py boot_iso: use pkgset repos instead of per-variant compose repos 2026-08-13 09:23:13 +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 pkgset: include translate_paths in reuse check 2026-08-14 13:41:16 +00:00
test_pkgset_source_koji.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_repoclosure_phase.py Drop usage of six 2024-11-29 09:29:20 +01:00
test_repoclosure_wrapper.py Drop usage of six 2024-11-29 09:29:20 +01:00
test_rpm_repo_mapping.py Support list of URLs for rpm_repo_mapping 2026-04-07 15:42:52 +08:00
test_runroot.py Directly import mock from unittest 2024-12-02 09:32:08 +00:00
test_scm.py Drop parameterized dependency 2025-11-13 12:39:57 +01:00
test_test_phase.py Move image sanity checks from test phase to image-generating phases 2026-04-14 13:47:13 +02:00
test_trigger_konflux_pipeline_phase.py trigger-konflux-pipeline: store Snapshot metadata in konflux.json 2026-03-11 15:49:51 +01:00
test_unified_isos.py Black 26.1.0 new format 2026-02-05 17:27:21 +01:00
test_util.py Resolve container tags to digests 2025-03-31 15:00:40 +02:00
test_variant_wrapper.py Drop usage of six 2024-11-29 09:29:20 +01:00