ceph/qa/suites/fs/verify/validater/valgrind.yaml
Patrick Donnelly 5faf0ee0f3
mds,qa: exit instead of respawn under valgrind
valgrind can't handle execve of /proc/self/exe:

    2021-02-27T05:52:37.813 INFO:tasks.ceph.mds.d.smithi073.stderr:==00:01:03:20.556 41218== execve(0x18546740(/proc/self/exe), 0x18546670, 0x133ef310) failed, errno 2
    2021-02-27T05:52:37.813 INFO:tasks.ceph.mds.d.smithi073.stderr:==00:01:03:20.556 41218== EXEC FAILED: I can't recover from execve() failing, so I'm dying.
    2021-02-27T05:52:37.813 INFO:tasks.ceph.mds.d.smithi073.stderr:==00:01:03:20.556 41218== Add more stringent tests in PRE(sys_execve), or work out how to recover.

So configure the MDS to just exit so it can be restarted by QA infra (the
daemon watchdog).

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2021-03-03 09:30:21 -08:00

30 lines
739 B
YAML

overrides:
install:
ceph:
debuginfo: true
ceph:
# Valgrind makes everything slow, so ignore slow requests and extend heartbeat grace
log-ignorelist:
- slow request
- SLOW_OPS
- MON_DOWN
conf:
global:
osd heartbeat grace: 60
mds heartbeat grace: 60
mds beacon grace: 60
mds:
mds valgrind exit: true
mon:
mon osd crush smoke test: false
osd:
osd fast shutdown: false
valgrind:
mon: [--tool=memcheck, --leak-check=full, --show-reachable=yes]
mds: [--tool=memcheck]
watchdog:
daemon_restart: normal
ceph-fuse:
client.0:
valgrind: [--tool=memcheck, --leak-check=full, --show-reachable=yes]