]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
CI: disable Deckard under Valgrind
authorPetr Špaček <petr.spacek@nic.cz>
Fri, 24 Nov 2017 13:55:35 +0000 (14:55 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Fri, 24 Nov 2017 13:55:35 +0000 (14:55 +0100)
The test is useless in its current form because all the information goes
to logs, which are later discarded.

We need to fix issues detected by Valgrind first and then enable strict
mode which will not let the test pass if any problem is detected.

This might require recompiling LuaJIT in a way which is compatible with
Valgrind.

.gitlab-ci.yml

index 9e36b278e393366e98b16bdc9bf4882091d22363..8cf5d40e0ca354caf80cece54c413e0f5e11f4bb 100644 (file)
@@ -49,25 +49,26 @@ deckard:linux:amd64:
     - amd64
 
 
-deckard:linux:amd64:valgrind:
-  stage: test
-  script:
-    - export PREFIX=$(pwd)/.local
-    - export LD_LIBRARY_PATH=$PREFIX/lib
-    - export TMPDIR=$(pwd)
-    # TODO: valgrind missing parameter --error-exitcode=1 to fail make on error
-    - cd tests/deckard && DAEMON=valgrind ADDITIONAL="--leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp $PREFIX/sbin/kresd -f 1" MAKEFLAGS="-j $(nproc) --keep-going" make
-  artifacts:
-    when: on_failure
-    expire_in: 1 week
-    paths:
-      - tmpdeckard*
-  dependencies:
-    - build:linux:amd64
-  tags:
-    - docker
-    - linux
-    - amd64
+# temporarily disabled - we need to fix issues first
+#deckard:linux:amd64:valgrind:
+#  stage: test
+#  script:
+#    - export PREFIX=$(pwd)/.local
+#    - export LD_LIBRARY_PATH=$PREFIX/lib
+#    - export TMPDIR=$(pwd)
+#    # TODO: valgrind missing parameter --error-exitcode=1 to fail make on error
+#    - cd tests/deckard && DAEMON=valgrind ADDITIONAL="--leak-check=full --trace-children=yes --quiet --suppressions=/lj.supp $PREFIX/sbin/kresd -f 1" MAKEFLAGS="-j $(nproc) --keep-going" make
+#  artifacts:
+#    when: on_failure
+#    expire_in: 1 week
+#    paths:
+#      - tmpdeckard*
+#  dependencies:
+#    - build:linux:amd64
+#  tags:
+#    - docker
+#    - linux
+#    - amd64
 
 
 test:linux:amd64:valgrind: