]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
ci: Enable LeakSanitizer during dnsdist and recursor unit tests 14030/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 2 Apr 2024 10:33:43 +0000 (12:33 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 4 Apr 2024 08:35:16 +0000 (10:35 +0200)
We need to fix some one-time allocations in the authoritative server
that are reported as leaked memory before we can enabled it there.
See:
- https://github.com/PowerDNS/pdns/pull/14028
- https://github.com/PowerDNS/pdns/pull/14029

There is also a leak in the remotebackend unit tests that I will
investigate after https://github.com/PowerDNS/pdns/pull/13960 has
been merged.

.github/workflows/build-and-test-all.yml

index ba0669bfb2dcfa17a9d53ec721cb753013a18d6c..4cf23646878d5e8b5b13d85635b4cf8b41a336a6 100644 (file)
@@ -122,7 +122,6 @@ jobs:
     container:
       image: ghcr.io/powerdns/base-pdns-ci-image/debian-12-pdns-base:master
       env:
-        ASAN_OPTIONS: detect_leaks=0
         SANITIZERS: ${{ matrix.sanitizers }}
         UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1:suppressions=${{ env.REPO_HOME }}/build-scripts/UBSan.supp"
         UNIT_TESTS: yes
@@ -207,7 +206,6 @@ jobs:
     container:
       image: ghcr.io/powerdns/base-pdns-ci-image/debian-12-pdns-base:master
       env:
-        ASAN_OPTIONS: detect_leaks=0
         SANITIZERS: ${{ matrix.sanitizers }}
         UBSAN_OPTIONS: "print_stacktrace=1:halt_on_error=1:suppressions=${{ env.REPO_HOME }}/build-scripts/UBSan.supp"
         UNIT_TESTS: yes