From 1fc108002a86449075c5d23390eda00bfcb3bbfb Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Mon, 20 Jan 2025 19:35:35 +0530 Subject: [PATCH] Add a wait time to compress_logs() This is to ensure that files are stable before compressing them. Fixes: https://tracker.ceph.com/issues/67420 Valgrind files were compressed while they were still being written to. This commit should allow them to be more stable before zipping them. Signed-off-by: Vallari Agrawal --- teuthology/misc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/teuthology/misc.py b/teuthology/misc.py index 97521895ac..80d4c99f87 100644 --- a/teuthology/misc.py +++ b/teuthology/misc.py @@ -1352,6 +1352,7 @@ def compress_logs(ctx, remote_dir): """ Compress all files in remote_dir from all nodes in a cluster. """ + time.sleep(30) log.info('Compressing logs...') run.wait( ctx.cluster.run( -- 2.39.5