mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 05:28:00 +00:00
Merge branch 'michal/limit-logging-for-verbose-system-tests' into 'main'
Limit logging for verbose system tests See merge request isc-projects/bind9!4812
This commit is contained in:
commit
7c7b97b916
1
bin/tests/system/cacheclean/ns1/named.args
Normal file
1
bin/tests/system/cacheclean/ns1/named.args
Normal file
@ -0,0 +1 @@
|
||||
-m record,size,mctx -c named.conf -d 1 -D cacheclean-ns1 -X named.lock -g -T maxcachesize=2097152
|
1
bin/tests/system/cacheclean/ns2/named.args
Normal file
1
bin/tests/system/cacheclean/ns2/named.args
Normal file
@ -0,0 +1 @@
|
||||
-m record,size,mctx -c named.conf -d 3 -D cacheclean-ns2 -X named.lock -g -T maxcachesize=2097152
|
1
bin/tests/system/fetchlimit/ns3/named.args
Normal file
1
bin/tests/system/fetchlimit/ns3/named.args
Normal file
@ -0,0 +1 @@
|
||||
-m record,size,mctx -c named.conf -d 1 -D fetchlimit-ns3 -X named.lock -g -T maxcachesize=2097152
|
@ -321,6 +321,11 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
NAMED_RUN_LINES_THRESHOLD=200000
|
||||
find "${systest}" -type f -name "named.run" -exec wc -l {} \; | awk "\$1 > ${NAMED_RUN_LINES_THRESHOLD} { print \$2 }" | sort | while read -r LOG_FILE; do
|
||||
echowarn "I:${systest}:${LOG_FILE} contains more than ${NAMED_RUN_LINES_THRESHOLD} lines, consider tweaking the test to limit disk I/O"
|
||||
done
|
||||
|
||||
echoend "E:$systest:$(date_with_args)"
|
||||
|
||||
exit $status
|
||||
|
@ -183,9 +183,15 @@ grep "status: NXDOMAIN" dig.out.test$n > /dev/null || ret=1
|
||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
status=$((status + ret))
|
||||
|
||||
####################################################
|
||||
# NOTE: The next test resets the debug level to 1. #
|
||||
####################################################
|
||||
|
||||
n=$((n + 1))
|
||||
echo_i "checking that BIND 9 doesn't crash on long TCP messages ($n)"
|
||||
ret=0
|
||||
# Avoid logging useless information.
|
||||
rndccmd 10.53.0.1 trace 1 || ret=1
|
||||
{ $PERL ../packet.pl -a "10.53.0.1" -p "${PORT}" -t tcp -r 300000 1996-alloc_dnsbuf-crash-test.pkt || ret=1 ; } | cat_i
|
||||
dig_with_opts +tcp @10.53.0.1 txt.example > dig.out.test$n || ret=1
|
||||
if [ $ret != 0 ]; then echo_i "failed"; fi
|
||||
|
1
bin/tests/system/timeouts/ns1/named.args
Normal file
1
bin/tests/system/timeouts/ns1/named.args
Normal file
@ -0,0 +1 @@
|
||||
-m record,size,mctx -c named.conf -d 1 -D timeouts-ns1 -X named.lock -g -T maxcachesize=2097152
|
1
bin/tests/system/zero/ns2/named.args
Normal file
1
bin/tests/system/zero/ns2/named.args
Normal file
@ -0,0 +1 @@
|
||||
-m record,size,mctx -c named.conf -d 1 -D zero-ns2 -X named.lock -g -T maxcachesize=2097152
|
1
bin/tests/system/zero/ns3/named.args
Normal file
1
bin/tests/system/zero/ns3/named.args
Normal file
@ -0,0 +1 @@
|
||||
-m record,size,mctx -c named.conf -d 1 -D zero-ns3 -X named.lock -g -T maxcachesize=2097152
|
1
bin/tests/system/zero/ns4/named.args
Normal file
1
bin/tests/system/zero/ns4/named.args
Normal file
@ -0,0 +1 @@
|
||||
-m record,size,mctx -c named.conf -d 1 -D zero-ns4 -X named.lock -g -T maxcachesize=2097152
|
@ -246,6 +246,8 @@
|
||||
./bin/tests/system/cacheclean/clean.sh SH 2001,2004,2007,2011,2012,2014,2015,2016,2018,2019,2020,2021
|
||||
./bin/tests/system/cacheclean/dig.batch X 2001,2018,2019,2020,2021
|
||||
./bin/tests/system/cacheclean/knowngood.dig.out X 2001,2018,2019,2020,2021
|
||||
./bin/tests/system/cacheclean/ns1/named.args X 2021
|
||||
./bin/tests/system/cacheclean/ns2/named.args X 2021
|
||||
./bin/tests/system/cacheclean/setup.sh SH 2018,2019,2020,2021
|
||||
./bin/tests/system/cacheclean/tests.sh SH 2001,2004,2007,2011,2012,2013,2014,2016,2018,2019,2020,2021
|
||||
./bin/tests/system/case/clean.sh SH 2013,2014,2015,2016,2018,2019,2020,2021
|
||||
@ -447,6 +449,7 @@
|
||||
./bin/tests/system/feature-test.c C 2016,2017,2018,2019,2020,2021
|
||||
./bin/tests/system/fetchlimit/ans4/ans.pl PERL 2019,2020,2021
|
||||
./bin/tests/system/fetchlimit/clean.sh SH 2015,2016,2018,2019,2020,2021
|
||||
./bin/tests/system/fetchlimit/ns3/named.args X 2021
|
||||
./bin/tests/system/fetchlimit/setup.sh SH 2015,2016,2018,2019,2020,2021
|
||||
./bin/tests/system/fetchlimit/tests.sh SH 2015,2016,2018,2019,2020,2021
|
||||
./bin/tests/system/filter-aaaa/clean.sh SH 2010,2012,2014,2016,2018,2019,2020,2021
|
||||
@ -904,6 +907,7 @@
|
||||
./bin/tests/system/testsummary.sh SH 2018,2019,2020,2021
|
||||
./bin/tests/system/timeouts/clean.sh SH 2021
|
||||
./bin/tests/system/timeouts/conftest.py PYTHON 2021
|
||||
./bin/tests/system/timeouts/ns1/named.args X 2021
|
||||
./bin/tests/system/timeouts/prereq.sh SH 2021
|
||||
./bin/tests/system/timeouts/setup.sh SH 2021
|
||||
./bin/tests/system/timeouts/tests-tcp.py PYTHON-BIN 2021
|
||||
@ -1010,6 +1014,9 @@
|
||||
./bin/tests/system/xferquota/tests.sh SH 2000,2001,2004,2007,2012,2016,2018,2019,2020,2021
|
||||
./bin/tests/system/zero/ans5/ans.pl PERL 2016,2018,2019,2020,2021
|
||||
./bin/tests/system/zero/clean.sh SH 2013,2014,2015,2016,2018,2019,2020,2021
|
||||
./bin/tests/system/zero/ns2/named.args X 2021
|
||||
./bin/tests/system/zero/ns3/named.args X 2021
|
||||
./bin/tests/system/zero/ns4/named.args X 2021
|
||||
./bin/tests/system/zero/setup.sh SH 2013,2014,2016,2018,2019,2020,2021
|
||||
./bin/tests/system/zero/tests.sh SH 2013,2016,2017,2018,2019,2020,2021
|
||||
./bin/tests/system/zonechecks/clean.sh SH 2004,2007,2012,2014,2015,2016,2018,2019,2020,2021
|
||||
|
Loading…
x
Reference in New Issue
Block a user