]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
valgrind: set OPENSSL_ia32cap to ~0x1000000000000000 1425/head
authorSage Weil <sage@redhat.com>
Tue, 17 Mar 2020 12:36:25 +0000 (07:36 -0500)
committerSage Weil <sage@redhat.com>
Tue, 17 Mar 2020 14:00:53 +0000 (09:00 -0500)
This disables AVX instructions, which confuse valgrinda nd openssl.

https://tracker.ceph.com/issues/44362

Signed-off-by: Sage Weil <sage@redhat.com>
teuthology/misc.py

index e4a3624369f1e0939b1158d755dbc17ae0147fd3..d2b9bdf852df2512b2bf358ccef021a458585350 100644 (file)
@@ -1057,6 +1057,12 @@ def get_valgrind_args(testdir, name, preamble, v):
         return preamble
     if not isinstance(v, list):
         v = [v]
+
+    # https://tracker.ceph.com/issues/44362
+    preamble.extend([
+        'env', 'OPENSSL_ia32cap=~0x1000000000000000',
+    ])
+
     val_path = '/var/log/ceph/valgrind'.format(tdir=testdir)
     if '--tool=memcheck' in v or '--tool=helgrind' in v:
         extra_args = [