Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/pungi/scripts/pungi_koji.py", line 648, in cli_main
main()
File "/usr/lib/python3.6/site-packages/pungi/scripts/pungi_koji.py", line 338, in main
latest_link_components=latest_link_components,
File "/usr/lib/python3.6/site-packages/pungi/scripts/pungi_koji.py", line 494, in run_compose
pkgset_phase.start()
File "/usr/lib/python3.6/site-packages/pungi/phases/base.py", line 63, in start
self.run()
File "/usr/lib/python3.6/site-packages/pungi/phases/pkgset/__init__.py", line 36, in run
self.package_sets, self.path_prefix = SourceClass(self.compose)()
File "/usr/lib/python3.6/site-packages/pungi/phases/pkgset/sources/source_koji.py", line 194, in __call__
self.compose, self.koji_wrapper, path_prefix
File "/usr/lib/python3.6/site-packages/pungi/phases/pkgset/sources/source_koji.py", line 201, in get_pkgset_from_koji
return populate_global_pkgset(compose, koji_wrapper, path_prefix, event_info)
File "/usr/lib/python3.6/site-packages/pungi/phases/pkgset/sources/source_koji.py", line 870, in populate_global_pkgset
include_packages=modular_packages,
File "/usr/lib/python3.6/site-packages/pungi/phases/pkgset/pkgsets.py", line 667, in populate
result = self.read_packages(result_rpms, result_srpms)
File "/usr/lib/python3.6/site-packages/pungi/phases/pkgset/pkgsets.py", line 203, in read_packages
self.raise_invalid_sigkeys_exception(self._invalid_sigkey_rpms)
File "/usr/lib/python3.6/site-packages/pungi/phases/pkgset/pkgsets.py", line 172, in raise_invalid_sigkeys_exception
"\n".join(get_error(k, v) for k, v in rpminfos.items())
pungi.errors.UnsignedPackagesError: RPM(s) not found for sigs: ('3ABD50D2',). Check log for details. Unsigned packages:
wcdb-2.1.6-1.oc9
wcdb-debuginfo-2.1.6-1.oc9
wcdb-debugsource-2.1.6-1.oc9
Frame raise_invalid_sigkeys_exception in /usr/lib/python3.6/site-packages/pungi/phases/pkgset/pkgsets.py at line 172
165 "\n".join(sorted(set(nvr_formatter(rpminfo) for rpminfo in infos))),
166 )
167 )
168
169 if not isinstance(rpminfos, dict):
170 rpminfos = {self.sigkey_ordering: rpminfos}
171 raise UnsignedPackagesError(
--> 172 "\n".join(get_error(k, v) for k, v in rpminfos.items())
173 )
174
175 def read_packages(self, rpms, srpms):
176 srpm_pool = ReaderPool(self, self._logger)
177 rpm_pool = ReaderPool(self, self._logger)
178
get_error = .get_error at 0x7fc3b05c5f28>
nvr_formatter = .nvr_formatter at 0x7fc3b076cf28>
rpminfos = {('3ABD50D2',): [{'arch': 'src', 'build_id': 28641, 'buildroot_id': 100114, 'buildtime': 1723461072, 'epoch': None, 'extra': None, 'id': 238622, 'metadata_only': False, 'name': 'wcdb', 'payloadhash':
self =
self._allow_invalid_sigkeys = False
self._invalid_sigkey_rpms = [{'arch': 'src', 'build_id': 28641, 'buildroot_id': 100114, 'buildtime': 1723461072, 'epoch': None, 'extra': None, 'id': 238622, 'metadata_only': False, 'name': 'wcdb', 'payloadhash': 'a0f94ecb980851a
self._logger =
self.arches = {'aarch64', 'x86_64', 'noarch', 'src'}
self.cache_region =
self.extra_builds = []
self.extra_tasks = []
self.file_cache =
self.invalid_sigkey_rpms = [{'arch': 'src', 'build_id': 28641, 'buildroot_id': 100114, 'buildtime': 1723461072, 'epoch': None, 'extra': None, 'id': 238622, 'metadata_only': False, 'name': 'wcdb', 'payloadhash': 'a0f94ecb980851a
self.koji_proxy =
self.koji_wrapper =
self.name = 'dist-oc9-epol-compose'
self.old_file_cache =
self.packages = {'python3-opencv', 'rust-below_derive+default-devel', 'ucl-devel', 'rust-futures-lite+default-devel', 'perl-Business-ISBN-tests', 'rust-nix0.24+uio-devel', 'rust-take_mut-devel', 'rust-log+default-dev
self.populate_only_packages = False
self.reuse = None
self.rpms_by_arch = {'src': [libbgpdump-1.6.2-1.oc9.src.rpm, containers-common-1-5.oc9.src.rpm, nfdump-1.7.3-1.oc9.src.rpm, python-parsedatetime-2.6-3.oc9.src.rpm, python-sphinxcontrib-spelling-7.4.0-1.oc9.src.rpm, kf5-k
self.sigkey_ordering = '3ABD50D2'
self.signed_packages_retries = 1
self.signed_packages_wait = 30
self.srpms_by_name = {'libbgpdump-1.6.2-1.oc9.src.rpm': libbgpdump-1.6.2-1.oc9.src.rpm, 'containers-common-1-5.oc9.src.rpm': containers-common-1-5.oc9.src.rpm, 'nfdump-1.7.3-1.oc9.src.rpm': nfdump-1.7.3-1.oc9.src.rpm, 'py
Frame read_packages in /usr/lib/python3.6/site-packages/pungi/phases/pkgset/pkgsets.py at line 203
196
197 self.log_debug("Package set: spawning %s worker threads (RPMs)" % thread_count)
198 rpm_pool.start()
199 rpm_pool.stop()
200 self.log_debug("Package set: worker threads stopped (RPMs)")
201
202 if not self._allow_invalid_sigkeys and self._invalid_sigkey_rpms:
--> 203 self.raise_invalid_sigkeys_exception(self._invalid_sigkey_rpms)
204
205 return self.rpms_by_arch
206
207 def subset(self, primary_arch, arch_list, exclusive_noarch=True):
208 """Create a subset of this package set that only includes
209 packages compatible with"""
i = 9
rpm_pool =
rpms = [({'arch': 'x86_64', 'build_id': 16144, 'buildroot_id': 52065, 'buildtime': 1695265415, 'epoch': None, 'extra': None, 'id': 120519, 'metadata_only': False, 'name': 'libguestfs-winsupport', 'payloadhas
self =
self._allow_invalid_sigkeys = False
self._invalid_sigkey_rpms = [{'arch': 'src', 'build_id': 28641, 'buildroot_id': 100114, 'buildtime': 1723461072, 'epoch': None, 'extra': None, 'id': 238622, 'metadata_only': False, 'name': 'wcdb', 'payloadhash': 'a0f94ecb980851a
self._logger =
self.arches = {'aarch64', 'x86_64', 'noarch', 'src'}
self.cache_region =
self.extra_builds = []
self.extra_tasks = []
self.file_cache =
self.invalid_sigkey_rpms = [{'arch': 'src', 'build_id': 28641, 'buildroot_id': 100114, 'buildtime': 1723461072, 'epoch': None, 'extra': None, 'id': 238622, 'metadata_only': False, 'name': 'wcdb', 'payloadhash': 'a0f94ecb980851a
self.koji_proxy =
self.koji_wrapper =
self.name = 'dist-oc9-epol-compose'
self.old_file_cache =
self.packages = {'python3-opencv', 'rust-below_derive+default-devel', 'ucl-devel', 'rust-futures-lite+default-devel', 'perl-Business-ISBN-tests', 'rust-nix0.24+uio-devel', 'rust-take_mut-devel', 'rust-log+default-dev
self.populate_only_packages = False
self.reuse = None
self.rpms_by_arch = {'src': [libbgpdump-1.6.2-1.oc9.src.rpm, containers-common-1-5.oc9.src.rpm, nfdump-1.7.3-1.oc9.src.rpm, python-parsedatetime-2.6-3.oc9.src.rpm, python-sphinxcontrib-spelling-7.4.0-1.oc9.src.rpm, kf5-k
self.sigkey_ordering = '3ABD50D2'
self.signed_packages_retries = 1
self.signed_packages_wait = 30
self.srpms_by_name = {'libbgpdump-1.6.2-1.oc9.src.rpm': libbgpdump-1.6.2-1.oc9.src.rpm, 'containers-common-1-5.oc9.src.rpm': containers-common-1-5.oc9.src.rpm, 'nfdump-1.7.3-1.oc9.src.rpm': nfdump-1.7.3-1.oc9.src.rpm, 'py
srpm_pool =
srpms = [({'arch': 'src', 'build_id': 16144, 'buildroot_id': 52065, 'buildtime': 1695265393, 'epoch': None, 'extra': None, 'id': 120518, 'metadata_only': False, 'name': 'libguestfs-winsupport', 'payloadhash':
thread_count = 10
Frame populate in /usr/lib/python3.6/site-packages/pungi/phases/pkgset/pkgsets.py at line 667
660
661 if skipped_packages_count:
662 self.log_debug(
663 "Skipped %d packages, not marked as to be "
664 "included in a compose." % skipped_packages_count
665 )
666
--> 667 result = self.read_packages(result_rpms, result_srpms)
668
669 # Check that after reading the packages, every package that is
670 # included in a compose has the right sigkey.
671 if self._invalid_sigkey_rpms:
672 invalid_sigkey_rpms = [
673 rpm for rpm in self._invalid_sigkey_rpms if rpm["name"] in self.packages
build_id = 19902
build_info = {'build_id': 28897, 'completion_time': '2024-09-13 14:27:01.299192+08:00', 'create_event': 463131, 'creation_event_id': 463127, 'creation_time': '2024-09-13 14:25:29.682180+08:00', 'epoch': None, 'id'
build_name = 'python-sphinxcontrib-spelling'
builds = [{'build_id': 28897, 'completion_time': '2024-09-13 14:27:01.299192+08:00', 'create_event': 463131, 'creation_event_id': 463127, 'creation_time': '2024-09-13 14:25:29.682180+08:00', 'epoch': None, 'id
builds_by_id = {28897: {'build_id': 28897, 'completion_time': '2024-09-13 14:27:01.299192+08:00', 'create_event': 463131, 'creation_event_id': 463127, 'creation_time': '2024-09-13 14:25:29.682180+08:00', 'epoch': No
event = 463143
exclude_build_id = []
extra_builds = []
extra_builds_by_name = {}
extra_rpms = []
include_packages = set()
inherit = True
msg = 'Getting latest RPMs (tag: dist-oc9-epol-compose, event: 463143, inherit: True)'
result_rpms = [({'arch': 'x86_64', 'build_id': 16144, 'buildroot_id': 52065, 'buildtime': 1695265415, 'epoch': None, 'extra': None, 'id': 120519, 'metadata_only': False, 'name': 'libguestfs-winsupport', 'payloadhas
result_srpms = [({'arch': 'src', 'build_id': 16144, 'buildroot_id': 52065, 'buildtime': 1695265393, 'epoch': None, 'extra': None, 'id': 120518, 'metadata_only': False, 'name': 'libguestfs-winsupport', 'payloadhash':
rpm_info = {'arch': 'src', 'build_id': 28897, 'buildroot_id': 100829, 'buildtime': 1726208788, 'epoch': None, 'extra': None, 'id': 242380, 'metadata_only': False, 'name': 'python-bravado-core', 'payloadhash': '8
rpms = [{'arch': 'src', 'build_id': 16144, 'buildroot_id': 52065, 'buildtime': 1695265393, 'epoch': None, 'extra': None, 'id': 120518, 'metadata_only': False, 'name': 'libguestfs-winsupport', 'payloadhash':
self =
self._allow_invalid_sigkeys = False
self._invalid_sigkey_rpms = [{'arch': 'src', 'build_id': 28641, 'buildroot_id': 100114, 'buildtime': 1723461072, 'epoch': None, 'extra': None, 'id': 238622, 'metadata_only': False, 'name': 'wcdb', 'payloadhash': 'a0f94ecb980851a
self._logger =
self.arches = {'aarch64', 'x86_64', 'noarch', 'src'}
self.cache_region =
self.extra_builds = []
self.extra_tasks = []
self.file_cache =
self.invalid_sigkey_rpms = [{'arch': 'src', 'build_id': 28641, 'buildroot_id': 100114, 'buildtime': 1723461072, 'epoch': None, 'extra': None, 'id': 238622, 'metadata_only': False, 'name': 'wcdb', 'payloadhash': 'a0f94ecb980851a
self.koji_proxy =
self.koji_wrapper =
self.name = 'dist-oc9-epol-compose'
self.old_file_cache =
self.packages = {'python3-opencv', 'rust-below_derive+default-devel', 'ucl-devel', 'rust-futures-lite+default-devel', 'perl-Business-ISBN-tests', 'rust-nix0.24+uio-devel', 'rust-take_mut-devel', 'rust-log+default-dev
self.populate_only_packages = False
self.reuse = None
self.rpms_by_arch = {'src': [libbgpdump-1.6.2-1.oc9.src.rpm, containers-common-1-5.oc9.src.rpm, nfdump-1.7.3-1.oc9.src.rpm, python-parsedatetime-2.6-3.oc9.src.rpm, python-sphinxcontrib-spelling-7.4.0-1.oc9.src.rpm, kf5-k
self.sigkey_ordering = '3ABD50D2'
self.signed_packages_retries = 1
self.signed_packages_wait = 30
self.srpms_by_name = {'libbgpdump-1.6.2-1.oc9.src.rpm': libbgpdump-1.6.2-1.oc9.src.rpm, 'containers-common-1-5.oc9.src.rpm': containers-common-1-5.oc9.src.rpm, 'nfdump-1.7.3-1.oc9.src.rpm': nfdump-1.7.3-1.oc9.src.rpm, 'py
skipped_arches = []
skipped_packages_count = 0
tag = 'dist-oc9-epol-compose'
Frame populate_global_pkgset in /usr/lib/python3.6/site-packages/pungi/phases/pkgset/sources/source_koji.py at line 870
863 )
864
865 if pkgset.reuse is None:
866 pkgset.populate(
867 compose_tag,
868 event,
869 inherit=should_inherit,
--> 870 include_packages=modular_packages,
871 )
872 for variant in compose.all_variants.values():
873 if compose_tag in variant_tags[variant]:
874
875 # If it's a modular tag, store the package set for the module.
876 for nsvc, koji_tag in variant.module_uid_to_koji_tag.items():
all_arches = {'aarch64', 'x86_64', 'noarch', 'src'}
allow_invalid_sigkeys = False
compose =
compose_tag = 'dist-oc9-epol-compose'
compose_tags = ['dist-oc9-epol-compose']
event = {'id': 463143, 'ts': 1726209533.187748}
exclude_module_ns = []
extra_builds = []
extra_modules = []
extra_tasks = []
groups = []
inherit = True
inherit_modules = False
is_traditional = True
koji_wrapper =
modular_koji_tags = []
modular_packages = set()
old_cache_path = '/mnt/koji/compose/9/EPOL-9-20240811.0/work/global/pkgset_dist-oc9-epol-compose_file_cache.pickle'
packages_to_gather = ['python3-opencv', 'rust-below_derive+default-devel', 'ucl-devel', 'perl-Business-ISBN-tests', 'rust-nix0.24+uio-devel', 'rust-take_mut-devel', 'rust-aes+zeroize-devel', 'rust-camino+proptest-devel',
path_prefix = '/mnt/koji/'
pkgset =
pkgset_koji_tags = ['dist-oc9-epol-compose']
pkgsets = []
populate_only_packages_to_gather = False
should_inherit = True
tag_to_mmd = {}
variant = Variant(id="Everything", name="Everything", type="variant", parent=None)
variant_scratch_modules = []
variant_tags = {Variant(id="Everything", name="Everything", type="variant", parent=None): ['dist-oc9-epol-compose']}
Frame get_pkgset_from_koji in /usr/lib/python3.6/site-packages/pungi/phases/pkgset/sources/source_koji.py at line 201
194 self.compose, self.koji_wrapper, path_prefix
195 )
196 return (package_sets, path_prefix)
197
198
199 def get_pkgset_from_koji(compose, koji_wrapper, path_prefix):
200 event_info = get_koji_event_info(compose, koji_wrapper)
--> 201 return populate_global_pkgset(compose, koji_wrapper, path_prefix, event_info)
202
203
204 def _add_module_to_variant(
205 koji_wrapper,
206 variant,
207 build,
compose =
event_info = {'id': 463143, 'ts': 1726209533.187748}
koji_wrapper =
path_prefix = '/mnt/koji/'
Frame __call__ in /usr/lib/python3.6/site-packages/pungi/phases/pkgset/sources/source_koji.py at line 194
187 def __call__(self):
188 compose = self.compose
189 koji_profile = compose.conf["koji_profile"]
190 self.koji_wrapper = pungi.wrappers.kojiwrapper.KojiWrapper(koji_profile)
191 # path prefix must contain trailing '/'
192 path_prefix = self.koji_wrapper.koji_module.config.topdir.rstrip("/") + "/"
193 package_sets = get_pkgset_from_koji(
--> 194 self.compose, self.koji_wrapper, path_prefix
195 )
196 return (package_sets, path_prefix)
197
198
199 def get_pkgset_from_koji(compose, koji_wrapper, path_prefix):
200 event_info = get_koji_event_info(compose, koji_wrapper)
compose =
koji_profile = 'koji'
path_prefix = '/mnt/koji/'
self =
self.compose =
self.koji_wrapper =
Frame run in /usr/lib/python3.6/site-packages/pungi/phases/pkgset/__init__.py at line 36
29 self.path_prefix = None
30
31 def run(self):
32 from . import sources
33
34 SourceClass = sources.ALL_SOURCES[self.compose.conf["pkgset_source"].lower()]
35
--> 36 self.package_sets, self.path_prefix = SourceClass(self.compose)()
37
38 def validate(self):
39 extra_tasks = self.compose.conf.get("pkgset_koji_scratch_tasks", None)
40 sigkeys = tuple(self.compose.conf["sigkeys"] or [None])
41 if extra_tasks is not None and None not in sigkeys and "" not in sigkeys:
42 raise ValueError(
SourceClass =
self =
self._skipped = False
self.compose =
self.finished = False
self.msg = '---------- PHASE: PKGSET ----------'
self.name = 'pkgset'
self.package_sets = []
self.path_prefix = None
self.used_patterns = None
sources =
Frame start in /usr/lib/python3.6/site-packages/pungi/phases/base.py at line 63
56 self._skipped = self.skip()
57 if self._skipped:
58 self.compose.log_warning("[SKIP ] %s" % self.msg)
59 self.finished = True
60 return
61 self.compose.log_info("[BEGIN] %s" % self.msg)
62 self.compose.notifier.send("phase-start", phase_name=self.name)
--> 63 self.run()
64
65 def get_config_block(self, variant, arch=None):
66 """In config for current phase, find a block corresponding to given
67 variant and arch. The arch should be given if and only if the config
68 uses variant/arch mapping.
69 """
self =
self._skipped = False
self.compose =
self.finished = False
self.msg = '---------- PHASE: PKGSET ----------'
self.name = 'pkgset'
self.package_sets = []
self.path_prefix = None
self.used_patterns = None
Frame run_compose in /usr/lib/python3.6/site-packages/pungi/scripts/pungi_koji.py at line 494
487 break
488 else:
489 print("Not in RV_SPECAIL")
490
491 init_phase.start()
492 init_phase.stop()
493
--> 494 pkgset_phase.start()
495 pkgset_phase.stop()
496
497 # WEAVER phase - launches other phases which can safely run in parallel
498 essentials_schema = (
499 buildinstall_phase,
500 (gather_phase, createrepo_phase),
buildinstall_phase =
combination =
compose =
config_copy_path = '/mnt/koji/compose/9/EPOL-9-20240913.0/logs/global/config-copy'
config_dump_full = '/mnt/koji/compose/9/EPOL-9-20240913.0/logs/global/config-dump.global.log'
config_file = '/root/opencloudos/compose/pungi-opencloudos/EPOL.conf'
create_latest_link = True
createiso_phase =
createrepo_phase =
errors = []
extra_isos_phase =
extrafiles_phase =
f = <_io.TextIOWrapper name='/mnt/koji/compose/9/EPOL-9-20240913.0/logs/global/config-dump.global.log' mode='w' encoding='UTF-8'>
gather_phase =
image_build_phase =
image_checksum_phase =
image_container_phase =
init_phase =
latest_link_components = -1
latest_link_status = None
liveimages_phase =
livemedia_phase =
osbs_phase =
osbuild_phase =
ostree_installer_phase =
ostree_phase =
phase =
pkgset_phase =
pungi =
repoclosure_phase =
test_phase =
Frame main in /usr/lib/python3.6/site-packages/pungi/scripts/pungi_koji.py at line 338
331 notifier.compose = compose
332 COMPOSE = compose
333 try:
334 run_compose(
335 compose,
336 create_latest_link=create_latest_link,
337 latest_link_status=latest_link_status,
--> 338 latest_link_components=latest_link_components,
339 )
340 except UnsignedPackagesError:
341 # There was an unsigned package somewhere. It is not safe to reuse any
342 # package set from this compose (since we could leak the unsigned
343 # package). Let's make sure all reuse files are deleted.
344 for fp in glob.glob(compose.paths.work.pkgset_reuse_file("*")):
Compose =
PHASES_NAMES_MODIFIED = ['buildinstall', 'createiso', 'createrepo', 'extra_files', 'extra_isos', 'gather', 'image_build', 'image_checksum', 'image_container', 'init', 'live_images', 'live_media', 'osbs', 'osbuild', 'ostree',
abort = .abort at 0x7fc3c9bc5ea0>
compose =
compose_dir = '/mnt/koji/compose/9/EPOL-9-20240913.0'
compose_type = 'production'
conf = {'release_name': 'OpenCloudOS EPOL', 'release_short': 'EPOL', 'release_version': '9', 'release_is_layered': False, 'variants_file': 'variants-EPOL.xml', 'sigkeys': ['3ABD50D2'], 'create_jigdo': False,
create_latest_link = True
errors = []
fail_to_start = .fail_to_start at 0x7fc3c9bc5e18>
group =
kobo =
latest_link_components = -1
latest_link_status = None
logger =
notifier =
opts = Namespace(compose_dir=None, compose_type='production', config='/root/opencloudos/compose/pungi-opencloudos/EPOL.conf', just_phase=[], koji_event=None, label='RC-9.2', latest_link_components=-1, latest
parser = ArgumentParser(prog='pungi-koji', usage=None, description=None, formatter_class=, conflict_handler='error', add_help=True)
productmd =
pungi =
warning = "WARNING: Config option release_is_layered was removed and has no effect; remove it. It's layered if there's configuration for base product."
warnings = ["WARNING: Config option release_is_layered was removed and has no effect; remove it. It's layered if there's configuration for base product."]
Frame cli_main in /usr/lib/python3.6/site-packages/pungi/scripts/pungi_koji.py at line 648
641
642
643 def cli_main():
644 signal.signal(signal.SIGINT, sigterm_handler)
645 signal.signal(signal.SIGTERM, sigterm_handler)
646
647 try:
--> 648 main()
649 except (Exception, KeyboardInterrupt) as ex:
650 if COMPOSE:
651 tb_path = COMPOSE.paths.log.log_file("global", "traceback")
652 COMPOSE.log_error("Compose run failed: %s" % ex)
653 COMPOSE.log_error("Extended traceback in: %s" % tb_path)
654 COMPOSE.log_critical("Compose failed: %s" % COMPOSE.topdir)
ex = UnsignedPackagesError("RPM(s) not found for sigs: ('3ABD50D2',). Check log for details. Unsigned packages:\nwcdb-2.1.6-1.oc9\nwcdb-debuginfo-2.1.6-1.oc9\nwcdb-debugsource-2.1.6-1.oc9",)
f = <_io.BufferedWriter name='/mnt/koji/compose/9/EPOL-9-20240913.0/logs/global/traceback.global.log'>
kobo =
tb_path = '/mnt/koji/compose/9/EPOL-9-20240913.0/logs/global/traceback.global.log'