RCM-79601: Increase time delay in race condition

Signed-off-by: Buvanesh Kumar <bsivasub@redhat.com>
This commit is contained in:
Buvanesh Kumar 2020-04-06 07:36:39 -04:00
parent fdfaae8b71
commit 4cf11906e8

View File

@ -238,7 +238,8 @@ class CreateImageBuildThread(WorkerThread):
# avoid race conditions?
# Kerberos authentication failed:
# Permission denied in replay cache code (-1765328215)
time.sleep(num * 3)
# [workaround] Increased time delay from 3 to 10 sec until the issue in koji gets fixed https://pagure.io/koji/issue/2138
time.sleep(num * 10)
output = koji_wrapper.run_blocking_cmd(koji_cmd, log_file=log_file)
self.pool.log_debug("build-image outputs: %s" % (output))
if output["retcode"] != 0: