]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
8 years agoa CNAME won't necessarily cause a loop for an at-parent type (e.g. DS) 124-cname-deadlock
Evan Hunt [Thu, 1 Mar 2018 23:54:17 +0000 (15:54 -0800)] 
a CNAME won't necessarily cause a loop for an at-parent type (e.g. DS)

- deadlock detection is now relaxed for at-parent types
- added a test for this scenario

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

8 years agoconditionally typedef fstrmtable
Mark Andrews [Tue, 20 Feb 2018 01:48:29 +0000 (12:48 +1100)] 
conditionally typedef fstrmtable

8 years agoadjust goto target and conditional compilation so that cleanup_spillattimer and clean...
Mark Andrews [Tue, 20 Feb 2018 01:46:35 +0000 (12:46 +1100)] 
adjust goto target and conditional compilation so that cleanup_spillattimer and cleanup_alglock labels match the element to be cleanup and so that they are always used

8 years agoMerge branch 'tidy-runall.sh-environment-variables' into 'master'
Evan Hunt [Sat, 24 Feb 2018 20:43:22 +0000 (15:43 -0500)] 
Merge branch 'tidy-runall.sh-environment-variables' into 'master'

Tidy runall.sh environment variables

See merge request isc-projects/bind9!18

8 years agoMerge branch 'nssearch-timeout' into 'master'
Evan Hunt [Sat, 24 Feb 2018 19:14:12 +0000 (14:14 -0500)] 
Merge branch 'nssearch-timeout' into 'master'

chg: usr: List servers that time out in dig +nssearch. [GL #64]

See merge request isc-projects/bind9!28

Closes #64

8 years agoCHANGES, doc
Evan Hunt [Sat, 24 Feb 2018 19:02:03 +0000 (11:02 -0800)] 
CHANGES, doc

8 years agolist servers that time out in dig +nssearch
Evan Hunt [Fri, 16 Feb 2018 00:11:52 +0000 (16:11 -0800)] 
list servers that time out in dig +nssearch

8 years agochg: dev: Remove isc_net_aton from libisc.def.in
Ondřej Surý [Sat, 24 Feb 2018 08:50:31 +0000 (09:50 +0100)] 
chg: dev: Remove isc_net_aton from libisc.def.in

8 years agoMerge branch 'speedup-ci' into 'master'
Evan Hunt [Sat, 24 Feb 2018 08:36:08 +0000 (03:36 -0500)] 
Merge branch 'speedup-ci' into 'master'

Speed up CI

See merge request isc-projects/bind9!64

8 years agoMerge branch '71-xfer-system-test-fails-intermittently' into 'master'
Evan Hunt [Sat, 24 Feb 2018 02:56:16 +0000 (21:56 -0500)] 
Merge branch '71-xfer-system-test-fails-intermittently' into 'master'

chg: dev: Improve the resilience of the xfer system test, which could be flaky under load.

Closes #71

See merge request isc-projects/bind9!61

8 years agomore CI speedup experiments
Evan Hunt [Fri, 23 Feb 2018 18:47:04 +0000 (10:47 -0800)] 
more CI speedup experiments

- turn off some of the build tests
- increase test threads to 8
- build with --disable-static
- suppress the non-system tests under bin/tests (timers, task, etc)

8 years agoimprove reliability of xfer test
Evan Hunt [Fri, 23 Feb 2018 08:00:09 +0000 (00:00 -0800)] 
improve reliability of xfer test

8 years agoMerge branch 'kyua-oot' into 'master'
Evan Hunt [Fri, 23 Feb 2018 23:22:59 +0000 (18:22 -0500)] 
Merge branch 'kyua-oot' into 'master'

chg: dev: Unit tests were broken in out-of-tree builds.

See merge request isc-projects/bind9!57

8 years agoMerge branch '95-fix-dyndb' into 'master'
Evan Hunt [Fri, 23 Feb 2018 20:00:31 +0000 (15:00 -0500)] 
Merge branch '95-fix-dyndb' into 'master'

Resolve "dyndb system test fails intermittently"

Closes #95

See merge request isc-projects/bind9!63

8 years agoimprove dyndb test resilience
Evan Hunt [Fri, 23 Feb 2018 18:08:51 +0000 (10:08 -0800)] 
improve dyndb test resilience

- no longer grep for specific line numbers when checking
  parameter logging, as those can change
- report the failure immediatey if parameter check fails

8 years agoMerge branch 'remote-inet_aton-usage' into 'master'
Ondřej Surý [Fri, 23 Feb 2018 14:37:19 +0000 (09:37 -0500)] 
Merge branch 'remote-inet_aton-usage' into 'master'

chg: dev: Replace all usage of inet_aton() with inet_pton() [GL #13]

See merge request isc-projects/bind9!5

8 years agoAdd CHANGES entry
Michał Kępień [Fri, 23 Feb 2018 11:02:54 +0000 (12:02 +0100)] 
Add CHANGES entry

4899. [cleanup] Remove all uses of inet_aton(). [GL #13]

8 years agoReplace all usage of inet_aton() with inet_pton()
Ondřej Surý [Mon, 30 Oct 2017 14:38:23 +0000 (15:38 +0100)] 
Replace all usage of inet_aton() with inet_pton()

8 years agoFix dyndb system test after copyright information update
Michał Kępień [Fri, 23 Feb 2018 12:55:05 +0000 (13:55 +0100)] 
Fix dyndb system test after copyright information update

8 years agoMerge branch 'year-2018-copyright-update-in-master' into 'master'
Ondřej Surý [Fri, 23 Feb 2018 09:33:33 +0000 (04:33 -0500)] 
Merge branch 'year-2018-copyright-update-in-master' into 'master'

Remove copyright years from individual source files (and keep them only in the COPYRIGHT file)

Closes #55

See merge request isc-projects/bind9!37

8 years agoUpdate license headers to not include years in copyright in all applicable files
Ondřej Surý [Fri, 23 Feb 2018 08:53:12 +0000 (09:53 +0100)] 
Update license headers to not include years in copyright in all applicable files

8 years agoUpdate scripts in util/ to drop the year information from the individual source files.
Ondřej Surý [Mon, 19 Feb 2018 11:03:28 +0000 (12:03 +0100)] 
Update scripts in util/ to drop the year information from the individual source files.

8 years agoMerge branch 'na-revert-removal-of-controls.conf' into 'master'
Ondřej Surý [Fri, 23 Feb 2018 09:08:56 +0000 (04:08 -0500)] 
Merge branch 'na-revert-removal-of-controls.conf' into 'master'

Revert removal of bin/tests/system/common/controls.conf, it's still needed

See merge request isc-projects/bind9!62

8 years agoRevert removal of bin/tests/system/common/controls.conf, it's still needed
Ondřej Surý [Fri, 23 Feb 2018 09:06:35 +0000 (10:06 +0100)] 
Revert removal of bin/tests/system/common/controls.conf, it's still needed

8 years agoMerge branch 'na-update-copyrights-after-59-merge' into 'master'
Ondřej Surý [Fri, 23 Feb 2018 08:59:56 +0000 (03:59 -0500)] 
Merge branch 'na-update-copyrights-after-59-merge' into 'master'

Update copyright information after !59 merge.

See merge request isc-projects/bind9!60

8 years agoUpdate copyright information after !59 merge.
Ondřej Surý [Fri, 23 Feb 2018 08:02:49 +0000 (09:02 +0100)] 
Update copyright information after !59 merge.

8 years agoMerge branch '91-parallel-tests' into 'master'
Ondřej Surý [Fri, 23 Feb 2018 07:29:32 +0000 (02:29 -0500)] 
Merge branch '91-parallel-tests' into 'master'

chg: dev: Convert most of the remaining system tests to be able to run in parallel [GL #91]

Closes #91

See merge request isc-projects/bind9!59

8 years agofinal cleanup
Evan Hunt [Thu, 22 Feb 2018 23:10:37 +0000 (15:10 -0800)] 
final cleanup

- add CHANGES note
- update copyrights and license headers
- add -j to the make commands in .gitlab-ci.yml to take
  advantage of parallelization in the gitlab CI process

8 years agoimprove reliability of the xfer test on slow systems
Evan Hunt [Fri, 23 Feb 2018 02:34:16 +0000 (18:34 -0800)] 
improve reliability of the xfer test on slow systems

- lengthed the wait loop for the transfers to complete

8 years agoremove v6synth
Evan Hunt [Thu, 22 Feb 2018 07:26:33 +0000 (23:26 -0800)] 
remove v6synth

- this was a test for the allow-v6-synthesis option, which was
  deprecated and no longer works. the test was removed
  from conf.sh.in long ago.

8 years agoremoved some unnecessary greps
Evan Hunt [Thu, 22 Feb 2018 05:19:00 +0000 (21:19 -0800)] 
removed some unnecessary greps

8 years agoreorder tests to get better use of parallelism
Evan Hunt [Thu, 22 Feb 2018 08:39:08 +0000 (00:39 -0800)] 
reorder tests to get better use of parallelism

8 years agoparallelize most system tests
Evan Hunt [Tue, 20 Feb 2018 23:43:27 +0000 (15:43 -0800)] 
parallelize most system tests

8 years agoMerge branch '93-drop-seccomp-support' into 'master'
Evan Hunt [Thu, 22 Feb 2018 22:44:46 +0000 (17:44 -0500)] 
Merge branch '93-drop-seccomp-support' into 'master'

Drop support for libseccomp system-call filtering on Linux. [RT #46729]

Closes #93

See merge request isc-projects/bind9!55

8 years agoAdded a release note, plus minor cleanups.
Evan Hunt [Thu, 22 Feb 2018 21:26:22 +0000 (13:26 -0800)] 
Added a release note, plus minor cleanups.

8 years agounit/unittest.sh is generated by configure. It will always be
Petr Menšík [Thu, 22 Feb 2018 14:32:16 +0000 (15:32 +0100)] 
unit/unittest.sh is generated by configure. It will always be
 generated into builddir. If out-of-tree build is used, make unit
will always fail. Kyuafiles and testdata still have to be copied
manually into the builddir.

8 years agochg: usr: Remove libseccomp based system-call filtering [GL #93]
Ondřej Surý [Thu, 22 Feb 2018 12:40:30 +0000 (13:40 +0100)] 
chg: usr: Remove libseccomp based system-call filtering [GL #93]

8 years agoRemove libseccomp based system-call filtering.
Ondřej Surý [Thu, 22 Feb 2018 12:40:57 +0000 (13:40 +0100)] 
Remove libseccomp based system-call filtering.

8 years agochg: dev: Improve GitLab CI build checking to build on all docker images, but run...
Ondřej Surý [Thu, 22 Feb 2018 10:16:33 +0000 (05:16 -0500)] 
chg: dev: Improve GitLab CI build checking to build on all docker images, but run system tests only on debian/sid amd64+i386

Merge branch '72-build-but-not-test-on-most-combinations' into 'master'

Closes #72

See merge request isc-projects/bind9!44

8 years agoMerge branch '68-rpz-system-test-fails-intermittently' into 'master'
Mark Andrews [Thu, 22 Feb 2018 03:48:25 +0000 (22:48 -0500)] 
Merge branch '68-rpz-system-test-fails-intermittently' into 'master'

Prevent rpz system test from wiping out forensic data

See merge request isc-projects/bind9!51

8 years agoadd CHANGES note
Mark Andrews [Thu, 22 Feb 2018 03:03:50 +0000 (14:03 +1100)] 
add CHANGES note

8 years agoperform rpz testing with a loop rather that recursion
Mark Andrews [Wed, 21 Feb 2018 03:42:10 +0000 (14:42 +1100)] 
perform rpz testing with a loop rather that recursion

8 years agouse symbolic test modes native/dnsrps
Mark Andrews [Wed, 21 Feb 2018 02:54:51 +0000 (13:54 +1100)] 
use symbolic test modes native/dnsrps

8 years agoadd test numbers as use them in file names
Mark Andrews [Wed, 21 Feb 2018 02:31:05 +0000 (13:31 +1100)] 
add test numbers as use them in file names

8 years agoMerge branch '82-cacheclean-test-is-not-robust' into 'master'
Mark Andrews [Thu, 22 Feb 2018 01:13:41 +0000 (20:13 -0500)] 
Merge branch '82-cacheclean-test-is-not-robust' into 'master'

Resolve "cacheclean test is not robust."

Closes #82

See merge request isc-projects/bind9!50

8 years agoadd CHANGES entry
Mark Andrews [Thu, 22 Feb 2018 00:27:18 +0000 (11:27 +1100)] 
add CHANGES entry

8 years agocheck that sed selects a non zero range of lines
Mark Andrews [Wed, 21 Feb 2018 01:33:02 +0000 (12:33 +1100)] 
check that sed selects a non zero range of lines

8 years agoEnable --with-libtool configure option as it reduces the size of artifacts
Ondřej Surý [Tue, 20 Feb 2018 15:05:24 +0000 (16:05 +0100)] 
Enable --with-libtool configure option as it reduces the size of artifacts

8 years agoBuild BIND on all available docker images, but test only in few selected ones
Ondřej Surý [Mon, 19 Feb 2018 15:03:47 +0000 (16:03 +0100)] 
Build BIND on all available docker images, but test only in few selected ones

8 years agoPreserve values of environment variables which are already set
Michał Kępień [Wed, 21 Feb 2018 13:59:38 +0000 (14:59 +0100)] 
Preserve values of environment variables which are already set

This enables the environment variables controlling run.sh behavior to be
permanently set in a working environment (e.g. to automatically force
colored output without using "-c" in each runall.sh invocation).

Relevant runall.sh command line arguments still have a higher priority.

8 years agoAllow forcing colored system test output
Michał Kępień [Wed, 21 Feb 2018 13:59:35 +0000 (14:59 +0100)] 
Allow forcing colored system test output

As parallel.mk and runsequential.sh both pipe system test output through
"tee" (for the purpose of creating test.output), run.sh invoked from
these two files detects it is not writing to a terminal, which prevents
colored output from being generated.  Allow forcing colored output using
a new command line argument for runall.sh, "-c", which sets an
environment variable (SYSTEMTEST_FORCE_COLOR) causing conf.sh to
unconditionally enable colored output.

The same environment variable can also be used directly to force colored
output when using "make test" instead of runall.sh.

8 years agoAllow retaining system test output using an environment variable
Michał Kępień [Wed, 21 Feb 2018 13:59:33 +0000 (14:59 +0100)] 
Allow retaining system test output using an environment variable

Instead of exporting an environment variable containing a command line
argument (NOCLEAN="-n"), extend run.sh to handle a "boolean" environment
variable (SYSTEMTEST_NO_CLEAN) itself.  The former method is buggy
because the value of NOCLEAN is set in parallel.mk when that file is
first created, but it is not subsequently updated upon each test run
(because make considers parallel.mk to be up to date).

To retain backward compatibility, the "-n" command line argument for
run.sh is still supported (and has a higher priority than the relevant
environment variable).

The SYSTEMTEST_NO_CLEAN environment variable can also be used directly
to prevent cleanup when using "make test" instead of runall.sh.

Apart from fixing a bug, this simplifies the way runall.sh controls
run.sh behavior due to the Makefile being bypassed.  Direct processing
of environment variables in run.sh is more scalable in the long run,
given that the previously utilized technique, even with its
implementation fixed, would still require Makefile.in to be modified in
two places each time a new flag needed to be passed from runall.sh to
run.sh.

8 years agochg: dev: Remove hard copies of RFCs and I-Ds from the BIND repository
Ondřej Surý [Wed, 21 Feb 2018 13:27:15 +0000 (08:27 -0500)] 
chg: dev: Remove hard copies of RFCs and I-Ds from the BIND repository

Merge branch 'remove-rfcs-and-drafts' into 'master'

See merge request isc-projects/bind9!34

8 years agoMerge branch '67-stabilize-cacheclean-system-test' into 'master'
Mark Andrews [Tue, 20 Feb 2018 21:01:00 +0000 (16:01 -0500)] 
Merge branch '67-stabilize-cacheclean-system-test' into 'master'

Stabilize cacheclean system test

Closes #67

See merge request isc-projects/bind9!43

8 years agoMerge branch '73-remove-dockerfiles' into 'master'
Ondřej Surý [Tue, 20 Feb 2018 15:40:15 +0000 (10:40 -0500)] 
Merge branch '73-remove-dockerfiles' into 'master'

Remove Dockerfiles that were preventing git checkout on Windows due colon in the directory name.

Closes #73

See merge request isc-projects/bind9!45

8 years agoMerge branch 'rt46602' into 'master'
Stephen Morris [Tue, 20 Feb 2018 14:00:59 +0000 (09:00 -0500)] 
Merge branch 'rt46602' into 'master'

Allow parallel run of system tests

See merge request isc-projects/bind9!7

8 years agoImprove the way cache contents are searched for "ns.flushtest.example"
Michał Kępień [Tue, 20 Feb 2018 12:59:29 +0000 (13:59 +0100)] 
Improve the way cache contents are searched for "ns.flushtest.example"

During the "check flushtree clears adb correctly" check, expecting
"ns.flushtest.example" to always be the first name in the ADB dump is
fragile, because in a certain corner case "a.root-servers.nil" will be
the first name instead.

As the purpose of the relevant check is to ensure "ns.flushtest.example"
is removed from ADB by "rndc flushtree flushtest.example", search the
entire list of names present in ADB instead of just the first entry when
looking for "ns.flushtest.example".

8 years agoWait until a cache dump completes instead of waiting for a fixed amount of time
Michał Kępień [Tue, 20 Feb 2018 12:59:28 +0000 (13:59 +0100)] 
Wait until a cache dump completes instead of waiting for a fixed amount of time

Dumping the cache is an asynchronous operation, so sleeping for a fixed
amount of time after running "rndc dumpdb" is imperfect as dumping cache
contents may take longer than expected on slower machines.  Instead of
always sleeping for 1 second, wait until the "; Dump complete" line
appears in the dump or 10 seconds pass, whichever comes first.

8 years agoDo not overwrite cache dumps
Michał Kępień [Tue, 20 Feb 2018 12:59:27 +0000 (13:59 +0100)] 
Do not overwrite cache dumps

Unless configured otherwise in named.conf, "rndc dumpdb" causes a cache
dump to be written to a file called "named_dump.db" in the working
directory of the given named instance.  Repeatedly using this command
throughout different checks in the cacheclean system test causes cache
dumps for older checks to be overwritten, which hinders failure
diagnosis.  Prevent this by moving each cache dump to a check-specific
location after running "rndc dumpdb".

Furthermore, during the "check flushtree clears adb correctly" check,
dump_cache() is called twice without renaming the resulting files.
Prevent the first cache dump from being overwritten by moving it to a
different file before calling "rndc dumpdb" for the second time.

8 years agoAssign an index to each check in the cacheclean system test
Michał Kępień [Tue, 20 Feb 2018 12:59:25 +0000 (13:59 +0100)] 
Assign an index to each check in the cacheclean system test

This will enable storing per-check forensic data, which facilitates
troubleshooting test failures.

8 years agoRemove integrated Dockerfiles that have been moved to separate repository
Ondřej Surý [Mon, 19 Feb 2018 21:14:36 +0000 (22:14 +0100)] 
Remove integrated Dockerfiles that have been moved to separate repository