]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/cephfs: log xfstests-dev local.config
authorRishabh Dave <ridave@redhat.com>
Wed, 8 Jun 2022 17:02:27 +0000 (22:32 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 22 Feb 2023 14:59:02 +0000 (20:29 +0530)
Log contents of xfstests-dev repo config file "local.config" to make
debugging easier.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
qa/tasks/cephfs/xfstests_dev.py

index e57f062e4d2fec092ab3079e84716f5bc557821a..c507dbe4963fa82d0003ad42df8d1ddb274ebd49 100644 (file)
@@ -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