From 4cf11906e8b68561cf7aacbe17b0c7f06eb8728a Mon Sep 17 00:00:00 2001 From: Buvanesh Kumar Date: Mon, 6 Apr 2020 07:36:39 -0400 Subject: [PATCH] RCM-79601: Increase time delay in race condition Signed-off-by: Buvanesh Kumar --- pungi/phases/image_build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pungi/phases/image_build.py b/pungi/phases/image_build.py index 7cef9d7d..a46052c3 100644 --- a/pungi/phases/image_build.py +++ b/pungi/phases/image_build.py @@ -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: