From 6e8e1c430403ca429522f865ed4945c80f729773 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 1 Feb 2024 14:45:40 +0100 Subject: [PATCH] dnsdist: Enable eBPF regression tests in our CI --- .github/workflows/build-and-test-all.yml | 2 +- tasks.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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): -- 2.47.2