]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use /dev/urandom as BIND 9.11 randomness source
authorMichal Nowak <mnowak@isc.org>
Mon, 6 Sep 2021 10:04:49 +0000 (12:04 +0200)
committerMichal Nowak <mnowak@isc.org>
Thu, 23 Dec 2021 14:57:44 +0000 (15:57 +0100)
This prevents resolver timeouts for the reference (BIND 9.11) servers
used in respdiff tests run on Debian 11 "bullseye".

--with-randomdev=/dev/urandom is part of the "configure" template.

(cherry picked from commit 4d7e3438135a0a538a7d17464eb8b785d8904977)

.gitlab-ci.yml

index 580f7ab9d7b7767fcad34c64898fb4f20ddc10b9..a118b0c1c9e40e7216c7c70a66da811cf81e821f 100644 (file)
@@ -1424,13 +1424,13 @@ respdiff:
     BIND_BASELINE_VERSION: v9_11_24
     MAX_DISAGREEMENTS_PERCENTAGE: "0.1"
   script:
-    - ./configure --without-make-clean
+    - *configure
     - make -j${BUILD_PARALLEL_JOBS:-1} V=1
     - *setup_interfaces
     - git clone --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.isc.org/isc-private/bind-qa.git
     - git clone --branch "${BIND_BASELINE_VERSION}" --depth 1 https://gitlab.isc.org/isc-projects/bind9.git refserver
     - cd refserver/
-    - ./configure --without-make-clean
+    - *configure
     - make -j${BUILD_PARALLEL_JOBS:-1} V=1
     - cd ../bind-qa/bind9/respdiff
     - bash respdiff.sh -s named -q "${PWD}/100k_mixed.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" "${CI_PROJECT_DIR}/refserver"
@@ -1454,7 +1454,7 @@ respdiff-third-party:
     CFLAGS: "${CFLAGS_COMMON} -Og"
     MAX_DISAGREEMENTS_PERCENTAGE: "0.1"
   script:
-    - ./configure --without-make-clean
+    - *configure
     - make -j${BUILD_PARALLEL_JOBS:-1} V=1
     - *setup_interfaces
     - git clone --depth 1 https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.isc.org/isc-private/bind-qa.git