Skip to content
Snippets Groups Projects
Commit 59581647 authored by Štěpán Kotek's avatar Štěpán Kotek
Browse files

Check deckard with valgrind during CI

refs #227
parent 94af3ef2
Tags
1 merge request!365Check deckard with valgrind during CI
Pipeline #23757 failed with stages
in 5 minutes and 19 seconds
......@@ -40,6 +40,26 @@ deckard:linux:amd64:
- linux
- amd64
deckard:linux:amd64:valgrind:
stage: test
script:
- export PREFIX=$(pwd)/.local
- export LD_LIBRARY_PATH=$PREFIX/lib
- apt purge -y python-dnspython python3-dnspython
- apt update
- apt install -y python3-jinja2 python3-pip python3-yaml libffi-dev libaugeas-dev
- pip3 install --upgrade pip
- pip3 install --user dnspython python-augeas
- cd tests/deckard && DAEMON=valgrind ADDITIONAL="--leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp $PREFIX/sbin/kresd" MAKEFLAGS="-j $(nproc) --keep-going" make
dependencies:
- build:linux:amd64
tags:
- docker
- linux
- amd64
test:linux:amd64:valgrind:
stage: test
script:
......
......@@ -34,3 +34,6 @@ RUN rm -rf respdiff.zip resolver-benchmarking*
#build knot
RUN git clone https://gitlab.labs.nic.cz/knot/knot-dns.git /tmp/knot
RUN cd /tmp/knot && autoreconf -if && ./configure && make && make install && ldconfig
#prepare for valgrind
RUN wget https://raw.githubusercontent.com/LuaDist/luajit/2.0.3/src/lj.supp -O /lj.supp
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment