]> git.ipfire.org Git - thirdparty/pdns.git/commit
rec: cleanup dnstap regression test a bit and try to avoid LeakSanitizer internal... 14899/head
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 27 Nov 2024 09:43:59 +0000 (10:43 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 27 Nov 2024 10:59:49 +0000 (11:59 +0100)
commitc00bd3c770f83b5e61bf4be7623e90aa7d840ec8
tree33c06638aa1c98dbc8ae08b3fbbaa8710b6b00b8
parent6be83e2da7e7ca7bd01a2d53ff97f4afbc609124
rec: cleanup dnstap regression test a bit and try to avoid LeakSanitizer internal issue

The issue is that if the test ends *too* quick LeakSanatizer did
not init all thread local data structures yet, and it reports this
and exits with a non-zero exit code:

  Tracer caught signal 11: addr=0x7fc0f2bc0000 pc=0x55bc6eccaeda sp=0x7fc0f29e1d40
  ==10208==LeakSanitizer has encountered a fatal error.
  ==10208==HINT: For debugging, try setting environment variable LSAN_OPTIONS=verbosity=1:log_threads=1
  ==10208==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)
regression-tests.recursor-dnssec/test_RecDnstap.py