]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
8 years agocapture more information from unit tests
Evan Hunt [Fri, 9 Mar 2018 00:53:16 +0000 (16:53 -0800)] 
capture more information from unit tests

- in unittest step, explicitly preserve kyua.log or atf.out
- preserve kyua results database if present
- generate HTML report from kyua results if available

8 years agoMerge branch '138-tweak-ci-settings' into 'master'
Ondřej Surý [Fri, 9 Mar 2018 16:36:35 +0000 (11:36 -0500)] 
Merge branch '138-tweak-ci-settings' into 'master'

Tweak CI settings

Closes #138

See merge request isc-projects/bind9!116

8 years agoEnable runner-specific make concurrency settings
Michał Kępień [Fri, 9 Mar 2018 13:09:28 +0000 (14:09 +0100)] 
Enable runner-specific make concurrency settings

Using fixed make concurrency settings on all runners is not flexible and
requires .gitlab-ci.yml to be modified each time tweaking these settings
is needed.  Use environment variables which are expected to be set by
the runner (defaulting to 1 in case they are not set) for controlling
make concurrency.

8 years agoTweak the way ccache is used during CI
Michał Kępień [Fri, 9 Mar 2018 13:09:26 +0000 (14:09 +0100)] 
Tweak the way ccache is used during CI

Our current CI configuration causes ccache data to be zipped after each
job and also included in build artifacts, which will quickly become
infeasible as ccache data grows.  Instead of asking gitlab-runner to
preserve ccache data between jobs, keep a separate ccache directory on
each runner, expecting it to be accessible at /ccache when a CI job is
run.  As this requires gitlab-runner to be configured in a specific way,
do not use ccache at all in case the ccache directory is not found while
building.

8 years agoMerge branch '111-gitlab-ci-does-not-run-unit-tests' into 'master'
Ondřej Surý [Fri, 9 Mar 2018 16:26:09 +0000 (11:26 -0500)] 
Merge branch '111-gitlab-ci-does-not-run-unit-tests' into 'master'

Resolve "GitLab CI does not run unit tests"

Closes #111

See merge request isc-projects/bind9!100

8 years agoUse runner specific make parallel build settings
Ondřej Surý [Fri, 9 Mar 2018 13:30:19 +0000 (09:30 -0400)] 
Use runner specific make parallel build settings

8 years agoUse runner specific ccache directory
Ondřej Surý [Fri, 9 Mar 2018 13:24:41 +0000 (09:24 -0400)] 
Use runner specific ccache directory

8 years agoSplit system and unit tests into separate CI jobs
Ondřej Surý [Thu, 8 Mar 2018 14:29:07 +0000 (10:29 -0400)] 
Split system and unit tests into separate CI jobs

8 years agoEnable developer mode in the GitLab CI builds
Ondřej Surý [Thu, 8 Mar 2018 14:22:05 +0000 (10:22 -0400)] 
Enable developer mode in the GitLab CI builds

8 years agochg: dev: Compile BIND with ATF enabled, so unit tests are executed in test stage.
Ondřej Surý [Mon, 5 Mar 2018 15:54:37 +0000 (16:54 +0100)] 
chg: dev: Compile BIND with ATF enabled, so unit tests are executed in test stage.

This needs ATF, Kyuo (and deps) available in the docker images.

8 years agoMerge branch '136-tweak-timestamp-checking-in-the-cds-system-test' into 'master'
Evan Hunt [Thu, 8 Mar 2018 19:06:50 +0000 (14:06 -0500)] 
Merge branch '136-tweak-timestamp-checking-in-the-cds-system-test' into 'master'

Tweak timestamp checking in the cds system test

Closes #136

See merge request isc-projects/bind9!114

8 years agoAdd CHANGES entry
Michał Kępień [Thu, 8 Mar 2018 14:41:37 +0000 (15:41 +0100)] 
Add CHANGES entry

4912. [test] Improved the reliability of the 'cds' system test.
[GL #136]

8 years agoTweak timestamp checking in the cds system test
Michał Kępień [Thu, 8 Mar 2018 14:40:18 +0000 (15:40 +0100)] 
Tweak timestamp checking in the cds system test

Given the characteristics of the three timestamps involved in file
modification time checks in the cds system test (each one is an hour
apart from the next), reduce the resolution of these checks to 1 minute.
This will prevent intermittent false negatives caused by exceeding the
currently allowed difference of 9 seconds between file modification
times without making the test moot.

Also note that by using abs(), checkmtime.pl allows the cds system test
to pass when the modification time of the checked file is less than an
hour (or two hours for the second check) in the past.  This should never
happen, so remove abs() from the condition checked by checkmtime.pl.

8 years agoMerge branch 'remove-bind9-bugs-references' into 'master'
Evan Hunt [Thu, 8 Mar 2018 18:37:25 +0000 (13:37 -0500)] 
Merge branch 'remove-bind9-bugs-references' into 'master'

Update documentation to remove obsolete bind9-bugs@isc.org email address

See merge request isc-projects/bind9!111

8 years agoUpdate documentation to remove obsolete bind9-bugs@isc.org email address
Ondřej Surý [Thu, 8 Mar 2018 13:00:45 +0000 (09:00 -0400)] 
Update documentation to remove obsolete bind9-bugs@isc.org email address

8 years agoMerge branch '130-use-ccache-to-speed-up-gitlab-ci-builds' into 'master'
Ondřej Surý [Thu, 8 Mar 2018 14:20:37 +0000 (09:20 -0500)] 
Merge branch '130-use-ccache-to-speed-up-gitlab-ci-builds' into 'master'

Resolve "Use ccache to speed-up Gitlab CI builds"

Closes #130

See merge request isc-projects/bind9!105

8 years agochg: dev: Use ccache to speed-up the builds
Ondřej Surý [Tue, 6 Mar 2018 19:49:49 +0000 (20:49 +0100)] 
chg: dev: Use ccache to speed-up the builds

8 years agoMerge branch '128-fix-mkeys-system-test-race' into 'master'
Michał Kępień [Thu, 8 Mar 2018 12:34:01 +0000 (07:34 -0500)] 
Merge branch '128-fix-mkeys-system-test-race' into 'master'

Fix a race in the mkeys system test

Closes #128

See merge request isc-projects/bind9!103

8 years agoAdd CHANGES entry
Michał Kępień [Thu, 8 Mar 2018 12:20:48 +0000 (13:20 +0100)] 
Add CHANGES entry

4911. [test] Improved the reliability of the 'mkeys' system test.
[GL #128]

8 years agoFix a race between "rndc reconfig" and waiting for a ./DNSKEY fetch to complete
Michał Kępień [Tue, 6 Mar 2018 10:33:16 +0000 (11:33 +0100)] 
Fix a race between "rndc reconfig" and waiting for a ./DNSKEY fetch to complete

Calling nextpart() after reconfiguring ns1 is not safe, because the
expected log message may appear in ns5/named.run before nextpart() is
run.  With the TTL for ./DNSKEY set to 20 seconds, ns5 will refresh it
after 10 seconds, by which time wait_for_log() will already have failed.
This results in a false negative.

However, just calling nextpart() before reconfiguring ns1 would
introduce a different problem: if ns5 refreshed ./DNSKEY between these
two steps, the subsequent wait_for_log() call would return immediately
as it would come across the log message about a failure while refreshing
./DNSKEY instead of the expected success.  This in turn would result in
a different false negative as the root key would still be uninitialized
by the time "rndc secroots" is called.

Prevent both kinds of false negatives by:

  - calling nextpart() before reconfiguring ns1, in order to prevent the
    first case described above,

  - looking for a more specific log message, in order to prevent the
    second case described above.

Also look for a more specific log message in the first part of the
relevant check, not to fix any problem, but just to emphasize that a
different fetch result is expected in that case.

With these tweaks in place, if a (failed) ./DNSKEY refresh is scheduled
between nextpart() and reconfiguring ns1, wait_for_log() will just wait
for two more seconds (one "hour"), at which point another refresh
attempt will be made that will succeed.

8 years agoMerge branch '133-update-util-check-changes-to-work-on-release-branches' into 'master'
Mark Andrews [Thu, 8 Mar 2018 05:11:48 +0000 (00:11 -0500)] 
Merge branch '133-update-util-check-changes-to-work-on-release-branches' into 'master'

Resolve "Update util/check-changes to work on release branches."

Closes #133

See merge request isc-projects/bind9!110

8 years agoupdate util/check-changes to handle non master branched (util/check-changes master...
Mark Andrews [Thu, 8 Mar 2018 02:48:07 +0000 (13:48 +1100)] 
update util/check-changes to handle non master branched (util/check-changes master=0 CHANGES)

8 years agoMerge branch '76-gitlab-ci-check-for-up-to-date-copyright' into 'master'
Evan Hunt [Thu, 8 Mar 2018 02:17:18 +0000 (21:17 -0500)] 
Merge branch '76-gitlab-ci-check-for-up-to-date-copyright' into 'master'

Add a GitLab CI precheck stage to check for up-to-date copyright information and sequential CHANGES notes.

Closes #76

See merge request isc-projects/bind9!42

8 years agoupdate copyrights
Evan Hunt [Thu, 8 Mar 2018 02:02:53 +0000 (18:02 -0800)] 
update copyrights

8 years agoadd a check-changes step, to ensure CHANGES numbers are in order before commit
Evan Hunt [Thu, 8 Mar 2018 01:45:55 +0000 (17:45 -0800)] 
add a check-changes step, to ensure CHANGES numbers are in order before commit

8 years agoAdd a GitLab CI precheck stage that checks for up-to-date copyright information
Ondřej Surý [Mon, 19 Feb 2018 14:45:28 +0000 (15:45 +0100)] 
Add a GitLab CI precheck stage that checks for up-to-date copyright information

8 years agoMerge branch '132-fix-changes-entry' into 'master'
Evan Hunt [Thu, 8 Mar 2018 01:57:38 +0000 (20:57 -0500)] 
Merge branch '132-fix-changes-entry' into 'master'

Resolve "fix changes entry"

Closes #132

See merge request isc-projects/bind9!109

8 years agofix changes number
Mark Andrews [Thu, 8 Mar 2018 01:38:53 +0000 (12:38 +1100)] 
fix changes number

8 years agoMerge branch '125-in-view-duplicate-zone-not-detected-by-named-checkconf' into 'master'
Mark Andrews [Thu, 8 Mar 2018 01:06:42 +0000 (20:06 -0500)] 
Merge branch '125-in-view-duplicate-zone-not-detected-by-named-checkconf' into 'master'

Resolve "in-view duplicate zone not detected by named-checkconf"

Closes #125

See merge request isc-projects/bind9!97

8 years agoadd changes note for 'named-checkconf did not detect in-view zone collisions'
Mark Andrews [Wed, 7 Mar 2018 00:46:18 +0000 (11:46 +1100)] 
add changes note for 'named-checkconf did not detect in-view zone collisions'

8 years agocheck for in-view zones colliding with other zone definitions; also check the syntax...
Mark Andrews [Mon, 5 Mar 2018 00:53:18 +0000 (11:53 +1100)] 
check for in-view zones colliding with other zone definitions; also check the syntax of the in-view zone name

8 years agoadd test configuration where a in-view zone collides with a existing zone
Mark Andrews [Mon, 5 Mar 2018 00:51:48 +0000 (11:51 +1100)] 
add test configuration where a in-view zone collides with a existing zone

8 years agoMerge branch 'test-names' into 'master'
Evan Hunt [Wed, 7 Mar 2018 22:49:26 +0000 (17:49 -0500)] 
Merge branch 'test-names' into 'master'

use the test name in the -D string for each name server

See merge request isc-projects/bind9!107

8 years agouse the test name in the -D string for each name server
Evan Hunt [Wed, 7 Mar 2018 17:57:15 +0000 (09:57 -0800)] 
use the test name in the -D string for each name server

8 years agoMerge branch 'longopts' into 'master'
Evan Hunt [Wed, 7 Mar 2018 22:34:30 +0000 (17:34 -0500)] 
Merge branch 'longopts' into 'master'

restore long options for run.sh

See merge request isc-projects/bind9!104

8 years agorestore long options for run.sh
Evan Hunt [Tue, 6 Mar 2018 18:59:25 +0000 (10:59 -0800)] 
restore long options for run.sh

8 years agoMerge branch 'allow-query' into 'master'
Evan Hunt [Wed, 7 Mar 2018 21:53:16 +0000 (16:53 -0500)] 
Merge branch 'allow-query' into 'master'

speed up allow_query test

Closes #81

See merge request isc-projects/bind9!76

8 years agoeliminate unnecessary waiting in allow-query test
Evan Hunt [Tue, 27 Feb 2018 00:48:42 +0000 (16:48 -0800)] 
eliminate unnecessary waiting in allow-query test

- grep in the log to see if configuration is finished rather
  than sleeping for 5 seconds

8 years agorename allow_query to allow-query
Evan Hunt [Tue, 27 Feb 2018 00:44:57 +0000 (16:44 -0800)] 
rename allow_query to allow-query

8 years agoMerge branch '116-dnsrpz-enable-log-message-appears-to-be-broken' into 'master'
Evan Hunt [Wed, 7 Mar 2018 20:49:16 +0000 (15:49 -0500)] 
Merge branch '116-dnsrpz-enable-log-message-appears-to-be-broken' into 'master'

Resolve "dnsrpz-enable log message appears to be broken"

Closes #116

See merge request isc-projects/bind9!98

8 years agofix log message about 'dnsrps-enable yes;' when not configured (this will only ever...
Mark Andrews [Mon, 5 Mar 2018 02:40:20 +0000 (13:40 +1100)] 
fix log message about 'dnsrps-enable yes;' when not configured (this will only ever be emitted if the parser is incorrectly updated as the error is normally caught there)

8 years agoMerge branch '119-remove-unnecessary-insist-in-code' into 'master'
Evan Hunt [Wed, 7 Mar 2018 20:29:30 +0000 (15:29 -0500)] 
Merge branch '119-remove-unnecessary-insist-in-code' into 'master'

Remove unnecessary INSIST

Closes #119

See merge request isc-projects/bind9!101

8 years agocheck insist on every call; make conditional block constistent with rest of code
Mark Andrews [Mon, 5 Mar 2018 23:48:21 +0000 (10:48 +1100)] 
check insist on every call; make conditional block constistent with rest of code

8 years agoMerge branch 're-fix-notify' into 'master'
Evan Hunt [Tue, 6 Mar 2018 19:44:05 +0000 (14:44 -0500)] 
Merge branch 're-fix-notify' into 'master'

fixed typo that caused the notify test to run slowly

See merge request isc-projects/bind9!106

8 years agofixed typo that caused the notify test to run slowly
Evan Hunt [Tue, 6 Mar 2018 19:41:35 +0000 (11:41 -0800)] 
fixed typo that caused the notify test to run slowly

8 years agoMerge branch 'fix-notify' into 'master'
Evan Hunt [Tue, 6 Mar 2018 19:13:14 +0000 (14:13 -0500)] 
Merge branch 'fix-notify' into 'master'

fix notify test

See merge request isc-projects/bind9!77

8 years agoaddress a possible notify test failure
Evan Hunt [Mon, 26 Feb 2018 03:44:19 +0000 (19:44 -0800)] 
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.

8 years agoMerge branch '56-replace-getquad-with-inet_pton' into 'master'
Michał Kępień [Tue, 6 Mar 2018 09:09:01 +0000 (04:09 -0500)] 
Merge branch '56-replace-getquad-with-inet_pton' into 'master'

Replace getquad() with inet_pton()

Closes #56

See merge request isc-projects/bind9!99

8 years agoAdd CHANGES entry for GL #56, revise CHANGES entry for GL #13
Michał Kępień [Mon, 5 Mar 2018 13:13:53 +0000 (14:13 +0100)] 
Add CHANGES entry for GL #56, revise CHANGES entry for GL #13

4906. [func] Replace getquad() with inet_pton(), completing
change #4900. [GL #56]

4900. [func] Remove all uses of inet_aton().  As a result of this
change, IPv4 addresses are now only accepted in
dotted-quad format. [GL #13]

8 years agoReplace getquad() with inet_pton()
Michał Kępień [Mon, 5 Mar 2018 13:13:52 +0000 (14:13 +0100)] 
Replace getquad() with inet_pton()

getquad() was implemented back in 2001 to warn about IPv4 addresses in
non-dotted-quad form being used.  As change 4900 (GL #13) removed all
uses of inet_aton(), which allowed such forms, with inet_pton(), which
does not allow them, there is no point in keeping getquad() around as it
now only prints an extra warning when the parser comes across an IP
address in a form which is not acceptable anyway.  Replace all uses of
getquad() with inet_pton(AF_INET, ...).

8 years agoAdd a release note about dropping support for non-dotted-quad IPv4 addresses in maste...
Michał Kępień [Mon, 5 Mar 2018 13:13:50 +0000 (14:13 +0100)] 
Add a release note about dropping support for non-dotted-quad IPv4 addresses in master files

Support for non-dotted-quad IPv4 addresses in master files was dropped
when the inet_aton() call inside getquad() got replaced with a call to
inet_pton(), so a release note should have been added back then to
inform users that such syntax will no longer work.

8 years agoMerge branch '110-libirs-do-not-ignore-resolv.conf-syntax-errors' into 'master'
Michał Kępień [Tue, 6 Mar 2018 08:22:37 +0000 (03:22 -0500)] 
Merge branch '110-libirs-do-not-ignore-resolv.conf-syntax-errors' into 'master'

libirs: Do not ignore resolv.conf syntax errors

Closes #110

See merge request isc-projects/bind9!78

8 years agoAdd CHANGES entry
Michał Kępień [Mon, 26 Feb 2018 12:23:06 +0000 (13:23 +0100)] 
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]

8 years agoRemove duplicate irs_resconf_load() unit test
Michał Kępień [Mon, 26 Feb 2018 09:41:02 +0000 (10:41 +0100)] 
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.

8 years agoDo not ignore resolv.conf syntax errors
Michał Kępień [Mon, 26 Feb 2018 09:52:58 +0000 (10:52 +0100)] 
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.

8 years agoMerge branch '126-make-distclean-fail' into 'master'
Mark Andrews [Tue, 6 Mar 2018 05:08:22 +0000 (00:08 -0500)] 
Merge branch '126-make-distclean-fail' into 'master'

Resolve ""make distclean" fail."

Closes #126

See merge request isc-projects/bind9!102

8 years agodon't allow a macro to end in '\'
Mark Andrews [Tue, 6 Mar 2018 04:13:03 +0000 (15:13 +1100)] 
don't allow a macro to end in '\'

8 years agoMerge branch 'fix-changes' into 'master'
Evan Hunt [Fri, 2 Mar 2018 19:56:11 +0000 (14:56 -0500)] 
Merge branch 'fix-changes' into 'master'

fix CHANGES

See merge request isc-projects/bind9!96

8 years agofix CHANGE notes
Evan Hunt [Fri, 2 Mar 2018 19:53:38 +0000 (11:53 -0800)] 
fix CHANGE notes

8 years agoMerge branch '124-revert-deadlock-check' into 'master'
Evan Hunt [Fri, 2 Mar 2018 19:47:14 +0000 (14:47 -0500)] 
Merge branch '124-revert-deadlock-check' into 'master'

revert cname loop test due to effects on apex CNAMEs under insecure delegations

See merge request isc-projects/bind9!95

8 years agotemporarily revert change #4859
Evan Hunt [Fri, 2 Mar 2018 19:30:02 +0000 (11:30 -0800)] 
temporarily revert change #4859

8 years agoMerge branch 'fix-fetchlimit' into 'master'
Michał Kępień [Thu, 1 Mar 2018 14:39:24 +0000 (09:39 -0500)] 
Merge branch 'fix-fetchlimit' into 'master'

Improve failure logging in fetchlimit system test

See merge request isc-projects/bind9!81

8 years agorevise soft limit test
Evan Hunt [Mon, 26 Feb 2018 21:10:44 +0000 (13:10 -0800)] 
revise soft limit test

- don't bail out of the loop if clients are exceeded, just count incidents
- verbosely describe expectations and results

8 years agoMerge branch '121-views-system-test-has-wrong-test-strings-for-reload-completion...
Michał Kępień [Wed, 28 Feb 2018 13:54:38 +0000 (08:54 -0500)] 
Merge branch '121-views-system-test-has-wrong-test-strings-for-reload-completion' into 'master'

Resolve "views system test has wrong test strings for reload completion."

Closes #121

See merge request isc-projects/bind9!88

8 years agowait for 'all zones loaded' rather than 'reloading zones succeeded' which just indica...
Mark Andrews [Wed, 28 Feb 2018 06:14:30 +0000 (17:14 +1100)] 
wait for 'all zones loaded' rather than 'reloading zones succeeded' which just indicates that everything kicked off ok

8 years agoMerge branch '96-update-contributors-guide-and-move-it-at-top-level-so-it-s-recognise...
Evan Hunt [Tue, 27 Feb 2018 22:52:11 +0000 (17:52 -0500)] 
Merge branch '96-update-contributors-guide-and-move-it-at-top-level-so-it-s-recognised-by-gitlab' into 'master'

Update contributor's guide and move it to top level, so it's recognized by GitLab

Closes #96

See merge request isc-projects/bind9!58

8 years agoSet up CONTRIBUTING.md
Evan Hunt [Tue, 27 Feb 2018 22:39:51 +0000 (14:39 -0800)] 
Set up CONTRIBUTING.md

- moved into place from doc/dev/contrib.md
- build CONTRIBUTING from CONTRIBUTING.md, like README and OPTIONS

8 years agoMerge branch '113-minor-testsummary.sh-improvements' into 'master'
Evan Hunt [Tue, 27 Feb 2018 17:33:33 +0000 (12:33 -0500)] 
Merge branch '113-minor-testsummary.sh-improvements' into 'master'

Minor testsummary.sh improvements (handling colored output, failure summary)

Closes #113

See merge request isc-projects/bind9!80

8 years agoMerge branch '97-windows-version-of-bind-failing-to-build' into 'master'
Stephen Morris [Tue, 27 Feb 2018 09:58:05 +0000 (04:58 -0500)] 
Merge branch '97-windows-version-of-bind-failing-to-build' into 'master'

Resolve "Windows version of BIND failing to build"

Closes #97

See merge request isc-projects/bind9!65

8 years agoMerge branch '98-add-util-git-replay-merge.sh' into 'master'
Michał Kępień [Tue, 27 Feb 2018 09:39:10 +0000 (04:39 -0500)] 
Merge branch '98-add-util-git-replay-merge.sh' into 'master'

Put git-replay-merge in source tree

Closes #98

See merge request isc-projects/bind9!83

8 years agoAdd util/git-replay-merge.sh
Michał Kępień [Tue, 27 Feb 2018 09:22:44 +0000 (10:22 +0100)] 
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

8 years agoDo not destroy systests.output if there are no test.output files
Evan Hunt [Mon, 26 Feb 2018 18:37:08 +0000 (10:37 -0800)] 
Do not destroy systests.output if there are no test.output files

8 years agoUse echoinfo for printing test summary
Michał Kępień [Tue, 27 Feb 2018 08:46:22 +0000 (09:46 +0100)] 
Use echoinfo for printing test summary

This ensures testsummary.sh is consistent with other scripts belonging
to the test framework.

8 years agoMake testsummary.sh print a list of failed system tests
Michał Kępień [Thu, 22 Feb 2018 13:50:02 +0000 (14:50 +0100)] 
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.

8 years agoTweak the regular expression used for extracting system test results
Michał Kępień [Thu, 22 Feb 2018 13:07:17 +0000 (14:07 +0100)] 
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.

8 years agoMerge branch 'test-output' into 'master'
Evan Hunt [Tue, 27 Feb 2018 07:50:34 +0000 (02:50 -0500)] 
Merge branch 'test-output' into 'master'

Clean up test output

See merge request isc-projects/bind9!66

8 years agoclean up test output
Evan Hunt [Sat, 24 Feb 2018 08:48:50 +0000 (00:48 -0800)] 
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

8 years agoMerge branch '79-add-working-directory-to-example-in-doc-dev-dev-md' into 'master'
Mukund Sivaraman [Tue, 27 Feb 2018 03:27:02 +0000 (22:27 -0500)] 
Merge branch '79-add-working-directory-to-example-in-doc-dev-dev-md' into 'master'

Resolve "Add working directory to example in doc/dev/dev.md"

Closes #79

See merge request isc-projects/bind9!47

8 years agoMerge branch '112-fix-mx-checks-for-dynamic-updates' into 'master'
Evan Hunt [Mon, 26 Feb 2018 22:56:32 +0000 (17:56 -0500)] 
Merge branch '112-fix-mx-checks-for-dynamic-updates' into 'master'

Fix MX checks for dynamic updates

Closes #112

See merge request isc-projects/bind9!79

8 years agoworking directory is usually not in PATH
Mukund Sivaraman [Mon, 26 Feb 2018 20:55:12 +0000 (12:55 -0800)] 
working directory is usually not in PATH

8 years agoMerge branch 'check-for-test-interfaces-before-running-system-tests' into 'master'
Evan Hunt [Mon, 26 Feb 2018 18:00:37 +0000 (13:00 -0500)] 
Merge branch 'check-for-test-interfaces-before-running-system-tests' into 'master'

Check for test interfaces before running system tests

See merge request isc-projects/bind9!19

8 years agotest interfaces directly in runall.sh and parallel.mk
Evan Hunt [Sat, 24 Feb 2018 20:35:17 +0000 (12:35 -0800)] 
test interfaces directly in runall.sh and parallel.mk

8 years agoCheck for test interfaces before running system tests
Michał Kępień [Thu, 25 Jan 2018 14:26:27 +0000 (15:26 +0100)] 
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.

8 years agoAdd CHANGES entry
Michał Kępień [Mon, 26 Feb 2018 12:26:45 +0000 (13:26 +0100)] 
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]

8 years agoFix MX checks for dynamic updates
Michał Kępień [Mon, 26 Feb 2018 11:30:48 +0000 (12:30 +0100)] 
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.

8 years agoMerge branch '66-ixfr-system-test-fails-intermittently' into 'master'
Evan Hunt [Mon, 26 Feb 2018 06:30:28 +0000 (01:30 -0500)] 
Merge branch '66-ixfr-system-test-fails-intermittently' into 'master'

chg: dev: Improved the reliability of the 'ixfr' system test. [GL #66]

Closes #66

See merge request isc-projects/bind9!67

8 years agowait for synchronization; re-notify slave if the transfer doesn't happen
Evan Hunt [Wed, 21 Feb 2018 06:09:54 +0000 (17:09 +1100)] 
wait for synchronization; re-notify slave if the transfer doesn't happen

8 years agoMerge branch '51-fix-cppcheck-detected-source-code-errors' into 'master'
Mark Andrews [Sun, 25 Feb 2018 23:37:16 +0000 (18:37 -0500)] 
Merge branch '51-fix-cppcheck-detected-source-code-errors' into 'master'

Resolve "Fix cppcheck-detected source code errors"

Closes #51

See merge request isc-projects/bind9!46

8 years agoMerge branch 'note' into 'master'
Evan Hunt [Sun, 25 Feb 2018 22:39:20 +0000 (17:39 -0500)] 
Merge branch 'note' into 'master'

add missing release note

See merge request isc-projects/bind9!73

8 years agoadded missing release note
Evan Hunt [Sun, 25 Feb 2018 22:37:37 +0000 (14:37 -0800)] 
added missing release note

8 years agoMerge branch 'upforwd-error' into 'master'
Evan Hunt [Sun, 25 Feb 2018 21:55:09 +0000 (16:55 -0500)] 
Merge branch 'upforwd-error' into 'master'

Resolve "upforwd test error"

See merge request isc-projects/bind9!72

8 years agofixed an upforwd test error.
Evan Hunt [Sun, 25 Feb 2018 21:43:14 +0000 (13:43 -0800)] 
fixed an upforwd test error.

8 years agominor cleanup and addressed a sprintf format warning
Evan Hunt [Sun, 25 Feb 2018 01:55:24 +0000 (17:55 -0800)] 
minor cleanup and addressed a sprintf format warning

8 years agoupdate printf format to match type
Mark Andrews [Tue, 20 Feb 2018 02:09:58 +0000 (13:09 +1100)] 
update printf format to match type

8 years agoimprove the conditional declaration and use of variable to silence cppcheck
Mark Andrews [Tue, 20 Feb 2018 02:08:08 +0000 (13:08 +1100)] 
improve the conditional declaration and use of variable to silence cppcheck

8 years agoremove deadcode
Mark Andrews [Tue, 20 Feb 2018 02:04:58 +0000 (13:04 +1100)] 
remove deadcode

8 years agosilence unread assignment warning by using POST macro
Mark Andrews [Tue, 20 Feb 2018 01:57:29 +0000 (12:57 +1100)] 
silence unread assignment warning by using POST macro

8 years agoupdate the sscanf format strings so they match the pointer types
Mark Andrews [Tue, 20 Feb 2018 01:54:55 +0000 (12:54 +1100)] 
update the sscanf format strings so they match the pointer types

8 years agoredefine CHECK so cppcheck see the definition
Mark Andrews [Tue, 20 Feb 2018 01:53:27 +0000 (12:53 +1100)] 
redefine CHECK so cppcheck see the definition

8 years agoremove unused struct dst_context declaration
Mark Andrews [Tue, 20 Feb 2018 01:51:16 +0000 (12:51 +1100)] 
remove unused struct dst_context declaration