mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Add ASAN- and TSAN-enabled respdiff jobs
Neither of the new CI jobs can reliably pass at the moment; hence they are defined with "allow_failure: true" until issues in the code base are resolved.
This commit is contained in:
@@ -1258,6 +1258,36 @@ respdiff-short:
|
|||||||
script:
|
script:
|
||||||
- bash respdiff.sh -m /usr/lib/x86_64-linux-gnu/libjemalloc.so.2 -s named -q "${PWD}/10k_a.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" "/usr/local/respdiff-reference-bind/sbin/named"
|
- bash respdiff.sh -m /usr/lib/x86_64-linux-gnu/libjemalloc.so.2 -s named -q "${PWD}/10k_a.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" "/usr/local/respdiff-reference-bind/sbin/named"
|
||||||
|
|
||||||
|
respdiff-short:asan:
|
||||||
|
<<: *respdiff_job
|
||||||
|
<<: *default_triggering_rules
|
||||||
|
variables:
|
||||||
|
CC: gcc
|
||||||
|
CFLAGS: "${CFLAGS_COMMON} -Og -fsanitize=address,undefined"
|
||||||
|
LDFLAGS: "-fsanitize=address,undefined"
|
||||||
|
EXTRA_CONFIGURE: "--without-jemalloc"
|
||||||
|
MAX_DISAGREEMENTS_PERCENTAGE: "0.5"
|
||||||
|
script:
|
||||||
|
- bash respdiff.sh -s named -q "${PWD}/10k_a.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" "/usr/local/respdiff-reference-bind/sbin/named"
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
respdiff-short:tsan:
|
||||||
|
<<: *respdiff_job
|
||||||
|
<<: *default_triggering_rules
|
||||||
|
variables:
|
||||||
|
CC: gcc
|
||||||
|
CFLAGS: "${CFLAGS_COMMON} -Og -fsanitize=thread"
|
||||||
|
LDFLAGS: "-fsanitize=thread"
|
||||||
|
EXTRA_CONFIGURE: "--enable-pthread-rwlock --without-jemalloc"
|
||||||
|
MAX_DISAGREEMENTS_PERCENTAGE: "0.5"
|
||||||
|
TSAN_OPTIONS: "${TSAN_OPTIONS_COMMON} external_symbolizer_path=/usr/bin/llvm-symbolizer"
|
||||||
|
script:
|
||||||
|
- bash respdiff.sh -s named -q "${PWD}/10k_a.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" "/usr/local/respdiff-reference-bind/sbin/named"
|
||||||
|
after_script:
|
||||||
|
- *find_python
|
||||||
|
- *parse_tsan
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
respdiff-long:
|
respdiff-long:
|
||||||
<<: *respdiff_job
|
<<: *respdiff_job
|
||||||
<<: *api_schedules_tags_triggers_web_triggering_rules
|
<<: *api_schedules_tags_triggers_web_triggering_rules
|
||||||
@@ -1268,6 +1298,36 @@ respdiff-long:
|
|||||||
script:
|
script:
|
||||||
- bash respdiff.sh -m /usr/lib/x86_64-linux-gnu/libjemalloc.so.2 -s named -q "${PWD}/100k_mixed.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" "/usr/local/respdiff-reference-bind/sbin/named"
|
- bash respdiff.sh -m /usr/lib/x86_64-linux-gnu/libjemalloc.so.2 -s named -q "${PWD}/100k_mixed.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" "/usr/local/respdiff-reference-bind/sbin/named"
|
||||||
|
|
||||||
|
respdiff-long:asan:
|
||||||
|
<<: *respdiff_job
|
||||||
|
<<: *api_schedules_tags_triggers_web_triggering_rules
|
||||||
|
variables:
|
||||||
|
CC: gcc
|
||||||
|
CFLAGS: "${CFLAGS_COMMON} -Og -fsanitize=address,undefined"
|
||||||
|
LDFLAGS: "-fsanitize=address,undefined"
|
||||||
|
EXTRA_CONFIGURE: "--without-jemalloc"
|
||||||
|
MAX_DISAGREEMENTS_PERCENTAGE: "0.5"
|
||||||
|
script:
|
||||||
|
- bash respdiff.sh -s named -q "${PWD}/100k_mixed.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" "/usr/local/respdiff-reference-bind/sbin/named"
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
|
respdiff-long:tsan:
|
||||||
|
<<: *respdiff_job
|
||||||
|
<<: *api_schedules_tags_triggers_web_triggering_rules
|
||||||
|
variables:
|
||||||
|
CC: gcc
|
||||||
|
CFLAGS: "${CFLAGS_COMMON} -Og -fsanitize=thread"
|
||||||
|
LDFLAGS: "-fsanitize=thread"
|
||||||
|
EXTRA_CONFIGURE: "--enable-pthread-rwlock --without-jemalloc"
|
||||||
|
MAX_DISAGREEMENTS_PERCENTAGE: "0.5"
|
||||||
|
TSAN_OPTIONS: "${TSAN_OPTIONS_COMMON} external_symbolizer_path=/usr/bin/llvm-symbolizer"
|
||||||
|
script:
|
||||||
|
- bash respdiff.sh -s named -q "${PWD}/100k_mixed.txt" -c 3 -w "${PWD}/rspworkdir" "${CI_PROJECT_DIR}" "/usr/local/respdiff-reference-bind/sbin/named"
|
||||||
|
after_script:
|
||||||
|
- *find_python
|
||||||
|
- *parse_tsan
|
||||||
|
allow_failure: true
|
||||||
|
|
||||||
respdiff-long-third-party:
|
respdiff-long-third-party:
|
||||||
<<: *respdiff_job
|
<<: *respdiff_job
|
||||||
<<: *api_schedules_tags_triggers_web_triggering_rules
|
<<: *api_schedules_tags_triggers_web_triggering_rules
|
||||||
|
Reference in New Issue
Block a user