import-sig failed: [ERROR] 'NoneType' object has no attribute 'split'
by Joe CHEN
Unsigned rpm has been imported not using "--link",
after that, I rpmsigned rpm then "koji import-sig",
BUT it came up with an error:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$koji import-sig wemeet-3.14.0.401-1.lch2023.aarch64.rpm
Importing signature [key 1ce71ff0] from wemeet-3.14.0.401-1.lch2023.aarch64.rpm...
Writing signed copy
2023-04-04 18:23:32,106 [ERROR] koji: Fault: <Fault 1: "<class 'AttributeError'>: 'NoneType' object has no attribute 'split'">
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
There is xxx.rpm.sig in /kojifiles/packages/, but there's no full signed rpm.
I tried "remove-signed-rpm" also "write-signed-rpm", but when "import-sig", it comes up with same ERROR.
5 months, 3 weeks
Re: Seeking Advice on Speeding Up Koji Builds with QEMU
by Miroslav Suchý
Dne 30. 03. 23 v 9:36 Joe (Jun-Yan) Chen napsal(a):
> Hi,
>
> I tried mock's feature and plugins "nosync", "tmpfs", "use_bootstrap_image",
>
> but still stuck in "dnf installroot"'s "dnf makecache" process for 7 minutes everytime,
>
> Is there any methods to not pull a brand new image every time?(reuse image every task instead)
This is weird. The root-cache should be preserved and reused. Unless you modify the config (mtime). Then Mock assume
configuration changed and rebuild the root-cache.
You may as well experiment with
# config_opts['plugin_conf']['root_cache_opts']['age_check'] = True
# config_opts['plugin_conf']['root_cache_opts']['max_age_days'] = 15
# config_opts['plugin_conf']['yum_cache_opts']['max_age_days'] = 30
# config_opts['plugin_conf']['yum_cache_opts']['max_metadata_age_days'] = 30
Miroslav
5 months, 4 weeks