pungi/tests
Lubomír Sedlář 3b2c6ae72a createiso: Recompute .treeinfo checksums for images
Running xorriso to modify an ISO image can update content of included
images such as images/eltorito.img, unless we explicitly update the
image, which is undesirable (https://pagure.io/pungi/issue/1647).

However, when the file is changed, the checksum changes and .treeinfo no
longer matches.

This patch implements a workaround: once the DVD is written, it looks
for incorrect checksums, recalculates them and updates the .treeinfo on
the DVD. Since only the checksum is changing and the size of the file
remains the same, this seems to help fix the issue.

An additional step for implanting MD5 is needed again, as that gets
erased by the workaround.

JIRA: RHELCMP-13664
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2024-08-06 09:15:17 +02:00
..
data comps: Apply arch filtering to environment/optionlist 2023-04-24 08:29:15 +02: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
Dockerfile-test Use latest Fedora for python 3 test environment 2024-03-12 09:26:01 +01:00
Dockerfile-test-py2 Install missing deps in ci image 2021-08-17 12:01:51 +08:00
helpers.py createiso: Recompute .treeinfo checksums for images 2024-08-06 09:15:17 +02:00
Jenkinsfile Add Jenkinsfile for CI 2022-08-29 17:38:04 +08:00
test_arch.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_arguments.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_buildinstall.py iso: Extract volume id with xorriso if available 2024-04-23 09:13:43 +02:00
test_checks.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_compose.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01: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 Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_config.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_createiso_phase.py createiso: Recompute .treeinfo checksums for images 2024-08-06 09:15:17 +02:00
test_createiso_script.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_createrepo_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_createrepophase.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_extra_files_phase.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_extra_isos_phase.py createiso: Recompute .treeinfo checksums for images 2024-08-06 09:15:17 +02:00
test_fus_wrapper.py Format code 2021-03-02 18:31:45 +08:00
test_gather_method_deps.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_gather_method_hybrid.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_gather_method_nodeps.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_gather_phase.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_gather_source_module.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_gather.py dnf: Explicitly load filelists 2024-02-20 07:12:06 +00:00
test_graph.py Fix flake8 complaints - E501 2020-02-07 14:36:46 +08:00
test_image_container_phase.py Various phases: consistent format of failure message 2024-03-13 12:17:11 +00:00
test_imagebuildphase.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_imagechecksumphase.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_initphase.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_iso_wrapper.py iso: Extract volume id with xorriso if available 2024-04-23 09:13:43 +02:00
test_kiwibuildphase.py Update tests to exercise kiwi specific metadata 2024-03-13 13:06:43 +01:00
test_koji_wrapper.py Remove live_images.py (LiveImagesPhase) 2024-08-05 10:55:08 +00:00
test_linker.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_livemediaphase.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_lorax_wrapper.py Replace -c parameter with --config 2020-08-13 11:16:43 +02:00
test_media_split.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_metadata.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_module_util.py Fix module defaults and obsoletes validation 2022-06-10 11:35:26 +00:00
test_notifier.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_osbs_phase.py Various phases: consistent format of failure message 2024-03-13 12:17:11 +00:00
test_osbuild_phase.py Phases/osbuild: support passing 'customizations' for image builds 2024-03-05 14:46:56 +01:00
test_ostree_installer_phase.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_ostree_phase.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_ostree_script.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_ostree_utils.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_patch_iso.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_pathmatch.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00
test_phase_base.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_pkgset_common.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01: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 Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_pkgset_source_koji.py pkgset: Avoid adding modules to unavailable arches 2024-05-09 15:42:06 +08:00
test_repoclosure_phase.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_repoclosure_wrapper.py repoclosure: Use --forcearch for dnf repoclosure 2021-11-02 08:51:40 +01:00
test_runroot.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_scm.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_test_phase.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_unified_isos.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_util.py Make python3-mock dependency optional 2024-01-26 09:45:19 +01:00
test_variant_wrapper.py Fix flake8 complaints - F401 2020-02-07 11:48:31 +08:00