From: Patrick Donnelly Date: Wed, 22 Mar 2023 14:20:21 +0000 (-0400) Subject: qa: time log compression X-Git-Tag: v16.2.14~14^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F52953%2Fhead;p=ceph.git qa: time log compression For debugging and ad-hoc analytics. Signed-off-by: Patrick Donnelly (cherry picked from commit 6739e1156350be7032f8832c04cf28da79e9c4d9) --- diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 7ce23acc0328..6e71b8b55b69 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -262,6 +262,7 @@ def ceph_log(ctx, config): run.wait( ctx.cluster.run( args=[ + 'time', 'sudo', 'find', '/var/log/ceph', diff --git a/qa/tasks/ceph_deploy.py b/qa/tasks/ceph_deploy.py index 531c1edd6729..832e2a1f4b3b 100644 --- a/qa/tasks/ceph_deploy.py +++ b/qa/tasks/ceph_deploy.py @@ -524,6 +524,7 @@ def build_ceph_cluster(ctx, config): run.wait( ctx.cluster.run( args=[ + 'time', 'sudo', 'find', '/var/log/ceph', diff --git a/qa/tasks/cephadm.py b/qa/tasks/cephadm.py index 5623b03eda22..7692e9249ad3 100644 --- a/qa/tasks/cephadm.py +++ b/qa/tasks/cephadm.py @@ -257,6 +257,7 @@ def ceph_log(ctx, config): run.wait( ctx.cluster.run( args=[ + 'time', 'sudo', 'find', '/var/log/ceph', # all logs, not just for the cluster diff --git a/qa/tasks/rook.py b/qa/tasks/rook.py index 8db0095b7b4f..e9d6552be11f 100644 --- a/qa/tasks/rook.py +++ b/qa/tasks/rook.py @@ -251,6 +251,7 @@ def ceph_log(ctx, config): run.wait( ctx.cluster.run( args=[ + 'time', 'sudo', 'find', log_dir,