valgrind: set OPENSSL_ia32cap to ~0x1000000000000000
This disables AVX instructions, which confuse valgrinda nd openssl.
@@ -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 = [
