Skip to contentSkip to conversation

nightly-oe-selftest.conf: instruct to sign rpm packages serially

PATCH New [email protected] 1 participant 1 message Sep 4, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nightly-oe-selftest.conf: instruct to sign rpm packages serially

From: Leonardo Sandoval <[email protected]>

Under high workloads, there are situations where the rpm file-chunk signing fails due to lack of memory resouces, so indicate the system to sign serially. The following log is what it has been observed recently:

ERROR: bc-1.06-r3 do_package_write_rpm: Function failed: Failed to sign RPM packages: gpg: signing failed: Cannot allocate memory
gpg: signing failed: Cannot allocate memory
error: gpg exec failed (2)

---
 buildset-config.controller/nightly-oe-selftest.conf | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
buildset-config.controller/nightly-oe-selftest.conf +2 -1
index 8704946d9..1237f9b73 100644
@@ -10,7 +10,8 @@ steps: [{'SetDest':{}},
         {'GetDistroVersion' : {'distro': 'poky'}},
         {'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'x86_64',
                             'distro': 'poky', 'packages': 'rpm',
-                            'buildhistory' : False, 'prserv': False}},
+                            'buildhistory' : False, 'prserv': False,
+                            'RPM_GPG_SIGN_CHUNK' : 1}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
         {'BuildImages': {'images': 'SELFTEST-PRE'}},
         {'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs': ['meta-selftest']}},
Signature · 1 line
2.12.3