Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/pungi/scripts/pungi_koji.py", line 683, in cli_main
main()
File "/usr/lib/python3.11/site-packages/pungi/scripts/pungi_koji.py", line 352, in main
run_compose(
File "/usr/lib/python3.11/site-packages/pungi/scripts/pungi_koji.py", line 524, in run_compose
essentials_phase.stop()
File "/usr/lib/python3.11/site-packages/pungi/phases/weaver.py", line 57, in stop
self.pool.stop()
File "/usr/lib/python3.11/site-packages/kobo/threads.py", line 120, in stop
six.reraise(exc_info[0], exc_info[1], exc_info[2])
File "/usr/lib/python3.11/site-packages/six.py", line 719, in reraise
raise value
File "/usr/lib/python3.11/site-packages/kobo/threads.py", line 67, in run
self.process(item, num)
File "/usr/lib/python3.11/site-packages/pungi/phases/weaver.py", line 78, in process
phase.start()
File "/usr/lib/python3.11/site-packages/pungi/phases/base.py", line 66, in start
self.run()
File "/usr/lib/python3.11/site-packages/pungi/phases/gather/__init__.py", line 133, in run
link_files(
File "/usr/lib/python3.11/site-packages/pungi/phases/gather/link.py", line 95, in link_files
manifest.add(
File "/usr/lib/python3.11/site-packages/productmd/rpms.py", line 152, in add
raise ValueError("Arch not found in RPM_ARCHES: %s" % arch)
ValueError: Arch not found in RPM_ARCHES: riscv64
Frame add in /usr/lib/python3.11/site-packages/productmd/rpms.py at line 152
145 :param category: RPM category, one of binary, debug, source
146 :type category: str
147 :param srpm_nevra: name-epoch:version-release.arch of RPM's SRPM
148 :type srpm_nevra: str
149 """
150
151 if arch not in productmd.common.RPM_ARCHES:
--> 152 raise ValueError("Arch not found in RPM_ARCHES: %s" % arch)
153
154 if arch in ["src", "nosrc"]:
155 raise ValueError("Source arch is not allowed. Map source files under binary arches.")
156
157 if category not in SUPPORTED_CATEGORIES:
158 raise ValueError("Invalid category value: %s" % category)
arch = 'riscv64'
category = 'source'
nevra = 'c-ares-0:1.19.1-1.fc38.src'
path = 'Server/source/tree/Packages/c/c-ares-1.19.1-1.fc38.src.rpm'
self =
self.compose =
self.header =
self.rpms = {}
sigkey = None
srpm_nevra = None
variant = 'Server'
Frame link_files in /usr/lib/python3.11/site-packages/pungi/phases/gather/link.py at line 95
88
89 # link file
90 pool.queue_put((pkg["path"], dst))
91
92 # update rpm manifest
93 pkg_obj = pkg_by_path[pkg["path"]]
94 nevra = pkg_obj.nevra
--> 95 manifest.add(
96 variant.uid,
97 arch,
98 nevra,
99 path=dst_relpath,
100 sigkey=pkg_obj.signature,
101 category="source",
arch = 'riscv64'
compose =
dst = '/mnt/koji/compose/rawhide/Fedora-Rawhide-20230831.n.0/compose/Server/source/tree/Packages/c/c-ares-1.19.1-1.fc38.src.rpm'
dst_relpath = 'Server/source/tree/Packages/c/c-ares-1.19.1-1.fc38.src.rpm'
hashed_directories = True
link_type = 'hardlink-or-copy'
manifest =
msg = 'Linking packages (arch: riscv64, variant: Server)'
nevra = 'c-ares-0:1.19.1-1.fc38.src'
package_path = 'c/c-ares-1.19.1-1.fc38.src.rpm'
packages_dir = '/mnt/koji/compose/rawhide/Fedora-Rawhide-20230831.n.0/compose/Server/source/tree/Packages'
packages_dir_relpath = 'Server/source/tree/Packages'
path = '/mnt/koji/packages/python-bintrees/2.0.1/30.fc37/src/python-bintrees-2.0.1-30.fc37.src.rpm'
pkg = {'path': '/mnt/koji/packages/c-ares/1.19.1/1.fc38/src/c-ares-1.19.1-1.fc38.src.rpm', 'flags': []}
pkg_by_path = {'/mnt/koji/packages/ignition-math/4.0.0/11.fc38/riscv64/ignition-math-4.0.0-11.fc38.riscv64.rpm': ignition-math-4.0.0-11.fc38.riscv64.rpm, '/mnt/koji/packages/ignition-math/4.0.0/11.fc38/riscv64/igni
pkg_map = {'rpm': [{'path': '/mnt/koji/packages/util-linux/2.38.1/4.rvre0.fc38/riscv64/util-linux-2.38.1-4.rvre0.fc38.riscv64.rpm', 'flags': ['input']}, {'path': '/mnt/koji/packages/util-linux/2.38.1/4.rvre0.fc
pkg_obj = c-ares-1.19.1-1.fc38.src.rpm
pkg_set =
pkg_sets = []
pool =
srpm_map = {}
variant = Variant(id="Server", name="Server", type="variant", parent=None)
Frame run in /usr/lib/python3.11/site-packages/pungi/phases/gather/__init__.py at line 133
126 )
127
128 for variant_uid in get_ordered_variant_uids(self.compose):
129 variant = self.compose.all_variants[variant_uid]
130 if variant.is_empty:
131 continue
132 for arch in variant.arches:
--> 133 link_files(
134 self.compose,
135 arch,
136 variant,
137 pkg_map[arch][variant.uid],
138 self.pkgset_phase.package_sets,
139 manifest=self.manifest,
arch = 'riscv64'
pkg_map = {'riscv64': {'Server': {'rpm': [{'path': '/mnt/koji/packages/util-linux/2.38.1/4.rvre0.fc38/riscv64/util-linux-2.38.1-4.rvre0.fc38.riscv64.rpm', 'flags': ['input']}, {'path': '/mnt/koji/packages/util-
self =
self._skipped = False
self._start_time = 1693472616.3336453
self.compose =
self.finished = False
self.manifest =
self.manifest_file = '/mnt/koji/compose/rawhide/Fedora-Rawhide-20230831.n.0/compose/metadata/rpms.json'
self.msg = '---------- PHASE: GATHER ----------'
self.name = 'gather'
self.pkgset_phase =
self.used_patterns = None
variant = Variant(id="Server", name="Server", type="variant", parent=None)
variant_uid = 'Server'
Frame start in /usr/lib/python3.11/site-packages/pungi/phases/base.py at line 66
59 if self._skipped:
60 self.compose.log_warning("[SKIP ] %s" % self.msg)
61 self.finished = True
62 return
63 self._start_time = time.time()
64 self.compose.log_info("[BEGIN] %s" % self.msg)
65 self.compose.notifier.send("phase-start", phase_name=self.name)
--> 66 self.run()
67
68 def get_config_block(self, variant, arch=None):
69 """In config for current phase, find a block corresponding to given
70 variant and arch. The arch should be given if and only if the config
71 uses variant/arch mapping.
72 """
self =
self._skipped = False
self._start_time = 1693472616.3336453
self.compose =
self.finished = False
self.manifest =
self.manifest_file = '/mnt/koji/compose/rawhide/Fedora-Rawhide-20230831.n.0/compose/metadata/rpms.json'
self.msg = '---------- PHASE: GATHER ----------'
self.name = 'gather'
self.pkgset_phase =
self.used_patterns = None
Frame process in /usr/lib/python3.11/site-packages/pungi/phases/weaver.py at line 78
71 num,
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 (2/4). Phases: gather, createrepo'
num = 2
phase =
phases_names = 'gather, createrepo'
pipeline = [, ]
self =
self._args =
self._daemonic = False
self._ident = 281473022095776
self._initialized = True
self._is_stopped = True
self._kwargs = {}
self._name = 'Thread-83'
self._native_id = 826828
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 = 281473022095776
self.kill = True
self.name = 'Thread-83'
self.native_id = 826828
self.pool =
self.running = False
Frame run in /usr/lib/python3.11/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 = 2
self =
self._args =
self._daemonic = False
self._ident = 281473022095776
self._initialized = True
self._is_stopped = True
self._kwargs = {}
self._name = 'Thread-83'
self._native_id = 826828
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 = 281473022095776
self.kill = True
self.name = 'Thread-83'
self.native_id = 826828
self.pool =
self.running = False
Frame reraise in /usr/lib/python3.11/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.11/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 = [(, ValueError('Arch not found in RPM_ARCHES: riscv64'), ), (, RuntimeError('Runroot task failed: 1466403. See /mnt/koji/c
self.queue =
self.queue_get_lock =
self.queue_processed = 4
self.queue_put_lock =
self.queue_total = 4
self.threads = [, , ,
Frame stop in /usr/lib/python3.11/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.11/site-packages/pungi/scripts/pungi_koji.py at line 524
517 buildinstall_phase,
518 (gather_phase, createrepo_phase),
519 extrafiles_phase,
520 (ostree_phase, ostree_installer_phase),
521 )
522 essentials_phase = pungi.phases.WeaverPhase(compose, essentials_schema)
523 essentials_phase.start()
--> 524 essentials_phase.stop()
525
526 # write treeinfo before ISOs are created
527 for variant in compose.get_variants():
528 for arch in variant.arches + ["src"]:
529 pungi.metadata.write_tree_info(
530 compose, arch, variant, bi=buildinstall_phase
buildinstall_phase =
compose =
config_copy_path = '/mnt/koji/compose/rawhide/Fedora-Rawhide-20230831.n.0/logs/global/config-copy'
config_dump_full = '/mnt/koji/compose/rawhide/Fedora-Rawhide-20230831.n.0/logs/global/config-dump.global.log'
config_file = '/root/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/rawhide/Fedora-Rawhide-20230831.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/rawhide/Fedora-Rawhide-20230831.n.0/logs/global/installed-pkgs.global.log'
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.11/site-packages/pungi/scripts/pungi_koji.py at line 352
345 logger.error("Config validation failed with the error: %s" % error)
346 fail_to_start("Config validation failed", errors=errors)
347 sys.exit(1)
348
349 notifier.compose = compose
350 COMPOSE = compose
351 try:
--> 352 run_compose(
353 compose,
354 create_latest_link=create_latest_link,
355 latest_link_status=latest_link_status,
356 latest_link_components=latest_link_components,
357 )
358 except UnsignedPackagesError:
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 0xffffb5af4040>
compose =
compose_dir = '/mnt/koji/compose/rawhide/Fedora-Rawhide-20230831.n.0'
compose_type = 'nightly'
conf = {'variants_file': 'variants-fedora.xml', 'tree_arches': ['riscv64'], 'hashed_directories': True, 'runroot_channel': 'compose', 'runroot_tag': 'f40-build', 'pkgset_source': 'koji', 'filter_system_relea
create_latest_link = True
errors = []
fail_to_start = .fail_to_start at 0xffffb5aebec0>
group =
kobo =
latest_link_components = -1
latest_link_status = None
logger =
notifier =
opts = Namespace(target_dir='/mnt/koji/compose/rawhide', compose_dir=None, label=None, no_label=False, supported=False, old_composes=['/mnt/koji/compose/rawhide'], config='/root/pungi-fedora/fedora.conf', sk
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.11/site-packages/pungi/scripts/pungi_koji.py at line 683
676
677
678 def cli_main():
679 signal.signal(signal.SIGINT, sigterm_handler)
680 signal.signal(signal.SIGTERM, sigterm_handler)
681
682 try:
--> 683 main()
684 except (Exception, KeyboardInterrupt) as ex:
685 if COMPOSE:
686 COMPOSE.log_error("Compose run failed: %s" % ex)
687 COMPOSE.traceback(show_locals=getattr(ex, "show_locals", True))
688 COMPOSE.log_critical("Compose failed: %s" % COMPOSE.topdir)
689 COMPOSE.write_status("DOOMED")
ex = ValueError('Arch not found in RPM_ARCHES: riscv64')