Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/pungi/scripts/pungi_koji.py", line 637, in cli_main
main()
File "/usr/lib/python3.6/site-packages/pungi/scripts/pungi_koji.py", line 337, in main
latest_link_components=latest_link_components,
File "/usr/lib/python3.6/site-packages/pungi/scripts/pungi_koji.py", line 367, in run_compose
compose.read_variants()
File "/usr/lib/python3.6/site-packages/pungi/compose.py", line 379, in read_variants
get_file_from_scm(scm_dict, tmp_dir, compose=self)
File "/usr/lib/python3.6/site-packages/pungi/wrappers/scm.py", line 381, in get_file_from_scm
scm.export_file(scm_repo, i, scm_branch=scm_branch, target_dir=tmp_dir)
File "/usr/lib/python3.6/site-packages/pungi/wrappers/scm.py", line 86, in export_file
raise RuntimeError("No files matched, can not export.")
RuntimeError: No files matched, can not export.
Frame export_file in /usr/lib/python3.6/site-packages/pungi/wrappers/scm.py at line 86
79 if scm_root:
80 raise ValueError("FileWrapper: 'scm_root' should be empty.")
81 self.log_debug(
82 "Exporting file %s from current working directory..." % (scm_file)
83 )
84 files = glob.glob(scm_file)
85 if not files:
--> 86 raise RuntimeError("No files matched, can not export.")
87 for i in files:
88 target_path = os.path.join(target_dir, os.path.basename(i))
89 shutil.copy2(i, target_path)
90
91
92 class CvsWrapper(ScmBase):
files = []
scm_branch = None
scm_file = '/root/opencloudos/compose/pungi-opencloudos/variants-epol.xml'
scm_root = None
self =
self._logger =
self.command = None
self.compose =
target_dir = '/tmp/scm_checkout_p7cnu9js'
Frame get_file_from_scm in /usr/lib/python3.6/site-packages/pungi/wrappers/scm.py at line 381
374
375 logger = compose._logger if compose else None
376 scm = _get_wrapper(scm_type, logger=logger, command=command, compose=compose)
377
378 files_copied = []
379 for i in force_list(scm_file):
380 with temp_dir(prefix="scm_checkout_") as tmp_dir:
--> 381 scm.export_file(scm_repo, i, scm_branch=scm_branch, target_dir=tmp_dir)
382 files_copied += copy_all(tmp_dir, target_path)
383 return files_copied
384
385
386 def get_file(source, destination, compose, overwrite=False):
387 """
command = None
compose =
files_copied = []
i = '/root/opencloudos/compose/pungi-opencloudos/variants-epol.xml'
logger =
scm =
scm_branch = None
scm_dict = '/root/opencloudos/compose/pungi-opencloudos/variants-epol.xml'
scm_file = '/root/opencloudos/compose/pungi-opencloudos/variants-epol.xml'
scm_repo = None
scm_type = 'file'
target_path = '/mnt/koji/compose/9/EPOL-9-20231019.0/work/global/tmp/variants_file_dam_jm78'
tmp_dir = '/tmp/scm_checkout_p7cnu9js'
Frame read_variants in /usr/lib/python3.6/site-packages/pungi/compose.py at line 379
372 )
373 else:
374 file_name = os.path.basename(scm_dict)
375 scm_dict = os.path.join(self.config_dir, os.path.basename(scm_dict))
376
377 self.log_debug("Writing variants file: %s", variants_file)
378 tmp_dir = self.mkdtemp(prefix="variants_file_")
--> 379 get_file_from_scm(scm_dict, tmp_dir, compose=self)
380 shutil.copy2(os.path.join(tmp_dir, file_name), variants_file)
381 shutil.rmtree(tmp_dir)
382
383 tree_arches = self.conf.get("tree_arches", None)
384 tree_variants = self.conf.get("tree_variants", None)
385 with open(variants_file, "r") as file_obj:
file_name = 'variants-epol.xml'
scm_dict = '/root/opencloudos/compose/pungi-opencloudos/variants-epol.xml'
self =
self._logger =
self._status_file = '/mnt/koji/compose/9/EPOL-9-20231019.0/STATUS'
self.all_variants = {}
self.attempted_deliverables = {}
self.cache_region =
self.ci_base =
self.compose_date = '20231019'
self.compose_id = 'EPOL-9-20231019.0'
self.compose_label = 'RC-9.0'
self.compose_label_major_version = 'RC-9'
self.compose_respin = 0
self.compose_type = 'production'
self.compose_type_suffix = ''
self.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,
self.config_dir = '/root/opencloudos/compose/pungi-opencloudos'
self.containers_metadata = {}
self.failed_deliverables = {}
self.has_comps = False
self.has_module_defaults = False
self.im =
self.image_release = '9.0'
self.image_version = '9'
self.just_phases = []
self.koji_event = None
self.notifier =
self.old_composes = ['/mnt/koji/compose/9/']
self.paths =
self.required_deliverables = {}
self.should_create_yum_database = True
self.skip_phases = ['buildinstall', 'createiso', 'extra_isos', 'productimg']
self.status_file = '/mnt/koji/compose/9/EPOL-9-20231019.0/STATUS'
self.supported = True
self.topdir = '/mnt/koji/compose/9/EPOL-9-20231019.0'
self.variants = {}
tmp_dir = '/mnt/koji/compose/9/EPOL-9-20231019.0/work/global/tmp/variants_file_dam_jm78'
variants_file = '/mnt/koji/compose/9/EPOL-9-20231019.0/work/global/variants.xml'
Frame run_compose in /usr/lib/python3.6/site-packages/pungi/scripts/pungi_koji.py at line 367
360 compose.log_info("User name: %s" % getpass.getuser())
361 compose.log_info("Working directory: %s" % os.getcwd())
362 compose.log_info(
363 "Command line: %s" % " ".join([shlex_quote(arg) for arg in sys.argv])
364 )
365 compose.log_info("Compose top directory: %s" % compose.topdir)
366 compose.log_info("Current timezone offset: %s" % pungi.util.get_tz_offset())
--> 367 compose.read_variants()
368
369 # dump the config file
370 config_copy_path = os.path.join(compose.paths.log.topdir(), "config-copy")
371 if not os.path.exists(config_copy_path):
372 os.makedirs(config_copy_path)
373 for config_file in compose.conf.opened_files:
compose =
create_latest_link = True
errors = []
latest_link_components = -1
latest_link_status = None
pungi =
Frame main in /usr/lib/python3.6/site-packages/pungi/scripts/pungi_koji.py at line 337
330 notifier.compose = compose
331 COMPOSE = compose
332 try:
333 run_compose(
334 compose,
335 create_latest_link=create_latest_link,
336 latest_link_status=latest_link_status,
--> 337 latest_link_components=latest_link_components,
338 )
339 except UnsignedPackagesError:
340 # There was an unsigned package somewhere. It is not safe to reuse any
341 # package set from this compose (since we could leak the unsigned
342 # package). Let's make sure all reuse files are deleted.
343 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 0x7fed936de048>
compose =
compose_dir = '/mnt/koji/compose/9/EPOL-9-20231019.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 0x7fed936d5ea0>
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.0', 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 637
630
631
632 def cli_main():
633 signal.signal(signal.SIGINT, sigterm_handler)
634 signal.signal(signal.SIGTERM, sigterm_handler)
635
636 try:
--> 637 main()
638 except (Exception, KeyboardInterrupt) as ex:
639 if COMPOSE:
640 tb_path = COMPOSE.paths.log.log_file("global", "traceback")
641 COMPOSE.log_error("Compose run failed: %s" % ex)
642 COMPOSE.log_error("Extended traceback in: %s" % tb_path)
643 COMPOSE.log_critical("Compose failed: %s" % COMPOSE.topdir)
ex = RuntimeError('No files matched, can not export.',)
f = <_io.BufferedWriter name='/mnt/koji/compose/9/EPOL-9-20231019.0/logs/global/traceback.global.log'>
kobo =
tb_path = '/mnt/koji/compose/9/EPOL-9-20231019.0/logs/global/traceback.global.log'