Skip to content

Commit 5b1191a

Browse files
committed
github-ci: run SV tests in AF_PACKET and DPDK jobs
1 parent bfe4ad4 commit 5b1191a

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/builds.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1811,7 +1811,10 @@ jobs:
18111811
curl \
18121812
time \
18131813
wget \
1814-
dpdk-dev
1814+
dpdk-dev \
1815+
ethtool \
1816+
iproute2 \
1817+
iptables
18151818
# specific version to match up to the llvm version in ubuntu below
18161819
- name: Install Rust
18171820
run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain 1.85.1 -y
@@ -1821,6 +1824,7 @@ jobs:
18211824
with:
18221825
name: prep
18231826
path: prep
1827+
- run: tar xf prep/suricata-verify.tar.gz
18241828
- uses: ./.github/actions/install-cbindgen
18251829
- name: Fix kernel mmap rnd bits
18261830
# Asan in llvm 14 provided in ubuntu 22.04 is incompatible with
@@ -1886,6 +1890,9 @@ jobs:
18861890
./qa/live/multi-tenant.sh "autofp"
18871891
env:
18881892
LLVM_PROFILE_FILE: "/tmp/mt-autofp.profraw"
1893+
- run: python3 ./suricata-verify/live/run.py run --tag legacy-afpdpdk
1894+
env:
1895+
LLVM_PROFILE_FILE: "/tmp/sv-live-afpdpdk-%p-%m.profraw"
18891896
- run: llvm-profdata-19 merge -o default.profdata $(find /tmp/ -name '*.profraw')
18901897
- run: llvm-cov-19 export ./src/suricata -instr-profile=default.profdata -format=lcov --ignore-filename-regex="^/(root|usr|rustc|github)/.*" --skip-branches > coverage.lcov
18911898
- name: Upload coverage.lcov artifact
@@ -2180,9 +2187,12 @@ jobs:
21802187
cargo \
21812188
cbindgen \
21822189
clang-18 \
2190+
ethtool \
21832191
git \
21842192
hwloc \
21852193
libhwloc-dev \
2194+
iproute2 \
2195+
iptables \
21862196
jq \
21872197
inetutils-ping \
21882198
libc++-dev \
@@ -2224,6 +2234,7 @@ jobs:
22242234
with:
22252235
name: prep
22262236
path: prep
2237+
- run: tar xf prep/suricata-verify.tar.gz
22272238
- name: Fix kernel mmap rnd bits
22282239
run: sudo sysctl vm.mmap_rnd_bits=28
22292240
- run: ./autogen.sh
@@ -2259,6 +2270,7 @@ jobs:
22592270
./qa/live/pcap.sh "single"
22602271
- run: |
22612272
./qa/live/multi-tenant.sh "autofp"
2273+
- run: python3 ./suricata-verify/live/run.py run --tag legacy-afpdpdk
22622274

22632275
ubuntu-24-04-cov-fuzz:
22642276
name: Ubuntu 24.04 (fuzz corpus coverage)

0 commit comments

Comments
 (0)