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_repos.py", line 35, in __call__
package_sets, path_prefix = get_pkgset_from_repos(self.compose)
File "/usr/lib/python3.6/site-packages/pungi/phases/pkgset/sources/source_repos.py", line 99, in get_pkgset_from_repos
run(cmd, logfile=pungi_log, show_cmd=True, stdout=False)
File "/usr/lib/python3.6/site-packages/kobo/shortcuts.py", line 409, in run
raise exc
RuntimeError: ERROR running command: pungi-gather --config=/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/work/x86_64/pungi/x86_64.conf --selfhosting --fulltree --greedy=none --arch=x86_64 --download-to=/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/work/x86_64/pungi_download --multilib=all
For more details see /mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/logs/x86_64/pkgset_source.x86_64.log
Frame run in /usr/lib/python3.6/site-packages/kobo/shortcuts.py at line 409
402 err_msg = "ERROR running command: %s" % cmd
403 if logfile:
404 err_msg += "\nFor more details see %s" % logfile
405
406 if proc.returncode != 0 and not can_fail:
407 exc = RuntimeError(err_msg)
408 exc.output = output
--> 409 raise exc
410
411 if proc.returncode != 0 and show_cmd:
412 print(err_msg, file=sys.stderr)
413
414 if not return_stdout:
415 output = None
buffer_size = 4096
can_fail = False
cmd = 'pungi-gather --config=/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/work/x86_64/pungi/x86_64.conf --selfhosting --fulltree --greedy=none --arch=x86_64 --download-to=/mnt/koji/compose/9/9
command = b'COMMAND: pungi-gather --config=/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/work/x86_64/pungi/x86_64.conf --selfhosting --fulltree --greedy=none --arch=x86_64 --download-to=/mnt/koji/c
encoding = 'utf-8'
err_msg = 'ERROR running command: pungi-gather --config=/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/work/x86_64/pungi/x86_64.conf --selfhosting --fulltree --greedy=none --arch=x86_64 --download-t
errors = None
exc = RuntimeError('ERROR running command: pungi-gather --config=/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/work/x86_64/pungi/x86_64.conf --selfhosting --fulltree --greedy=none --arch=x86_64
exception = None
is_text_mode = False
kwargs = {}
leftover = None
lines = b''
log = <_io.BufferedWriter name='/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/logs/x86_64/pkgset_source.x86_64.log'>
logfile = '/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/logs/x86_64/pkgset_source.x86_64.log'
mode = 'wb'
output = b'2025-01-24 18:46:53 [DEBUG ] Gather received gather_options=[\n fulltree=True\n fulltree_excludes=0 items\n resolve_deps=True\n selfhosting=True\n greedy_method=none\n langpacks=
proc =
return_stdout = True
sentinel = b''
show_cmd = True
stdin = None
stdin_data = None
stdout = False
text = False
universal_newlines = False
workdir = None
Frame get_pkgset_from_repos in /usr/lib/python3.6/site-packages/pungi/phases/pkgset/sources/source_repos.py at line 99
92 cache_dir=compose.paths.work.pungi_cache_dir(arch=arch),
93 profiler=profiler,
94 )
95 if compose.conf["gather_backend"] == "yum":
96 cmd.append("--force")
97
98 # TODO: runroot
--> 99 run(cmd, logfile=pungi_log, show_cmd=True, stdout=False)
100
101 for root, dirs, files in os.walk(pungi_dir):
102 for fn in files:
103 if not fn.endswith(".rpm"):
104 continue
105 if fn in seen_packages:
arch = 'x86_64'
backends = {'yum': >, 'dnf':
comps_repo = 'comps'
flist = []
get_cmd = >
num = 4
path_prefix = '/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/work/global/download/'
pool =
profiler = False
pungi =
pungi_conf = '/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/work/x86_64/pungi/x86_64.conf'
pungi_dir = '/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/work/x86_64/pungi_download'
pungi_log = '/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/logs/x86_64/pkgset_source.x86_64.log'
repo = 'https://mirrors.opencloudos.tech/opencloudos/9.2/BaseOS/source/tree/'
repo_path = 'https://mirrors.opencloudos.tech/opencloudos/9.2/BaseOS/source/tree/'
repos = {'repo-0': 'https://mirrors.opencloudos.tech/opencloudos/9.2/BaseOS/x86_64/os/', 'repo-1': 'https://mirrors.opencloudos.tech/opencloudos/9.2/AppStream/x86_64/os/', 'repo-2': 'https://mirrors.opencloud
seen_packages = set()
Frame __call__ in /usr/lib/python3.6/site-packages/pungi/phases/pkgset/sources/source_repos.py at line 35
28
29
30 import pungi.phases.pkgset.source
31
32
33 class PkgsetSourceRepos(pungi.phases.pkgset.source.PkgsetSourceBase):
34 def __call__(self):
--> 35 package_sets, path_prefix = get_pkgset_from_repos(self.compose)
36 return (package_sets, path_prefix)
37
38
39 def get_pkgset_from_repos(compose):
40 # populate pkgset from yum repos
41 # TODO: noarch hack - secondary arches, use x86_64 noarch where possible
self =
self.compose =
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/9.2/donghua/OpenCloudOS-9.2-20250124.0/logs/global/config-copy'
config_dump_full = '/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/logs/global/config-dump.global.log'
config_file = '/root/opencloudos/compose/8/donghua/pungi-opencloudos/opencloudos/override.conf'
create_latest_link = True
createiso_phase =
createrepo_phase =
errors = []
extra_isos_phase =
extrafiles_phase =
f = <_io.TextIOWrapper name='/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.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 0x7f8fa0cabea0>
compose =
compose_dir = '/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0'
compose_type = 'production'
conf = {'RELEASE_NAME': 'OpenCloudOS', 'RELEASE_SHORT': 'OpenCloudOS', 'RELEASE_VERSION': '9.2', 'PKGSET_KOJI_TAG': 'dist-oc9-donghua-compose', 'RUNROOT_CHANNEL': 'image', 'RUNROOT_TAG': 'dist-oc9-build', 'R
create_latest_link = True
errors = []
fail_to_start = .fail_to_start at 0x7f8fa0cabe18>
group =
kobo =
latest_link_components = -1
latest_link_status = None
logger =
notifier =
opts = Namespace(compose_dir=None, compose_type='production', config='/root/opencloudos/compose/8/donghua/pungi-opencloudos/oc.conf', just_phase=[], koji_event=None, label='RC-9.2', latest_link_components=-1
parser = ArgumentParser(prog='pungi-koji', usage=None, description=None, formatter_class=, conflict_handler='error', add_help=True)
productmd =
pungi =
warning = 'WARNING: Unrecognized config option: EXTRA_ISOS_ARCHES.'
warnings = ["WARNING: Config option runroot was removed and has no effect; remove it. Please specify 'runroot_method' if you want to enable runroot, otherwise run things locally.", 'WARNING: Config option bootab
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 = RuntimeError('ERROR running command: pungi-gather --config=/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/work/x86_64/pungi/x86_64.conf --selfhosting --fulltree --greedy=none --arch=x86_64
f = <_io.BufferedWriter name='/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/logs/global/traceback.global.log'>
kobo =
tb_path = '/mnt/koji/compose/9/9.2/donghua/OpenCloudOS-9.2-20250124.0/logs/global/traceback.global.log'