Commit Graph

24369 Commits

Author SHA1 Message Date
Evan Hunt
292ddceca3 capture more information from unit tests
- preserve kyua results database when using kyua

(cherry picked from commit 81c23fecda)
2018-03-09 14:38:35 -08:00
Evan Hunt
93db8ad693 Merge branch 'v9_9_12_patch' into v9_9 2018-03-08 14:30:46 -08:00
Evan Hunt
d416384e17 Merge branch 'rm-contrib-md' into v9_9 2018-03-08 13:04:08 -08:00
Evan Hunt
bfe9893111 remove doc/dev/contrib.md now that CONTRIBUTING.md exists 2018-03-08 13:03:39 -08:00
Evan Hunt
4eb49c4882 Merge branch 'remove-bind9-bugs-references' into 'v9_9_12_patch'
Update documentation to remove obsolete bind9-bugs@isc.org email address

See merge request isc-projects/bind9!111
v9.9.12
2018-03-08 12:56:13 -08:00
Ondřej Surý
4c3009ff38 Update documentation to remove obsolete bind9-bugs@isc.org email address
(cherry picked from commit efc9bc5d8d)
(cherry picked from commit 486e79050f)
(cherry picked from commit 292d6c8a5b)
(cherry picked from commit 5e88bf24f7)
2018-03-08 12:54:01 -08:00
Evan Hunt
83eaab40fb Merge branch 'remove-bind9-bugs-references' into 'v9_9'
Update documentation to remove obsolete bind9-bugs@isc.org email address

See merge request isc-projects/bind9!111
2018-03-08 10:42:52 -08:00
Ondřej Surý
5e88bf24f7 Update documentation to remove obsolete bind9-bugs@isc.org email address
(cherry picked from commit efc9bc5d8d)
(cherry picked from commit 486e79050f)
(cherry picked from commit 292d6c8a5b)
2018-03-08 10:42:40 -08:00
Mark Andrews
b4fa7575cf Merge branch '133-update-util-check-changes-to-work-on-release-branches-v9_9' into 'v9_9'
Resolve "Update util/check-changes to work on release branches."

Closes #133

See merge request isc-projects/bind9!110
2018-03-08 16:20:53 +11:00
Mark Andrews
ecd0de1441 update util/check-changes to handle non master branched (util/check-changes master=0 CHANGES)
(cherry picked from commit 88a2202093)
2018-03-08 16:20:39 +11:00
Tinderbox User
319525610a Merge branch 'prep-release' into v9_9_12_patch 2018-03-08 01:34:47 +00:00
Tinderbox User
ce8edda72b prep 9.9.12 2018-03-08 01:33:44 +00:00
Evan Hunt
25eddfcfa7 Merge branch 'longopts-v9_9' into 'v9_9'
restore long options for run.sh

See merge request isc-projects/bind9!104
2018-03-07 14:35:45 -08:00
Evan Hunt
e44ce6a1ab restore long options for run.sh
(cherry picked from commit 4a714bffbc)
2018-03-07 14:35:45 -08:00
Evan Hunt
e3b4a843a8 Merge branch 'allow-query' into 'v9_9'
speed up allow_query test

Closes #81

See merge request isc-projects/bind9!76
2018-03-07 14:20:34 -08:00
Evan Hunt
ac91515aa8 eliminate unnecessary waiting in allow-query test
- grep in the log to see if configuration is finished rather
  than sleeping for 5 seconds

(cherry picked from commit a9b6bed6af)
(cherry picked from commit 37a6bb004c)
(cherry picked from commit 2e48caa476)
2018-03-07 14:19:55 -08:00
Evan Hunt
0ed2df43b0 rename allow_query to allow-query
(cherry picked from commit ffc3e73c36)
(cherry picked from commit 5d9e3f9b02)
(cherry picked from commit de6fe7dd83)
2018-03-07 14:19:52 -08:00
Evan Hunt
4092a70a34 Merge branch 'fix-notify' into 'v9_9'
fix notify test

See merge request isc-projects/bind9!77
2018-03-06 11:48:24 -08:00
Evan Hunt
fc1b254b5e address a possible notify test failure
- wait for the transfer completion message to apear in the log instead
  of the notify message. this ensures we don't check for the presense of
  transfered records during the time between the notify and the
  transfer.

(cherry picked from commit ad32553c1d)
(cherry picked from commit dff94add3e)
(cherry picked from commit 5a5e476d00)
2018-03-06 11:48:16 -08:00
Michał Kępień
39595d697e Merge branch '110-libirs-do-not-ignore-resolv.conf-syntax-errors-v9_9' into 'v9_9'
libirs: Do not ignore resolv.conf syntax errors

Closes #110

See merge request isc-projects/bind9!78
2018-03-06 09:25:35 +01:00
Michał Kępień
e61c197a0f Add CHANGES entry
4905.	[bug]		irs_resconf_load() ignored resolv.conf syntax errors
			when "domain" or "search" options were present in that
			file. [GL #110]

(cherry picked from commit 1f18d33804)
2018-03-06 09:25:34 +01:00
Michał Kępień
1ad85ff974 Remove duplicate irs_resconf_load() unit test
The "sortlist-v4.conf" unit test for irs_resconf_load() is always run
twice due to a duplicate entry in the "tests" table.  Remove one of them
to prevent this.

(cherry picked from commit 6c09f305ae)
2018-03-06 09:25:24 +01:00
Michał Kępień
ca7cd80dd5 Do not ignore resolv.conf syntax errors
irs_resconf_load() stores the value returned by add_search() into ret
without consulting its current value first.  This causes any previous
errors raised while parsing resolv.conf to be ignored as long as any
"domain" or "search" statement is present in the file.

Prevent this by returning early in case an error is detected while
parsing resolv.conf.  Ensure that "searchlist" and "magic" members of
the created irs_resconf_t structure are always initialized before
isc_resconf_destroy() is called.

(cherry picked from commit 1f400b68a8)
2018-03-06 09:25:23 +01:00
Tinderbox User
cfc78d797e Merge branch 'prep-release' into v9_9_12_patch 2018-03-02 21:54:14 +00:00
Tinderbox User
7af73b918e prep 9.9.12rc2 2018-03-02 21:53:47 +00:00
Evan Hunt
2206ea1ea6 Merge branch '124-revert-deadlock' into 'v9_9_12_patch'
revert cname loop test due to effects on apex CNAMEs under insecure delegations

See merge request isc-projects/bind9!95
2018-03-02 12:19:32 -08:00
Evan Hunt
ce1114a95a temporarily revert change #4859
(cherry picked from commit 06b52cc939)
2018-03-02 12:18:03 -08:00
Evan Hunt
6bb0246ea3 Merge branch '124-revert-deadlock-check-v9_12-v9_9' into 'v9_9'
revert cname loop test due to effects on apex CNAMEs under insecure delegations

See merge request isc-projects/bind9!95
2018-03-02 12:04:35 -08:00
Evan Hunt
7e2d361355 temporarily revert change #4859
(cherry picked from commit 84ec07999f)
2018-03-02 12:04:33 -08:00
Michał Kępień
d716c008b3 Merge branch 'fix-fetchlimit-v9_9' into 'v9_9'
Improve failure logging in fetchlimit system test

See merge request isc-projects/bind9!81
2018-03-01 15:41:02 +01:00
Evan Hunt
8c0d2127f9 revise soft limit test
- don't bail out of the loop if clients are exceeded, just count incidents
- verbosely describe expectations and results

(cherry picked from commit 86838b2a02)
2018-03-01 15:41:01 +01:00
Michał Kępień
093ef21af6 Merge branch '122-bind-9-10-nsupdate-system-test-fails-v9_9' into 'v9_9'
Fix nsupdate system test for BIND < 9.12

See merge request isc-projects/bind9!89
2018-03-01 13:56:16 +01:00
Mark Andrews
a845283012 remove unsupported command line argument (-4) from nsupdate call
(cherry picked from commit ac3d2a0ed9)
2018-03-01 13:56:16 +01:00
Michał Kępień
2ba13aefd9 Merge branch '121-views-system-test-has-wrong-test-strings-for-reload-completion-v9_9' into 'v9_9'
Resolve "views system test has wrong test strings for reload completion."

Closes #121

See merge request isc-projects/bind9!88
2018-02-28 14:57:19 +01:00
Mark Andrews
83990e9bdc wait for 'all zones loaded' rather than 'reloading zones succeeded' which just indicates that everything kicked off ok
(cherry picked from commit 4cb0873a0a)
2018-02-28 14:57:19 +01:00
Evan Hunt
0e91065b57 Merge branch '113-minor-testsummary.sh-improvements-v9_9' into 'v9_9'
Minor testsummary.sh improvements (handling colored output, failure summary)

Closes #113

See merge request isc-projects/bind9!80
2018-02-27 10:04:37 -08:00
Evan Hunt
be98afaecf Do not destroy systests.output if there are no test.output files
(cherry picked from commit 38940619c6)
2018-02-27 10:04:37 -08:00
Michał Kępień
d241bf9d4c Use echoinfo for printing test summary
This ensures testsummary.sh is consistent with other scripts belonging
to the test framework.

(cherry picked from commit 642e20db8a)
2018-02-27 10:04:37 -08:00
Michał Kępień
b18292a208 Make testsummary.sh print a list of failed system tests
Print a list of failed system tests, if any, below the system test
summary to avoid the need to manually search through the test log.

(cherry picked from commit 28068857e7)
2018-02-27 10:04:36 -08:00
Michał Kępień
1709486103 Tweak the regular expression used for extracting system test results
The current regular expression used for extracting system test results
from systests.output, "^R:", is anchored at the start of a line, which
prevents colored system test output from being properly processed.  As
just "R:" would arguably be too general, extend the pattern a bit to
ensure it will only match lines containing system test results.

(cherry picked from commit 9006d6dbbd)
2018-02-27 10:04:36 -08:00
Evan Hunt
91725c199f Merge branch 'test-output-v9_11-v9_10-v9_9' into 'v9_9'
Clean up test output

See merge request isc-projects/bind9!66
2018-02-27 10:03:23 -08:00
Evan Hunt
92c9e7c045 clean up test output
- removed a few remaing places where output wasn't being passed
  through echo_i or cat_i
- added a "digcomp" function to conf.sh.in to send digcomp.pl output
  through cat_i and return the correct exit value
- set SYSTESTDIR when calling echo_i from nsX directories, so that
  the test name will always be printed correctly
- fixed a test name typo in conf.sh.in

(cherry picked from commit 0e52fbd0b3)
(cherry picked from commit d57e8f6df3)
(cherry picked from commit 053c06d5e1)
2018-02-27 10:03:21 -08:00
Michał Kępień
56cb381518 Merge branch '98-add-util-git-replay-merge.sh-v9_9' into 'v9_9'
Put git-replay-merge in source tree

Closes #98

See merge request isc-projects/bind9!83
2018-02-27 10:45:08 +01:00
Michał Kępień
9063b31f49 Add util/git-replay-merge.sh
git-replay-merge.sh is a script whose purpose is to make backporting
merge requests more convenient by automating the process as much as
possible.

For more information, including usage examples, see:

    https://gitlab.isc.org/isc-projects/bind9/wikis/Backporting-a-Merge-Request

(cherry picked from commit f7fe1e3098)
2018-02-27 10:45:08 +01:00
Evan Hunt
4cb037a6e2 Merge branch '112-fix-mx-checks-for-dynamic-updates-v9_9' into 'v9_9'
Fix MX checks for dynamic updates

Closes #112

See merge request isc-projects/bind9!79
2018-02-26 15:20:49 -08:00
Michał Kępień
309e2aebae Add CHANGES entry
4903.	[bug]		"check-mx fail;" did not prevent MX records containing
			IP addresses from being added to a zone by a dynamic
			update. [GL #112]

(cherry picked from commit 1d403f9d3c)
2018-02-26 15:20:26 -08:00
Michał Kępień
d86a7dbe69 Fix MX checks for dynamic updates
The check_mx() function in lib/ns/update.c incorrectly tests whether the
DNS_RDATA_CHECKMX/DNS_RDATA_CHECKMXFAIL flags are set for each applied
MX record update as these flags are never set in code paths related to
dynamic updates; they can only be set when loading a zone from a master
file (DNS_ZONEOPT_CHECKMX -> DNS_MASTER_CHECKMX -> DNS_RDATA_CHECKMX).
This flaw allows MX records containing IP addresses to be added to a
zone even when "check-mx fail;" is used.

Ensure correct behavior by modifying the relevant tests in check_mx() so
that they use DNS_ZONEOPT_CHECKMX/DNS_ZONEOPT_CHECKMXFAIL instead.

(cherry picked from commit 857a40c87b)
2018-02-26 15:20:06 -08:00
Evan Hunt
cdf3f823bb Merge branch 'check-for-test-interfaces-before-running-system-tests-v9_9' into 'v9_9'
Check for test interfaces before running system tests

See merge request isc-projects/bind9!19
2018-02-26 15:10:40 -08:00
Evan Hunt
699fffc34f test interfaces directly in runall.sh and parallel.mk
(cherry picked from commit a8b583e78b)
2018-02-26 15:10:40 -08:00
Michał Kępień
98b3b5bba7 Check for test interfaces before running system tests
Prevent runall.sh and "make test" from even attempting to run system
tests when "ifconfig.sh up" has not been run beforehand.  This ensures
the user is not flooded with error messages in such a case.

(cherry picked from commit e0221f2d25)
2018-02-26 15:10:40 -08:00