From: Remi Gacogne Date: Thu, 1 Feb 2024 13:45:40 +0000 (+0100) Subject: dnsdist: Enable eBPF regression tests in our CI X-Git-Tag: dnsdist-1.9.0~12^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e8e1c430403ca429522f865ed4945c80f729773;p=thirdparty%2Fpdns.git dnsdist: Enable eBPF regression tests in our CI --- diff --git a/.github/workflows/build-and-test-all.yml b/.github/workflows/build-and-test-all.yml index 2b97fd36f3..cbf691718d 100644 --- a/.github/workflows/build-and-test-all.yml +++ b/.github/workflows/build-and-test-all.yml @@ -612,7 +612,7 @@ jobs: SKIP_INCLUDEDIR_TESTS: yes SANITIZERS: ${{ matrix.sanitizers }} COVERAGE: yes - options: --sysctl net.ipv6.conf.all.disable_ipv6=0 + options: --sysctl net.ipv6.conf.all.disable_ipv6=0 --privileged steps: - uses: actions/checkout@v4 with: diff --git a/tasks.py b/tasks.py index 1fbb5553f1..9c5fe5b305 100644 --- a/tasks.py +++ b/tasks.py @@ -585,7 +585,7 @@ def ci_dnsdist_configure(c, features): features_set, unittests, fuzztargets, - ' --enable-lto=thin', + '--enable-lto=thin', '--prefix=/opt/dnsdist' ]) @@ -871,7 +871,7 @@ def test_dnsdist(c): c.run('ls -ald /var /var/agentx /var/agentx/master') c.run('ls -al /var/agentx/master') with c.cd('regression-tests.dnsdist'): - c.run('DNSDISTBIN=/opt/dnsdist/bin/dnsdist LD_LIBRARY_PATH=/opt/dnsdist/lib/ ./runtests') + c.run('DNSDISTBIN=/opt/dnsdist/bin/dnsdist LD_LIBRARY_PATH=/opt/dnsdist/lib/ ENABLE_SUDO_TESTS=1 ./runtests') @task def test_regression_recursor(c):