From 392e2787496523794d05e52b34a5a59034646c68 Mon Sep 17 00:00:00 2001 From: Rishabh Dave Date: Wed, 8 Jun 2022 22:32:27 +0530 Subject: [PATCH] qa/cephfs: log xfstests-dev local.config Log contents of xfstests-dev repo config file "local.config" to make debugging easier. Signed-off-by: Rishabh Dave --- qa/tasks/cephfs/xfstests_dev.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qa/tasks/cephfs/xfstests_dev.py b/qa/tasks/cephfs/xfstests_dev.py index e57f062e4d2..c507dbe4963 100644 --- a/qa/tasks/cephfs/xfstests_dev.py +++ b/qa/tasks/cephfs/xfstests_dev.py @@ -209,8 +209,10 @@ class XFSTestsDev(CephFSTestCase): export CEPHFS_MOUNT_OPTIONS="-o name=admin,secret={self.get_admin_key()}{_options}" ''') - self.mount_a.client_remote.write_file(join(self.xfstests_repo_path, 'local.config'), - xfstests_config_contents, sudo=True) + self.mount_a.client_remote.write_file( + join(self.xfstests_repo_path, 'local.config'), + xfstests_config_contents, sudo=True) + log.info(f'local.config\'s contents -\n{xfstests_config_contents}') def write_ceph_exclude(self): # These tests will fail or take too much time and will