From 819f760c9c593a3deb47095c19e413b70280e91a Mon Sep 17 00:00:00 2001 From: Bryan Call Date: Wed, 19 Nov 2025 08:11:28 -0800 Subject: [PATCH] Fix Rocky Linux 8 ASAN plugin test failures Add leak suppression for ld-linux-x86-64.so to fix false positive memory leak reports on Rocky Linux 8 when running plugin tests with ASAN enabled. The tests properly call dlclose() for each dlopen(), but ASAN's instrumentation of the dynamic linker reports false positive leaks during plugin initialization. Fixes: test_PluginDso, test_PluginFactory, test_RemapPluginInfo on Rocky Linux 8 --- .../remap/unit-tests/remap_test_dlopen_leak_suppression.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/proxy/http/remap/unit-tests/remap_test_dlopen_leak_suppression.txt b/src/proxy/http/remap/unit-tests/remap_test_dlopen_leak_suppression.txt index 962310f89f5..e3f129dc54a 100644 --- a/src/proxy/http/remap/unit-tests/remap_test_dlopen_leak_suppression.txt +++ b/src/proxy/http/remap/unit-tests/remap_test_dlopen_leak_suppression.txt @@ -23,4 +23,7 @@ # something nasty or ASAN is detecting a false-positive. # PluginDso::load leak:PluginDso::load -leak:call_init \ No newline at end of file +leak:call_init +# On Rocky Linux 8, ASAN reports leaks from the dynamic linker during dlopen +# These are false positives as we properly call dlclose for each dlopen +leak:ld-linux-x86-64.so