Commit Graph
25394 Commits
Author SHA1 Message Date
Evan Hunt 9f5cfe6b59 remove doc/dev/contrib.md now that CONTRIBUTING.md exists 2018-03-08 13:03:02 -08:00
Evan Hunt 4a499ed4c5 Merge branch 'remove-bind9-bugs-references' into 'v9_10'
Update documentation to remove obsolete bind9-bugs@isc.org email address

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

Closes #133

See merge request isc-projects/bind9!110
2018-03-08 16:19:50 +11:00
Mark Andrews ca99202a0c update util/check-changes to handle non master branched (util/check-changes master=0 CHANGES)
(cherry picked from commit 88a2202093)
2018-03-08 16:19:49 +11:00
Mark Andrews 35c5c59697 fix changes number
(cherry picked from commit 586b547a7d)
2018-03-08 12:41:31 +11:00
Mark Andrews 0dccde81b4 Merge branch '125-in-view-duplicate-zone-not-detected-by-named-checkconf-v9_11-v9_10' into 'v9_10'
Resolve "in-view duplicate zone not detected by named-checkconf"

Closes #125

See merge request isc-projects/bind9!97
2018-03-08 12:33:43 +11:00
Mark Andrews 36e64a2483 add changes note for 'named-checkconf did not detect in-view zone collisions'
(cherry picked from commit 83f85817aa)
(cherry picked from commit 8843c936bb)
2018-03-08 12:33:09 +11:00
Mark Andrews 6c70c71553 check for in-view zones colliding with other zone definitions; also check the syntax of the in-view zone name
(cherry picked from commit 3e7e280040)
(cherry picked from commit 229e9e2215)
2018-03-08 12:32:52 +11:00
Mark Andrews 1e579cfbed add test configuration where a in-view zone collides with a existing zone
(cherry picked from commit ca55c672b0)
(cherry picked from commit cb0a385692)
2018-03-08 12:21:54 +11:00
Evan Hunt 665cb1afc8 Merge branch 'test-names-v9_10' into 'v9_10'
use the test name in the -D string for each name server

See merge request isc-projects/bind9!107
2018-03-07 14:51:43 -08:00
Evan Hunt 20985b5f09 use the test name in the -D string for each name server
(cherry picked from commit 1eff695f33)
2018-03-07 14:51:39 -08:00
Evan Hunt b7f3653ae7 Merge branch 'longopts-v9_10' into 'v9_10'
restore long options for run.sh

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

Closes #81

See merge request isc-projects/bind9!76
2018-03-07 14:20:25 -08:00
Evan Hunt 2e48caa476 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)
2018-03-07 14:17:21 -08:00
Evan Hunt de6fe7dd83 rename allow_query to allow-query
(cherry picked from commit ffc3e73c36)
(cherry picked from commit 5d9e3f9b02)
2018-03-07 14:15:19 -08:00
Evan Hunt b79013c172 Merge branch 'fix-notify' into 'v9_10'
fix notify test

See merge request isc-projects/bind9!77
2018-03-06 11:47:36 -08:00
Evan Hunt 5a5e476d00 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)
2018-03-06 11:47:27 -08:00
Michał Kępień 0da5afa96f Merge branch '110-libirs-do-not-ignore-resolv.conf-syntax-errors-v9_10' into 'v9_10'
libirs: Do not ignore resolv.conf syntax errors

Closes #110

See merge request isc-projects/bind9!78
2018-03-06 09:25:12 +01:00
Michał Kępień b4ce219f3a 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:11 +01:00
Michał Kępień b05a048a33 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:02 +01:00
Michał Kępień ea04e0583c 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:02 +01:00
Evan Hunt 340c4d1753 Merge branch 'test-fix' into v9_10
Fixed merge errors in dlzredir test
2018-03-04 00:53:13 -08:00
Evan Hunt 8aff9f4010 fix dlzredir merge errors 2018-03-04 00:53:00 -08:00
Evan Hunt 61fe94536c Merge branch '124-revert-deadlock-check-v9_12-v9_10' into 'v9_10'
revert cname loop test due to effects on apex CNAMEs under insecure delegations

See merge request isc-projects/bind9!95
2018-03-02 12:03:52 -08:00
Evan Hunt 9c6d288f27 temporarily revert change #4859
(cherry picked from commit 84ec07999f)
2018-03-02 12:03:50 -08:00
Michał Kępień c9c41d994f Merge branch 'fix-fetchlimit-v9_10' into 'v9_10'
Improve failure logging in fetchlimit system test

See merge request isc-projects/bind9!81
2018-03-01 15:40:59 +01:00
Evan HuntandMichał Kępień 4981c0e1f2 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:40:59 +01:00
Michał Kępień cd2ecff0fe Merge branch '118-bind-9-10-cookie-system-test-failing' into 'v9_10'
Fix cookie system test for BIND 9.10

See merge request isc-projects/bind9!84
2018-03-01 08:14:25 -05:00
Mark AndrewsandMichał Kępień 023e102b15 fix merge error 2018-03-01 08:11:46 -05:00
Mark AndrewsandMichał Kępień d4040783f4 remove unnecessary copy_setports calls 2018-03-01 08:11:46 -05:00
Michał Kępień 4aec51e16f Merge branch '122-bind-9-10-nsupdate-system-test-fails' into 'v9_10'
Fix nsupdate system test for BIND < 9.12

See merge request isc-projects/bind9!89
2018-03-01 07:54:51 -05:00
Mark Andrews ac3d2a0ed9 remove unsupported command line argument (-4) from nsupdate call 2018-03-01 16:44:03 +11:00
Michał Kępień 6d0e5b6c25 Merge branch '121-views-system-test-has-wrong-test-strings-for-reload-completion-v9_10' into 'v9_10'
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:00 +01:00
Mark AndrewsandMichał Kępień 9593db28f5 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:00 +01:00
Evan Hunt 35117c1901 Merge branch '113-minor-testsummary.sh-improvements-v9_10' into 'v9_10'
Minor testsummary.sh improvements (handling colored output, failure summary)

Closes #113

See merge request isc-projects/bind9!80
2018-02-27 10:04:30 -08:00
Evan Hunt fd272bf484 Do not destroy systests.output if there are no test.output files
(cherry picked from commit 38940619c6)
2018-02-27 10:04:30 -08:00
Michał KępieńandEvan Hunt 4f66941329 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:29 -08:00
Michał KępieńandEvan Hunt 45692d0d9a 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:29 -08:00
Michał KępieńandEvan Hunt 0f82bd587d 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:29 -08:00
Evan Hunt b433186859 Merge branch 'test-output-v9_11-v9_10' into 'v9_10'
Clean up test output

See merge request isc-projects/bind9!66
2018-02-27 09:55:50 -08:00
Evan Hunt 053c06d5e1 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)
2018-02-27 09:55:47 -08:00
Michał Kępień 96a084aa8e Merge branch '98-add-util-git-replay-merge.sh-v9_10' into 'v9_10'
Put git-replay-merge in source tree

Closes #98

See merge request isc-projects/bind9!83
2018-02-27 10:44:44 +01:00
Michał Kępień 96e3f20215 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:44:44 +01:00
Evan Hunt edb12c1612 Merge branch '112-fix-mx-checks-for-dynamic-updates-v9_10' into 'v9_10'
Fix MX checks for dynamic updates

Closes #112

See merge request isc-projects/bind9!79
2018-02-26 15:19:52 -08:00
Michał KępieńandEvan Hunt 54bf5ba5d7 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:19:30 -08:00
Michał KępieńandEvan Hunt b33ce85730 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:19:03 -08:00
Evan Hunt 3c73203e7f Merge branch 'check-for-test-interfaces-before-running-system-tests-v9_10' into 'v9_10'
Check for test interfaces before running system tests

See merge request isc-projects/bind9!19
2018-02-26 15:10:35 -08:00
Evan Hunt e3121313ae test interfaces directly in runall.sh and parallel.mk
(cherry picked from commit a8b583e78b)
2018-02-26 15:10:35 -08:00