This is an automated email from the ASF dual-hosted git repository.

bneradt pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/trafficserver-ci.git


The following commit(s) were added to refs/heads/main by this push:
     new 1f50ff8  Set LSan suppression for regression test (#353)
1f50ff8 is described below

commit 1f50ff83ad5f44aec3b3898f5a21da6a7a199df5
Author: Masaori Koshiba <[email protected]>
AuthorDate: Wed May 15 11:50:22 2024 +0900

    Set LSan suppression for regression test (#353)
    
    * Set LSan suppression for regression test
    
    * Fix path to the suppression file
---
 jenkins/github/rocky.pipeline | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/jenkins/github/rocky.pipeline b/jenkins/github/rocky.pipeline
index 9bebdff..78d13b2 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,6 +79,7 @@ pipeline {
                             cmake --install build
                             pushd build
                             ctest -j4 --output-on-failure --no-compress-output 
-T Test
+                            
LSAN_OPTIONS=suppressions=${src_top}/ci/asan_leak_suppression/regression.txt \
                             /tmp/ats-quiche/bin/traffic_server -K -k -R 1
                             popd
                         else

Reply via email to