]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
teuthology/misc.py: add ASAN options wip-mchangir-test-with-asan-options
authorMilind Changire <mchangir@redhat.com>
Sat, 22 Mar 2025 03:53:12 +0000 (09:23 +0530)
committerMilind Changire <mchangir@redhat.com>
Sat, 22 Mar 2025 04:33:11 +0000 (10:03 +0530)
Signed-off-by: Milind Changire <mchangir@redhat.com>
teuthology/misc.py

index 93bdc7a4d28e00b24c842bb162680977891a5c0b..6e0467d1858b4f329c38448d74fd5dee005cecba 100644 (file)
@@ -830,6 +830,8 @@ def wait_until_healthy(ctx, remote, ceph_cluster='ceph', use_sudo=False):
     args = ['adjust-ulimits',
             'ceph-coverage',
             '{tdir}/archive/coverage'.format(tdir=testdir)]
+    args.extend(['env', 'ASAN_OPTIONS=detect_leaks=0,detect_odr_violation=0',
+                 'LD_PRELOAD=/lib64/libasan.so.6'])
     args.extend(cmd)
     with safe_while(tries=(900 // 6), action="wait_until_healthy") as proceed:
         while proceed():
@@ -854,6 +856,9 @@ def wait_until_osds_up(ctx, cluster, remote, ceph_cluster='ceph'):
                     'adjust-ulimits',
                     'ceph-coverage',
                     '{tdir}/archive/coverage'.format(tdir=testdir),
+                    'env',
+                    'ASAN_OPTIONS=detect_leaks=0,detect_odr_violation=0',
+                    'LD_PRELOAD=/lib64/libasan.so.6',
                     'ceph',
                     '--cluster', ceph_cluster,
                     'osd', 'dump', '--format=json'