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 506, in run_compose
essentials_phase.stop()
File "/usr/lib/python3.6/site-packages/pungi/phases/weaver.py", line 57, in stop
self.pool.stop()
File "/usr/lib/python3.6/site-packages/kobo/threads.py", line 120, in stop
six.reraise(exc_info[0], exc_info[1], exc_info[2])
File "/usr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/usr/lib/python3.6/site-packages/kobo/threads.py", line 67, in run
self.process(item, num)
File "/usr/lib/python3.6/site-packages/pungi/phases/weaver.py", line 79, in process
phase.stop()
File "/usr/lib/python3.6/site-packages/pungi/phases/base.py", line 108, in stop
self.pool.stop()
File "/usr/lib/python3.6/site-packages/kobo/threads.py", line 120, in stop
six.reraise(exc_info[0], exc_info[1], exc_info[2])
File "/usr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/usr/lib/python3.6/site-packages/kobo/threads.py", line 67, in run
self.process(item, num)
File "/usr/lib/python3.6/site-packages/pungi/phases/buildinstall.py", line 532, in process
self.worker(compose, arch, variant, cmd, pkgset_phase, num)
File "/usr/lib/python3.6/site-packages/pungi/phases/buildinstall.py", line 836, in worker
log_dir=lorax_log_dir,
File "/usr/lib/python3.6/site-packages/pungi/runroot.py", line 278, in run
command, log_file=log_file, packages=packages, arch=arch, **kwargs
File "/usr/lib/python3.6/site-packages/pungi/runroot.py", line 134, in _run_koji
% (output["task_id"], log_file)
RuntimeError: Runroot task failed: 180762. See /mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/aarch64/buildinstall-BaseOS.aarch64.log for more details.
Frame _run_koji in /usr/lib/python3.6/site-packages/pungi/runroot.py at line 134
127 output = koji_wrapper.run_runroot_cmd(koji_cmd, log_file=log_file)
128 if output["retcode"] == 0:
129 self._result = output
130 return
131 elif attempt >= max_retries or not self._has_losetup_error(log_dir):
132 raise RuntimeError(
133 "Runroot task failed: %s. See %s for more details."
--> 134 % (output["task_id"], log_file)
135 )
136 attempt += 1
137
138 def _ssh_run(self, hostname, user, command, fmt_dict=None, log_file=None):
139 """
140 Helper method to run the command using "ssh".
arch = 'aarch64'
attempt = 0
command = 'rm -rf /mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/work/aarch64/buildinstall/BaseOS && lorax --product=OpenCloudOS --version=9.0 --release=9.0 --source=file:///mnt/koji/compose/9/OpenCloudOS-9.0-2
koji_cmd = ['koji', '--profile=koji', 'runroot', '--nowait', '--task-id', '--use-shell', '--channel-override=image', '--package=lorax', '--mount=/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2', 'dist-oc9-build',
koji_wrapper =
kwargs = {'mounts': ['/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2'], 'weight': None, 'chown_paths': ['/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/work/aarch64/buildinstall/BaseOS', '/mnt/koji/compose/9/O
log_dir = '/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/aarch64/buildinstall-BaseOS-logs'
log_file = '/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/aarch64/buildinstall-BaseOS.aarch64.log'
max_retries = 3
output = {'retcode': 1, 'output': 'Watching tasks (this may be safely interrupted)...\n180762 runroot (aarch64): free\n180762 runroot (aarch64): free -> open (builder3.aarch64.opencloudos.tech)\n180762 runroot
packages = ['lorax']
runroot_channel = 'image'
runroot_tag = 'dist-oc9-build'
self =
self._logger = None
self._result = None
self.compose =
self.runroot_method = 'koji'
Frame run in /usr/lib/python3.6/site-packages/pungi/runroot.py at line 278
271 """
272 if self.runroot_method == "local":
273 self._run_local(
274 command, log_file=log_file, packages=packages, arch=arch, **kwargs
275 )
276 elif self.runroot_method == "koji":
277 self._run_koji(
--> 278 command, log_file=log_file, packages=packages, arch=arch, **kwargs
279 )
280 elif self.runroot_method == "openssh":
281 self._run_openssh(
282 command, log_file=log_file, packages=packages, arch=arch, **kwargs
283 )
284 else:
arch = 'aarch64'
command = 'rm -rf /mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/work/aarch64/buildinstall/BaseOS && lorax --product=OpenCloudOS --version=9.0 --release=9.0 --source=file:///mnt/koji/compose/9/OpenCloudOS-9.0-2
kwargs = {'mounts': ['/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2'], 'weight': None, 'chown_paths': ['/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/work/aarch64/buildinstall/BaseOS', '/mnt/koji/compose/9/O
log_file = '/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/aarch64/buildinstall-BaseOS.aarch64.log'
packages = ['lorax']
self =
self._logger = None
self._result = None
self.compose =
self.runroot_method = 'koji'
Frame worker in /usr/lib/python3.6/site-packages/pungi/phases/buildinstall.py at line 836
829 cmd,
830 log_file=log_file,
831 arch=arch,
832 packages=packages,
833 mounts=[compose.topdir],
834 weight=compose.conf["runroot_weights"].get("buildinstall"),
835 chown_paths=chown_paths,
--> 836 log_dir=lorax_log_dir,
837 )
838
839 if final_output_dir != output_dir:
840 if not os.path.exists(final_output_dir):
841 makedirs(final_output_dir)
842 results_dir = os.path.join(output_dir, "results")
arch = 'aarch64'
buildinstall_method = 'lorax'
chown_paths = ['/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/work/aarch64/buildinstall/BaseOS', '/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/aarch64/buildinstall-BaseOS-logs']
cmd = 'rm -rf /mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/work/aarch64/buildinstall/BaseOS && lorax --product=OpenCloudOS --version=9.0 --release=9.0 --source=file:///mnt/koji/compose/9/OpenCloudOS-9.0-2
compose =
final_output_dir = '/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/work/aarch64/buildinstall/BaseOS'
log_file = '/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/aarch64/buildinstall-BaseOS.aarch64.log'
log_filename = 'buildinstall-BaseOS'
lorax_log_dir = '/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/aarch64/buildinstall-BaseOS-logs'
lorax_use_koji_plugin = False
msg = 'Running buildinstall for arch aarch64, variant BaseOS'
num = 1
output_dir = '/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/work/aarch64/buildinstall/BaseOS'
packages = ['lorax']
pkgset_phase =
runroot =
self =
self._args =
self._daemonic = False
self._ident = 140491098142464
self._initialized = True
self._is_stopped = True
self._kwargs = {}
self._name = 'Thread-63'
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 = 140491098142464
self.kill = True
self.name = 'Thread-63'
self.pool =
self.running = False
variant = Variant(id="BaseOS", name="BaseOS", type="variant", parent=None)
Frame process in /usr/lib/python3.6/site-packages/pungi/phases/buildinstall.py at line 532
525 class BuildinstallThread(WorkerThread):
526 def process(self, item, num):
527 # The variant is None unless lorax is used as buildinstall method.
528 compose, arch, variant, cmd, pkgset_phase = item
529 can_fail = compose.can_fail(variant, arch, "buildinstall")
530 with failable(compose, can_fail, variant, arch, "buildinstall"):
531 try:
--> 532 self.worker(compose, arch, variant, cmd, pkgset_phase, num)
533 except RuntimeError:
534 self._print_depsolve_error(compose, arch, variant)
535 raise
536
537 def _print_depsolve_error(self, compose, arch, variant):
538 try:
arch = 'aarch64'
can_fail = False
cmd = 'rm -rf /mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/work/aarch64/buildinstall/BaseOS && lorax --product=OpenCloudOS --version=9.0 --release=9.0 --source=file:///mnt/koji/compose/9/OpenCloudOS-9.0-2
compose =
item =
num = 1
pkgset_phase =
self =
self._args =
self._daemonic = False
self._ident = 140491098142464
self._initialized = True
self._is_stopped = True
self._kwargs = {}
self._name = 'Thread-63'
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 = 140491098142464
self.kill = True
self.name = 'Thread-63'
self.pool =
self.running = False
variant = Variant(id="BaseOS", name="BaseOS", type="variant", parent=None)
Frame run in /usr/lib/python3.6/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 = 140491098142464
self._initialized = True
self._is_stopped = True
self._kwargs = {}
self._name = 'Thread-63'
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 = 140491098142464
self.kill = True
self.name = 'Thread-63'
self.pool =
self.running = False
Frame reraise in /usr/lib/python3.6/site-packages/six.py at line 693
686
687 def reraise(tp, value, tb=None):
688 try:
689 if value is None:
690 value = tp()
691 if value.__traceback__ is not tb:
692 raise value.with_traceback(tb)
--> 693 raise value
694 finally:
695 value = None
696 tb = None
697
698 else:
699 def exec_(_code_, _globs_=None, _locs_=None):
tb = None
tp =
value = None
Frame stop in /usr/lib/python3.6/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: 180762. See /mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/aarch64/buildinstall-BaseOS.aarch64.log for more details.',),
self.queue_get_lock =
self.queue_processed = 4
self.queue_put_lock =
self.queue_total = 4
self.threads = [, , ,
Frame stop in /usr/lib/python3.6/site-packages/pungi/phases/base.py at line 108
101 "Note that variants can be excluded in configuration file"
102 )
103
104 def stop(self):
105 if self.finished:
106 return
107 if hasattr(self, "pool"):
--> 108 self.pool.stop()
109 self.finished = True
110 self.compose.log_info("[DONE ] %s" % self.msg)
111 if self.used_patterns is not None:
112 # We only want to report this if the config was actually queried.
113 self.report_unused_patterns()
114 self.compose.notifier.send("phase-stop", phase_name=self.name)
self =
self._skipped = False
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.6/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/4). Phases: buildinstall'
num = 1
phase =
phases_names = 'buildinstall'
pipeline = []
self =
self._args =
self._daemonic = False
self._ident = 140490653558528
self._initialized = True
self._is_stopped = True
self._kwargs = {}
self._name = 'Thread-57'
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 = 140490653558528
self.kill = True
self.name = 'Thread-57'
self.pool =
self.running = False
Frame run in /usr/lib/python3.6/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 = 140490653558528
self._initialized = True
self._is_stopped = True
self._kwargs = {}
self._name = 'Thread-57'
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 = 140490653558528
self.kill = True
self.name = 'Thread-57'
self.pool =
self.running = False
Frame reraise in /usr/lib/python3.6/site-packages/six.py at line 693
686
687 def reraise(tp, value, tb=None):
688 try:
689 if value is None:
690 value = tp()
691 if value.__traceback__ is not tb:
692 raise value.with_traceback(tb)
--> 693 raise value
694 finally:
695 value = None
696 tb = None
697
698 else:
699 def exec_(_code_, _globs_=None, _locs_=None):
tb = None
tp =
value = None
Frame stop in /usr/lib/python3.6/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: 180762. See /mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/aarch64/buildinstall-BaseOS.aarch64.log for more details.',),
self.queue_get_lock =
self.queue_processed = 4
self.queue_put_lock =
self.queue_total = 4
self.threads = [, , ,
Frame stop in /usr/lib/python3.6/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.6/site-packages/pungi/scripts/pungi_koji.py at line 506
499 buildinstall_phase,
500 (gather_phase, createrepo_phase),
501 extrafiles_phase,
502 (ostree_phase, ostree_installer_phase),
503 )
504 essentials_phase = pungi.phases.WeaverPhase(compose, essentials_schema)
505 essentials_phase.start()
--> 506 essentials_phase.stop()
507
508 # write treeinfo before ISOs are created
509 for variant in compose.get_variants():
510 for arch in variant.arches + ["src"]:
511 pungi.metadata.write_tree_info(
512 compose, arch, variant, bi=buildinstall_phase
buildinstall_phase =
combination =
compose =
config_copy_path = '/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/global/config-copy'
config_dump_full = '/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/global/config-dump.global.log'
config_file = '/root/opencloudos/compose/pungi-opencloudos/opencloudos/override.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/9/OpenCloudOS-9.0-20240118.2/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 0x7fc6a9edaea0>
compose =
compose_dir = '/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2'
compose_type = 'production'
conf = {'RELEASE_NAME': 'OpenCloudOS', 'RELEASE_SHORT': 'OpenCloudOS', 'RELEASE_VERSION': '9.0', 'PKGSET_KOJI_TAG': 'dist-oc9-compose', 'RUNROOT_CHANNEL': 'image', 'RUNROOT_TAG': 'dist-oc9-build', 'RELEASE_V
create_latest_link = True
errors = []
fail_to_start = .fail_to_start at 0x7fc6a9edae18>
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/oc.conf', just_phase=[], koji_event=None, label='RC-9.0', latest_link_components=-1, latest_l
parser = ArgumentParser(prog='pungi-koji', usage=None, description=None, formatter_class=, conflict_handler='error', add_help=True)
productmd =
pungi =
warning = 'WARNING: Unrecognized config option: COMPS_REPO.'
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('Runroot task failed: 180762. See /mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/aarch64/buildinstall-BaseOS.aarch64.log for more details.',)
f = <_io.BufferedWriter name='/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/global/traceback.global.log'>
kobo =
tb_path = '/mnt/koji/compose/9/OpenCloudOS-9.0-20240118.2/logs/global/traceback.global.log'