2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

Merge branch '4649-work-around-a-tsan-issue-with-newer-kernels' into 'main'

Work around a TSAN issue with newer kernels

Closes #4649

See merge request isc-projects/bind9!8893
This commit is contained in:
Petr Špaček 2024-03-21 07:59:46 +00:00
commit 225d986cdf

View File

@ -308,6 +308,7 @@ stages:
<<: *default_triggering_rules
stage: build
before_script:
- sysctl vm.mmap_rnd_bits=28 || true # https://gitlab.isc.org/isc-projects/bind9/-/issues/4649
- test -w "${CCACHE_DIR}" && export PATH="/usr/lib/ccache:${PATH}"
- test -n "${OUT_OF_TREE_WORKSPACE}" && mkdir "${OUT_OF_TREE_WORKSPACE}" && cd "${OUT_OF_TREE_WORKSPACE}"
script:
@ -366,6 +367,7 @@ stages:
<<: *default_triggering_rules
stage: system
before_script:
- sysctl vm.mmap_rnd_bits=28 || true # https://gitlab.isc.org/isc-projects/bind9/-/issues/4649
- test -n "${OUT_OF_TREE_WORKSPACE}" && cp -r bin/tests/system/* "${OUT_OF_TREE_WORKSPACE}/bin/tests/system/" && cd "${OUT_OF_TREE_WORKSPACE}"
- *setup_interfaces
script:
@ -427,6 +429,7 @@ stages:
<<: *default_triggering_rules
stage: unit
before_script:
- sysctl vm.mmap_rnd_bits=28 || true # https://gitlab.isc.org/isc-projects/bind9/-/issues/4649
- test -n "${OUT_OF_TREE_WORKSPACE}" && cd "${OUT_OF_TREE_WORKSPACE}"
script:
- make -j${TEST_PARALLEL_JOBS:-1} -k unit V=1
@ -475,6 +478,7 @@ stages:
.respdiff: &respdiff_job
stage: system
before_script:
- sysctl vm.mmap_rnd_bits=28 || true # https://gitlab.isc.org/isc-projects/bind9/-/issues/4649
- autoreconf -fi
- *configure
- make -j${BUILD_PARALLEL_JOBS:-1} V=1