]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
Add a wait time to compress_logs() wip-xmlscanner-fix-2
authorVallari Agrawal <val.agl002@gmail.com>
Mon, 20 Jan 2025 14:05:35 +0000 (19:35 +0530)
committerVallari Agrawal <val.agl002@gmail.com>
Mon, 20 Jan 2025 14:05:35 +0000 (19:35 +0530)
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 <val.agl002@gmail.com>
teuthology/misc.py

index 97521895ac655ba4189cec0d38c02bccd36dba9e..80d4c99f8716184a055a8c7fbcd4acffe9169eda 100644 (file)
@@ -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(