From 6f9a05c86ac16a6ad27d3f7649ed79b4497886d8 Mon Sep 17 00:00:00 2001 From: Masaori Koshiba Date: Mon, 13 May 2024 16:48:38 +0900 Subject: [PATCH 1/2] Set LSan suppression for regression test --- jenkins/github/rocky.pipeline | 1 + 1 file changed, 1 insertion(+) diff --git a/jenkins/github/rocky.pipeline b/jenkins/github/rocky.pipeline index 27f61e5..d005a6e 100644 --- a/jenkins/github/rocky.pipeline +++ b/jenkins/github/rocky.pipeline @@ -78,6 +78,7 @@ pipeline { cmake --install build pushd build ctest -j4 --output-on-failure --no-compress-output -T Test + LSAN_OPTIONS=suppressions=../ci/asan_leak_suppression/regression.txt \ /tmp/ats-quiche/bin/traffic_server -K -k -R 1 popd else From bc9fede2b8446b428a80bf17c5fe7155401a56fe Mon Sep 17 00:00:00 2001 From: Masaori Koshiba Date: Wed, 15 May 2024 10:14:49 +0900 Subject: [PATCH 2/2] Fix path to the suppression file --- jenkins/github/rocky.pipeline | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jenkins/github/rocky.pipeline b/jenkins/github/rocky.pipeline index d005a6e..962f67b 100644 --- a/jenkins/github/rocky.pipeline +++ b/jenkins/github/rocky.pipeline @@ -70,6 +70,7 @@ pipeline { # Now build ATS, using the external libswoc. libswoc_dir=/opt/libswoc yaml_cpp_dir=/opt/yaml-cpp + src_top=$(git rev-parse --show-toplevel) PKG_CONFIG_PATH=${libswoc_dir}/lib/pkgconfig \ cmake -B build --preset ci-rocky \ -DEXTERNAL_LIBSWOC=ON -Dlibswoc_ROOT=${libswoc_dir} \ @@ -78,7 +79,7 @@ pipeline { cmake --install build pushd build ctest -j4 --output-on-failure --no-compress-output -T Test - LSAN_OPTIONS=suppressions=../ci/asan_leak_suppression/regression.txt \ + LSAN_OPTIONS=suppressions=${src_top}/ci/asan_leak_suppression/regression.txt \ /tmp/ats-quiche/bin/traffic_server -K -k -R 1 popd else