Stephen Morris
58de0adbf6
[rt46602] Allow catz system test to run in parallel with other tests
...
(cherry picked from commit 07341693e1 )
2018-02-22 11:11:12 +00:00
Stephen Morris
01eb4d7c97
[rt46602] Miscellaneous changes to existing parallelised tests
...
Currently these tests are allow_query, rpzrecurse and serve-stale
1. Function to copy files and set port numbers renamed from copy_config
to copy_setports, as this is used to change the ports in Perl and Python
test scripts as well.
2. Changes to rpzrecurse/tests.sh to handle two calls to getopts (one to
parse port numbers, the other to parse rpzrecurse-specific options). Also
fixed various commands to use correct ports.
3. Updates to "clean.sh" scripts to ensure that all files created in the
test are removed.
(cherry picked from commit 78f2b9ca01 )
2018-02-22 11:11:00 +00:00
Stephen Morris
4f68e67e5c
[rt46602] Ensure that tests running in parallel use unique ports
...
Via an intermediate make file, tests that have been modified to be able
to run in parallel are assigned unique query and control port numbers
(other than 5300 and 9953 respectively). Tests that have not yet been
modified all use ports 5300 and 9953, so must be run sequentially.
(cherry picked from commit e7429b124b )
2018-02-22 11:09:59 +00:00
Stephen Morris
ba694ca38c
[rt46602] Miscellaneous tidying up of code cherry-picked from experimental branch
...
(cherry picked from commit e1a69e5d1f )
2018-02-22 11:08:42 +00:00
Ondřej Surý and Stephen Morris
a14bd48268
[rt46602] Allow parallel run of new dynamic port tests and the old ones
...
(cherry picked from commit 3b14d54fd7 )
2018-02-22 11:08:05 +00:00
Ondřej Surý and Stephen Morris
cf7a86661a
[rt46602] Put back original .gitignore files in the system tests
...
(cherry picked from commit caaec1ef6d )
2018-02-22 11:08:05 +00:00
Ondřej Surý and Stephen Morris
c5aa6ed87b
[rt46602] Adjust rpzrecurse for dynamic port usage
...
Resolve conflict in run.sh during cherry-pick from an experimental branch.
(cherry picked from commit 2a435708e4 )
2018-02-22 11:07:30 +00:00
Ondřej Surý and Stephen Morris
d37a52cc56
[rt46602] Add $SEDPORTS variable to help with @PORT@ and @CONTROLPORT@ replacement
...
(cherry picked from commit e6802badc0 )
2018-02-22 11:02:14 +00:00
Ondřej Surý and Stephen Morris
a5c3077a9c
[rt46602] Move most of ignored files to top of system tests directory
...
(cherry picked from commit d2c8286163 )
2018-02-22 11:01:35 +00:00
Ondřej Surý and Stephen Morris
112355adb8
[rt46602] Fix output from rndc reload
...
(cherry picked from commit 53bade5ece )
2018-02-22 11:01:35 +00:00
Ondřej Surý and Stephen Morris
76dfb5c339
[rt46602] Add .gitignore to allow_query
...
(cherry picked from commit bc276f6c05 )
2018-02-22 11:01:35 +00:00
Ondřej Surý and Stephen Morris
93034acb4d
[rt46602] Utilize echo_i to allow mixed test output
...
(cherry picked from commit 7e3c96c867 )
2018-02-22 11:01:29 +00:00
Ondřej Surý and Stephen Morris
b8e866d60f
[rt46602] Prefix R:<result> as R:<test>:<result>
...
Resolve conflict in run.sh during cherry-pick from experimental branch.
(cherry picked from commit 278c72fef6 )
2018-02-22 11:01:08 +00:00
Ondřej Surý and Stephen Morris
bd5b36f7a4
[rt46602] Add echo_i function to print I:<testname>:string
...
(cherry picked from commit f7ac41757a )
2018-02-22 11:01:08 +00:00
Ondřej Surý and Stephen Morris
57adb949a4
[rt46602] Add serve-stale working files to .gitignore
...
(cherry picked from commit cba162e70e )
2018-02-22 11:01:07 +00:00
Ondřej Surý and Stephen Morris
1d10178e83
[rt46602] Convert allow_query to dynamic port
...
(cherry picked from commit 992a2bafec )
2018-02-22 11:01:01 +00:00
Ondřej Surý and Stephen Morris
0ee883d443
[rt46602] Change the system tests script to support running individual tests on different ports
...
Resolved conflict in run.sh.
(cherry picked from commit fb00f18005 )
2018-02-22 10:58:33 +00:00
Mark Andrews
e0c9b5bd2b
check that sed selects a non zero range of lines
...
(cherry picked from commit 146c16c06e )
2018-02-22 12:37:27 +11:00
Mark Andrews
ea29bec179
Merge branch '67-stabilize-cacheclean-system-test' into 'master'
...
Stabilize cacheclean system test
Closes #67
See merge request isc-projects/bind9!43
(cherry picked from commit 643c8c27ff )
01de79b3 Assign an index to each check in the cacheclean system test
aeea1faf Do not overwrite cache dumps
2bbff06d Wait until a cache dump completes instead of waiting for a fixed amount of time
ca1049b2 Improve the way cache contents are searched for "ns.flushtest.example"
2018-02-20 16:08:59 -05:00
Evan Hunt
079165bae3
[v9_11] copyrights
2018-02-10 16:31:54 -08:00
Mark Andrews
c8b2cbe1e0
check warning text
...
(cherry picked from commit c6cd108838 )
2018-02-09 14:05:14 +11:00
Mark Andrews
b071744673
get the correct test file
...
(cherry picked from commit ae09500989 )
2018-02-09 13:57:43 +11:00
Evan Hunt
e96cce6c7a
[v9_11] fix test error
2018-02-08 18:46:01 -08:00
Mark Andrews
30ca20f720
4889. [func] Warn about the use of old root keys without the new
...
root key being present. Warn about dlv.isc.org's
key being present. Warn about both managed and
trusted root keys being present. [RT #43670 ]
(cherry picked from commit baef0ca988 )
2018-02-09 12:33:42 +11:00
Tinderbox User
fccc836ebf
update copyright notice / whitespace
2018-02-07 23:48:20 +00:00
Mark Andrews
8f1ed05dc0
4885. [security] update-policy rules that otherwise ignore the name
...
field now require that it be set to "." to ensure
that any type list present is properly interpreted.
[RT #47126 ]
(cherry picked from commit ec771bbdc8 )
2018-02-07 13:50:00 +11:00
Tinderbox User
93ca8abdf8
update copyright notice / whitespace
2018-01-22 23:47:25 +00:00
Mukund Sivaraman
6fb3db01ac
Don't permit loading meta RR types such as TKEY from master files ( #47009 )
...
(cherry picked from commit 8a4ce20172 )
(cherry picked from commit c8eb726046 )
2018-01-22 14:36:18 +05:30
Tinderbox User
2927284144
update copyright notice / whitespace
2018-01-15 23:47:32 +00:00
Michał Kępień
e526027287
[v9_11] Ensure all master definitions in a catalog zone contain an IP address
...
4864. [bug] named acting as a slave for a catalog zone crashed if
the latter contained a master definition without an IP
address. [RT #45999 ]
(cherry picked from commit ae51a676c9 )
2018-01-15 20:52:54 +01:00
Tinderbox User
a853d87fc4
update copyright notice / whitespace
2018-01-13 23:48:14 +00:00
Mark Andrews
14d7dfd77e
ret was not being set to 1 on dig error. [RT #46990 ]
...
(cherry picked from commit 69c4c987f6 )
2018-01-13 13:16:33 +11:00
Tinderbox User
d2017ba188
update copyright notice / whitespace
2018-01-03 23:46:13 +00:00
Mark Andrews
adfe58e8e5
4856. [bug] 'rndc zonestatus' reported the wrong underlying type
...
for a inline slave zone. [RT #46875 ]
(cherry picked from commit 0b27aa0712 )
2018-01-04 10:12:15 +11:00
Mark Andrews
455265a147
wait for status: line to be readable, before checking status
...
(cherry picked from commit 4674127443 )
2018-01-03 13:56:42 +11:00
Mark Andrews
c0a2210466
4850. [bug] Named failed to restart with multiple added zones in
...
lmdb database. [RT #46889 ]
(cherry picked from commit 9bec7facfb )
2017-12-27 16:26:32 +11:00
Tinderbox User
ebc438edb1
update copyright notice / whitespace
2017-12-22 23:46:35 +00:00
Mark Andrews
b498959ce2
properly test for yaml
2017-12-22 21:54:18 +11:00
Mark Andrews
b089df4f84
save why ydump.py failed
...
(cherry picked from commit f5d429e7c3 )
2017-12-22 16:03:47 +11:00
Tinderbox User
2b9f526504
update copyright notice / whitespace
2017-12-20 23:47:04 +00:00
Mark Andrews
534057c9f9
4849. [bug] Duplicate zones could appear in the .nzf file if
...
addzone failed. [RT #46435 ]
(cherry picked from commit 2d7f89b9c7 )
(cherry picked from commit 22a32060c1 )
2017-12-20 17:16:49 +11:00
Mark Andrews
0f14b04132
4846. [test] Adjust timing values in runtime system test. Address
...
named.pid removal races in runtime system test.
[RT #46800 ]
(cherry picked from commit c67180f09b )
2017-12-13 10:26:58 +11:00
Mark Andrews
897d49e929
increment test number
...
(cherry picked from commit e5c2cfdbf9 )
2017-12-08 14:50:46 +11:00
Mark Andrews
a5a1cbece4
4841. [bug] Address -fsanitize=undefined warnings. [RT #46786 ]
...
(cherry picked from commit 9d5a0abe81 )
2017-12-06 21:02:24 +11:00
Mark Andrews
0d6328ce5f
4840. [test] Add tests to cover fallback to using ZSK on inactive
...
KSK. [RT #46787 ]
(cherry picked from commit 32d09cd7e0 )
2017-12-06 20:38:26 +11:00
Curtis Blackburn
e5f0db4734
clarify "stage 1" and "stage 2" in autosign test
2017-12-05 10:03:23 -08:00
Mark Andrews
15057131d5
set the DNSKEY deletion time to now+5 once we got all the zones into their initial state
...
(cherry picked from commit ecafa2ae50 )
2017-12-05 21:42:38 +11:00
Mark Andrews
7f31784c52
use 9.11 and earlier syntax for dnssec-keygen
2017-12-05 20:43:15 +11:00
Mark Andrews
e01ef6f01c
4839. [bug] zone.c:zone_sign was not properly determining
...
if there were active KSK and ZSK keys for
a algorithm when update-check-ksk is true
(default) leaving records unsigned with one or
more DNSKEY algorithms. [RT #46774 ]
(cherry picked from commit 00f5ea91cf )
2017-12-05 16:11:53 +11:00
Evan Hunt
95d40c1e9d
[v9_11] fix test descriptions
2017-12-04 15:49:13 -08:00