Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/pungi/scripts/pungi_koji.py", line 644, in cli_main
main()
File "/usr/lib/python3.12/site-packages/pungi/scripts/pungi_koji.py", line 353, in main
run_compose(
File "/usr/lib/python3.12/site-packages/pungi/scripts/pungi_koji.py", line 484, in run_compose
essentials_phase.stop()
File "/usr/lib/python3.12/site-packages/pungi/phases/weaver.py", line 57, in stop
self.pool.stop()
File "/usr/lib/python3.12/site-packages/kobo/threads.py", line 120, in stop
six.reraise(exc_info[0], exc_info[1], exc_info[2])
File "/usr/lib/python3.12/site-packages/six.py", line 719, in reraise
raise value
File "/usr/lib/python3.12/site-packages/kobo/threads.py", line 67, in run
self.process(item, num)
File "/usr/lib/python3.12/site-packages/pungi/phases/weaver.py", line 79, in process
phase.stop()
File "/usr/lib/python3.12/site-packages/pungi/phases/base.py", line 111, in stop
self.pool.stop()
File "/usr/lib/python3.12/site-packages/kobo/threads.py", line 120, in stop
six.reraise(exc_info[0], exc_info[1], exc_info[2])
File "/usr/lib/python3.12/site-packages/six.py", line 719, in reraise
raise value
File "/usr/lib/python3.12/site-packages/kobo/threads.py", line 67, in run
self.process(item, num)
File "/usr/lib/python3.12/site-packages/pungi/phases/buildinstall.py", line 541, in process
self.worker(compose, arch, variant, cmd, pkgset_phase, num)
File "/usr/lib/python3.12/site-packages/pungi/phases/buildinstall.py", line 845, in worker
runroot.run(
File "/usr/lib/python3.12/site-packages/pungi/runroot.py", line 291, in run
self._run_koji(
File "/usr/lib/python3.12/site-packages/pungi/runroot.py", line 139, in _run_koji
raise RuntimeError(
RuntimeError: Runroot task failed: 124878852. See /mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/aarch64/buildinstall-Everything.aarch64.log for more details.
Frame _run_koji in /usr/lib/python3.12/site-packages/pungi/runroot.py at line 139
132 max_retries = 3
133 while True:
134 output = koji_wrapper.run_runroot_cmd(koji_cmd, log_file=log_file)
135 if output["retcode"] == 0:
136 self._result = output
137 return
138 elif attempt >= max_retries or not self._has_losetup_error(log_dir):
--> 139 raise RuntimeError(
140 "Runroot task failed: %s. See %s for more details."
141 % (output["task_id"], log_file)
142 )
143 attempt += 1
144
145 def _ssh_run(self, hostname, user, command, fmt_dict=None, log_file=None):
arch = 'aarch64'
attempt = 0
command = 'rm -rf /mnt/koji/compose/branched/Fedora-41-20241016.n.0/work/aarch64/buildinstall/Everything && lorax --product=Fedora --version=41 --release=41 --source=file:///mnt/koji/compose/branched/Fedora-41-
koji_cmd = ['koji', '--profile=compose_koji', 'runroot', '--nowait', '--task-id', '--use-shell', '--channel-override=compose', '--package=lorax', '--mount=/mnt/koji/compose/branched/Fedora-41-20241016.n.0', 'f41
koji_wrapper =
kwargs = {'mounts': ['/mnt/koji/compose/branched/Fedora-41-20241016.n.0'], 'weight': None, 'chown_paths': ['/mnt/koji/compose/branched/Fedora-41-20241016.n.0/work/aarch64/buildinstall/Everything', '/mnt/koji/c
log_dir = '/mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/aarch64/buildinstall-Everything-logs'
log_file = '/mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/aarch64/buildinstall-Everything.aarch64.log'
max_retries = 3
output = {'retcode': 1, 'output': 'Watching tasks (this may be safely interrupted)...\n124878852 runroot (aarch64): free\n124878852 runroot (aarch64): free -> open (buildvm-a64-01.iad2.fedoraproject.org)\n1248
packages = ['lorax']
runroot_channel = 'compose'
runroot_tag = 'f41-build'
self =
self._logger = None
self._result = None
self.compose =
self.runroot_method = 'koji'
Frame run in /usr/lib/python3.12/site-packages/pungi/runroot.py at line 291
284 See `KojiWrapper.get_runroot_cmd()` for more information.
285 """
286 if self.runroot_method == "local":
287 self._run_local(
288 command, log_file=log_file, packages=packages, arch=arch, **kwargs
289 )
290 elif self.runroot_method == "koji":
--> 291 self._run_koji(
292 command, log_file=log_file, packages=packages, arch=arch, **kwargs
293 )
294 elif self.runroot_method == "openssh":
295 self._run_openssh(
296 command, log_file=log_file, packages=packages, arch=arch, **kwargs
297 )
arch = 'aarch64'
command = 'rm -rf /mnt/koji/compose/branched/Fedora-41-20241016.n.0/work/aarch64/buildinstall/Everything && lorax --product=Fedora --version=41 --release=41 --source=file:///mnt/koji/compose/branched/Fedora-41-
kwargs = {'mounts': ['/mnt/koji/compose/branched/Fedora-41-20241016.n.0'], 'weight': None, 'chown_paths': ['/mnt/koji/compose/branched/Fedora-41-20241016.n.0/work/aarch64/buildinstall/Everything', '/mnt/koji/c
log_file = '/mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/aarch64/buildinstall-Everything.aarch64.log'
packages = ['lorax']
self =
self._logger = None
self._result = None
self.compose =
self.runroot_method = 'koji'
Frame worker in /usr/lib/python3.12/site-packages/pungi/phases/buildinstall.py at line 845
838 weight=compose.conf["runroot_weights"].get("buildinstall"),
839 )
840 else:
841 try:
842 lorax_log_dir = _get_log_dir(compose, variant, arch)
843 except Exception:
844 lorax_log_dir = None
--> 845 runroot.run(
846 cmd,
847 log_file=log_file,
848 arch=arch,
849 packages=packages,
850 mounts=[compose.topdir],
851 weight=compose.conf["runroot_weights"].get("buildinstall"),
arch = 'aarch64'
buildinstall_method = 'lorax'
chown_paths = ['/mnt/koji/compose/branched/Fedora-41-20241016.n.0/work/aarch64/buildinstall/Everything', '/mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/aarch64/buildinstall-Everything-logs']
cmd = 'rm -rf /mnt/koji/compose/branched/Fedora-41-20241016.n.0/work/aarch64/buildinstall/Everything && lorax --product=Fedora --version=41 --release=41 --source=file:///mnt/koji/compose/branched/Fedora-41-
compose =
final_output_dir = '/mnt/koji/compose/branched/Fedora-41-20241016.n.0/work/aarch64/buildinstall/Everything'
log_file = '/mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/aarch64/buildinstall-Everything.aarch64.log'
log_filename = 'buildinstall-Everything'
lorax_log_dir = '/mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/aarch64/buildinstall-Everything-logs'
lorax_use_koji_plugin = False
msg = 'Running buildinstall for arch aarch64, variant Everything'
num = 1
output_dir = '/mnt/koji/compose/branched/Fedora-41-20241016.n.0/work/aarch64/buildinstall/Everything'
packages = ['lorax']
pkgset_phase =
runroot =
self =
self._args =
self._daemonic = False
self._ident = 139693125535424
self._initialized = True
self._is_stopped = True
self._kwargs = {}
self._name = 'Thread-100'
self._native_id = 1024309
self._started =
self._stderr = <_io.TextIOWrapper name='' mode='w' encoding='utf-8'>
self._target = None
self._tstate_lock = None
self.daemon = False
self.failed = True
self.get_timeout = 1
self.ident = 139693125535424
self.kill = True
self.name = 'Thread-100'
self.native_id = 1024309
self.pool =
self.running = False
task_id = None
variant = Variant(id="Everything", name="Everything", type="variant", parent=None)
Frame process in /usr/lib/python3.12/site-packages/pungi/phases/buildinstall.py at line 541
534 class BuildinstallThread(WorkerThread):
535 def process(self, item, num):
536 # The variant is None unless lorax is used as buildinstall method.
537 compose, arch, variant, cmd, pkgset_phase = item
538 can_fail = compose.can_fail(variant, arch, "buildinstall")
539 with failable(compose, can_fail, variant, arch, "buildinstall"):
540 try:
--> 541 self.worker(compose, arch, variant, cmd, pkgset_phase, num)
542 except RuntimeError:
543 self._print_depsolve_error(compose, arch, variant)
544 raise
545
546 def _print_depsolve_error(self, compose, arch, variant):
547 try:
arch = 'aarch64'
can_fail = False
cmd = 'rm -rf /mnt/koji/compose/branched/Fedora-41-20241016.n.0/work/aarch64/buildinstall/Everything && lorax --product=Fedora --version=41 --release=41 --source=file:///mnt/koji/compose/branched/Fedora-41-
compose =
item =
num = 1
pkgset_phase =
self =
self._args =
self._daemonic = False
self._ident = 139693125535424
self._initialized = True
self._is_stopped = True
self._kwargs = {}
self._name = 'Thread-100'
self._native_id = 1024309
self._started =
self._stderr = <_io.TextIOWrapper name='' mode='w' encoding='utf-8'>
self._target = None
self._tstate_lock = None
self.daemon = False
self.failed = True
self.get_timeout = 1
self.ident = 139693125535424
self.kill = True
self.name = 'Thread-100'
self.native_id = 1024309
self.pool =
self.running = False
variant = Variant(id="Everything", name="Everything", type="variant", parent=None)
Frame run in /usr/lib/python3.12/site-packages/kobo/threads.py at line 67
60
61 self.pool.queue_get_lock.acquire()
62 self.pool.queue_processed += 1
63 num = self.pool.queue_processed
64 self.pool.queue_get_lock.release()
65
66 try:
--> 67 self.process(item, num)
68 except:
69 self.failed = True
70 self.pool.exceptions.append(sys.exc_info())
71 self.pool.kill()
72
73 def process(self, item, num):
item =
num = 1
self =
self._args =
self._daemonic = False
self._ident = 139693125535424
self._initialized = True
self._is_stopped = True
self._kwargs = {}
self._name = 'Thread-100'
self._native_id = 1024309
self._started =
self._stderr = <_io.TextIOWrapper name='' mode='w' encoding='utf-8'>
self._target = None
self._tstate_lock = None
self.daemon = False
self.failed = True
self.get_timeout = 1
self.ident = 139693125535424
self.kill = True
self.name = 'Thread-100'
self.native_id = 1024309
self.pool =
self.running = False
Frame reraise in /usr/lib/python3.12/site-packages/six.py at line 719
712
713 def reraise(tp, value, tb=None):
714 try:
715 if value is None:
716 value = tp()
717 if value.__traceback__ is not tb:
718 raise value.with_traceback(tb)
--> 719 raise value
720 finally:
721 value = None
722 tb = None
723
724 else:
725 def exec_(_code_, _globs_=None, _locs_=None):
tb = None
tp =
value = None
Frame stop in /usr/lib/python3.12/site-packages/kobo/threads.py at line 120
113 """
114 for i in self.threads:
115 i.running = False
116 for i in self.threads:
117 i.join()
118 if self.exceptions:
119 exc_info = self.exceptions[0]
--> 120 six.reraise(exc_info[0], exc_info[1], exc_info[2])
121
122 def kill(self):
123 for i in self.threads:
124 i.kill = True
125 i.running = False
126
exc_info =
i =
self =
self._logger =
self.exceptions = [(, RuntimeError('Runroot task failed: 124878852. See /mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/aarch64/buildinstall-Everything.aarch64.log for more details.'),
self.queue_get_lock =
self.queue_processed = 8
self.queue_put_lock =
self.queue_total = 8
self.reused_tasks = set()
self.threads = [, , ,
Frame stop in /usr/lib/python3.12/site-packages/pungi/phases/base.py at line 111
104 "Note that variants can be excluded in configuration file"
105 )
106
107 def stop(self):
108 if self.finished:
109 return
110 if hasattr(self, "pool"):
--> 111 self.pool.stop()
112 self.finished = True
113 self.compose.log_info("[DONE ] %s" % self.msg)
114
115 if hasattr(self, "_start_time"):
116 self.compose.log_info(
117 "PHASE %s took %d seconds"
self =
self._skipped = False
self._start_time = 1729065123.5308685
self.buildinstall_method = 'lorax'
self.compose =
self.finished = False
self.lorax_use_koji_plugin = False
self.msg = '---------- PHASE: BUILDINSTALL ----------'
self.name = 'buildinstall'
self.pkgset_phase =
self.pool =
self.used_lorax = True
self.used_patterns = None
self.warned_skipped = False
Frame process in /usr/lib/python3.12/site-packages/pungi/phases/weaver.py at line 79
72 self.pool.queue_total,
73 phases_names,
74 )
75 self.pool.log_info("[BEGIN] %s" % (msg,))
76
77 for phase in pipeline:
78 phase.start()
--> 79 phase.stop()
80
81 self.pool.log_info("[DONE ] %s" % (msg,))
item = []
msg = 'Running pipeline (1/5). Phases: buildinstall'
num = 1
phase =
phases_names = 'buildinstall'
pipeline = []
self =
self._args =
self._daemonic = False
self._ident = 139693115049664
self._initialized = True
self._is_stopped = True
self._kwargs = {}
self._name = 'Thread-92'
self._native_id = 1024294
self._started =
self._stderr = <_io.TextIOWrapper name='' mode='w' encoding='utf-8'>
self._target = None
self._tstate_lock = None
self.daemon = False
self.failed = True
self.get_timeout = 1
self.ident = 139693115049664
self.kill = True
self.name = 'Thread-92'
self.native_id = 1024294
self.pool =
self.running = False
Frame run in /usr/lib/python3.12/site-packages/kobo/threads.py at line 67
60
61 self.pool.queue_get_lock.acquire()
62 self.pool.queue_processed += 1
63 num = self.pool.queue_processed
64 self.pool.queue_get_lock.release()
65
66 try:
--> 67 self.process(item, num)
68 except:
69 self.failed = True
70 self.pool.exceptions.append(sys.exc_info())
71 self.pool.kill()
72
73 def process(self, item, num):
item = []
num = 1
self =
self._args =
self._daemonic = False
self._ident = 139693115049664
self._initialized = True
self._is_stopped = True
self._kwargs = {}
self._name = 'Thread-92'
self._native_id = 1024294
self._started =
self._stderr = <_io.TextIOWrapper name='' mode='w' encoding='utf-8'>
self._target = None
self._tstate_lock = None
self.daemon = False
self.failed = True
self.get_timeout = 1
self.ident = 139693115049664
self.kill = True
self.name = 'Thread-92'
self.native_id = 1024294
self.pool =
self.running = False
Frame reraise in /usr/lib/python3.12/site-packages/six.py at line 719
712
713 def reraise(tp, value, tb=None):
714 try:
715 if value is None:
716 value = tp()
717 if value.__traceback__ is not tb:
718 raise value.with_traceback(tb)
--> 719 raise value
720 finally:
721 value = None
722 tb = None
723
724 else:
725 def exec_(_code_, _globs_=None, _locs_=None):
tb = None
tp =
value = None
Frame stop in /usr/lib/python3.12/site-packages/kobo/threads.py at line 120
113 """
114 for i in self.threads:
115 i.running = False
116 for i in self.threads:
117 i.join()
118 if self.exceptions:
119 exc_info = self.exceptions[0]
--> 120 six.reraise(exc_info[0], exc_info[1], exc_info[2])
121
122 def kill(self):
123 for i in self.threads:
124 i.kill = True
125 i.running = False
126
exc_info =
i =
self =
self._logger =
self.exceptions = [(, RuntimeError('Runroot task failed: 124878852. See /mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/aarch64/buildinstall-Everything.aarch64.log for more details.'),
self.queue_get_lock =
self.queue_processed = 5
self.queue_put_lock =
self.queue_total = 5
self.threads = [, , ,
Frame stop in /usr/lib/python3.12/site-packages/pungi/phases/weaver.py at line 57
50
51 self.pool.start()
52
53 def stop(self):
54 if self.finished:
55 return
56 if hasattr(self, "pool"):
--> 57 self.pool.stop()
58 self.finished = True
59 self.compose.log_info("[DONE ] %s" % self.msg)
60
61
62 class PipelineThread(WorkerThread):
63 """
self =
self._phases_schema =
self.compose =
self.finished = False
self.msg = '---------- PHASE: WEAVER ----------'
self.name = 'weaver'
self.pool =
Frame run_compose in /usr/lib/python3.12/site-packages/pungi/scripts/pungi_koji.py at line 484
477 (gather_phase, createrepo_phase),
478 extrafiles_phase,
479 (ostree_phase, ostree_installer_phase),
480 ostree_container_phase,
481 )
482 essentials_phase = pungi.phases.WeaverPhase(compose, essentials_schema)
483 essentials_phase.start()
--> 484 essentials_phase.stop()
485
486 # write treeinfo before ISOs are created
487 for variant in compose.get_variants():
488 for arch in variant.arches + ["src"]:
489 pungi.metadata.write_tree_info(
490 compose, arch, variant, bi=buildinstall_phase
buildinstall_phase =
compose =
config_copy_path = '/mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/global/config-copy'
config_dump_full = '/mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/global/config-dump.global.log'
config_file = '/tmp/branched.jPCF7G/pungi-fedora/multilib.conf'
create_latest_link = True
createiso_phase =
createrepo_phase =
errors = []
essentials_phase =
essentials_schema =
extra_isos_phase =
extrafiles_phase =
f = <_io.TextIOWrapper name='/mnt/koji/compose/branched/Fedora-41-20241016.n.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 =
installed_pkgs_log = '/mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/global/installed-pkgs.global.log'
kiwibuild_phase =
latest_link_components = -1
latest_link_status = None
livemedia_phase =
osbs_phase =
osbuild_phase =
ostree_container_phase =
ostree_installer_phase =
ostree_phase =
phase =
pkgset_phase =
pungi =
repoclosure_phase =
test_phase =
Frame main in /usr/lib/python3.12/site-packages/pungi/scripts/pungi_koji.py at line 353
346 logger.error("Config validation failed with the error: %s" % error)
347 fail_to_start("Config validation failed", errors=errors)
348 sys.exit(1)
349
350 notifier.compose = compose
351 COMPOSE = compose
352 try:
--> 353 run_compose(
354 compose,
355 create_latest_link=create_latest_link,
356 latest_link_status=latest_link_status,
357 latest_link_components=latest_link_components,
358 )
359 except UnsignedPackagesError:
Compose =
PHASES_NAMES_MODIFIED = ['buildinstall', 'createiso', 'createrepo', 'extra_files', 'extra_isos', 'gather', 'image_build', 'image_checksum', 'image_container', 'init', 'kiwibuild', 'live_media', 'osbs', 'osbuild', 'ostree_con
abort = .abort at 0x7f0d64db5580>
compose =
compose_dir = '/mnt/koji/compose/branched/Fedora-41-20241016.n.0'
compose_type = 'nightly'
conf = {'variants_file': 'variants-fedora.xml', 'tree_arches': ['aarch64', 'ppc64le', 's390x', 'x86_64'], 'hashed_directories': True, 'runroot_channel': 'compose', 'runroot_tag': 'f41-build', 'pkgset_source'
create_latest_link = True
errors = []
fail_to_start = .fail_to_start at 0x7f0d64db5440>
group =
kobo =
latest_link_components = -1
latest_link_status = None
logger =
notifier =
opts = Namespace(target_dir='/mnt/koji/compose/branched', compose_dir=None, label=None, no_label=False, supported=False, old_composes=['/mnt/koji/compose/branched'], config='/tmp/branched.jPCF7G/pungi-fedora
parser = ArgumentParser(prog='pungi-koji', usage=None, description=None, formatter_class=, conflict_handler='error', add_help=True)
productmd =
pungi =
rv = None
warnings = []
Frame cli_main in /usr/lib/python3.12/site-packages/pungi/scripts/pungi_koji.py at line 644
637
638
639 def cli_main():
640 signal.signal(signal.SIGINT, sigterm_handler)
641 signal.signal(signal.SIGTERM, sigterm_handler)
642
643 try:
--> 644 main()
645 except (Exception, KeyboardInterrupt) as ex:
646 if COMPOSE:
647 COMPOSE.log_error("Compose run failed: %s" % ex)
648 COMPOSE.traceback(show_locals=getattr(ex, "show_locals", True))
649 COMPOSE.log_critical("Compose failed: %s" % COMPOSE.topdir)
650 COMPOSE.write_status("DOOMED")
ex = RuntimeError('Runroot task failed: 124878852. See /mnt/koji/compose/branched/Fedora-41-20241016.n.0/logs/aarch64/buildinstall-Everything.aarch64.log for more details.')