]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
8 years agoMerge branch 'fix-relnotes-v99' into v9_9
Evan Hunt [Wed, 14 Mar 2018 21:59:52 +0000 (14:59 -0700)] 
Merge branch 'fix-relnotes-v99' into v9_9

8 years agoupdate Eol information
Evan Hunt [Wed, 14 Mar 2018 21:59:00 +0000 (14:59 -0700)] 
update Eol information

8 years agoMerge branch 'branchsync' into 'v9_9'
Evan Hunt [Wed, 14 Mar 2018 21:42:28 +0000 (14:42 -0700)] 
Merge branch 'branchsync' into 'v9_9'

update branchsync to deal with merge commits

See merge request isc-projects/bind9!127

8 years agoupdated branchsync to deal with merge commits
Evan Hunt [Sat, 10 Mar 2018 21:29:32 +0000 (13:29 -0800)] 
updated branchsync to deal with merge commits

(cherry picked from commit fccf8ca2f66df6e5d85c007c63cbb46f3c5dcfbb)

8 years agoFix whitespace
Ondřej Surý [Wed, 14 Mar 2018 11:46:56 +0000 (12:46 +0100)] 
Fix whitespace

8 years agoUpdate copyrights
Ondřej Surý [Wed, 14 Mar 2018 11:46:25 +0000 (12:46 +0100)] 
Update copyrights

8 years ago[v9_10] Enable GitLab CI
Ondřej Surý [Wed, 14 Mar 2018 11:26:08 +0000 (12:26 +0100)] 
[v9_10] Enable GitLab CI

(cherry picked from commit 5b7393ab588aee8dc64adb194f38eab6818aaa10)
(cherry picked from commit a14d0362df3083da3af471f25adf1558c217ff81)
(cherry picked from commit a13586af5dbcc8adc1f8c72cab734b7a57ed354d)

8 years agoMerge branch 'nothreads-fix' into 'v9_9'
Evan Hunt [Sat, 10 Mar 2018 18:37:26 +0000 (10:37 -0800)] 
Merge branch 'nothreads-fix' into 'v9_9'

Fix compiler warnings and test failures when building without threads

See merge request isc-projects/bind9!119

8 years agoFix compiler warnings and test failures when building without threads
Evan Hunt [Sat, 10 Mar 2018 18:33:45 +0000 (10:33 -0800)] 
Fix compiler warnings and test failures when building without threads

(cherry picked from commit 56353aaf42542efbc50c61d8fe779ceb7d627713)

8 years agoMerge branch 'clean-bin-tests-v9_9' into 'v9_9'
Evan Hunt [Sat, 10 Mar 2018 07:35:06 +0000 (23:35 -0800)] 
Merge branch 'clean-bin-tests-v9_9' into 'v9_9'

clean up bin/tests, convert unit tests to ATF

Closes #115

See merge request isc-projects/bind9!93

8 years agofinal cleanup
Evan Hunt [Fri, 9 Mar 2018 07:27:25 +0000 (23:27 -0800)] 
final cleanup

- update Kyuafiles to match Atffiles
- copyrights
- CHANGES note

(cherry picked from commit 86e00cbb7161c50757bcacd59cf6fe3fc8a724ae)
(cherry picked from commit 80834b5b90ef63d0075859fd837677a69931ddbb)
(cherry picked from commit 442c1530a3032e3e910a403a4fa8b92dc3996bad)
(cherry picked from commit 6fe8188cc3985ca07c3e70c4ffbf38da82a27921)

8 years agoreduce race risk in parallel builds
Evan Hunt [Fri, 2 Mar 2018 02:02:34 +0000 (18:02 -0800)] 
reduce race risk in parallel builds

(cherry picked from commit 74347f4a556d3049b2504615a51fbd13d17641a3)
(cherry picked from commit 7f4e62d90216ac2cdd24d97136aca2ee74fa238a)
(cherry picked from commit ade4face27319fa6ab07c056f20376cd48efb7df)
(cherry picked from commit 544bb12a0139766a7b2eb6f170020d26140622a9)

8 years agoremove lib/tests as nothing uses it anymore
Evan Hunt [Thu, 1 Mar 2018 20:59:06 +0000 (12:59 -0800)] 
remove lib/tests as nothing uses it anymore

(cherry picked from commit d132f73497db82674efc3b8f6ab36308f4476349)
(cherry picked from commit d35f62434ac8f6395bdbe5647be0532087d1e14a)
(cherry picked from commit 941946cf145bea05e406db7fb7dc0e6f2cc49b71)
(cherry picked from commit ec55b0136af4f1d6a36737810030a5c1be070f1e)

8 years agomigrate t_dst signature test to lib/dns/tests/dst_test
Evan Hunt [Thu, 1 Mar 2018 18:07:49 +0000 (10:07 -0800)] 
migrate t_dst signature test to lib/dns/tests/dst_test

(cherry picked from commit a4ebe83cdb053ebd76f55200f5b1e293a3ddc4d8)
(cherry picked from commit 4439c471d16ab88d7b81c0a24479bed23d033307)
(cherry picked from commit 57a5820dcc089be888e70b85ea27a3c6ac806acb)
(cherry picked from commit dbc21e43936c771e0db88e349469625e6d8b5108)

8 years agomigrate t_db to lib/dns/tests/db_test
Evan Hunt [Thu, 1 Mar 2018 04:18:27 +0000 (20:18 -0800)] 
migrate t_db to lib/dns/tests/db_test

(cherry picked from commit f58ac8ada36e24e7cc14c0ca83528ce35df2a8f9)
(cherry picked from commit 56da93739910e72ed1805d50fbb540d86016b77c)
(cherry picked from commit d3518e57b18b5079fa46fb5821d19b4c99437fa5)
(cherry picked from commit c5dbc0b7270563b17767e8dd355f38412b090258)

8 years agomigrate t_names to lib/dns/tests/name_test
Evan Hunt [Thu, 1 Mar 2018 00:51:23 +0000 (16:51 -0800)] 
migrate t_names to lib/dns/tests/name_test

(cherry picked from commit 8ecf69ef7bc125753b3647c45c1be721bd3ea400)
(cherry picked from commit aefad99e1ef0d902d11c334d3fecea4007caf0b5)
(cherry picked from commit b2fef3b438749f7b6ae25fa5ee73f49854c36b76)
(cherry picked from commit 2893e982ed775d5b8a18e719b9b9fc7851d3a257)

8 years agomigrate t_rbt to lib/dns/tests/rbt_test
Evan Hunt [Wed, 28 Feb 2018 22:12:02 +0000 (14:12 -0800)] 
migrate t_rbt to lib/dns/tests/rbt_test

(cherry picked from commit 109546cbda58c719e59c699e6ce14908279de776)
(cherry picked from commit c505afd1835747997593a9ccb07786f20112238f)
(cherry picked from commit 42fa3932abb4a902bbf25f994d12ad6678097ac5)
(cherry picked from commit 4c6818ff8e27dd071c7c5d55dff27ee534cee8a1)

8 years agomigrate t_tasks to lib/isc/tests/task_test
Evan Hunt [Wed, 28 Feb 2018 07:01:14 +0000 (23:01 -0800)] 
migrate t_tasks to lib/isc/tests/task_test

(cherry picked from commit c6c1e99252c200466ff4e33033b4799572c3ddec)
(cherry picked from commit 88bfe5687616f62eded0e1a73126aa7d9376e372)
(cherry picked from commit 38f9cddcad572a2ff405d88db06eb67bf7549104)
(cherry picked from commit 430d35e332d65cd1bf0f3eaf04fc842a2435ac53)

8 years agomigrate t_resolver to lib/dns/tests/resolver_test
Evan Hunt [Wed, 28 Feb 2018 02:20:01 +0000 (18:20 -0800)] 
migrate t_resolver to lib/dns/tests/resolver_test

(cherry picked from commit d80825c40b35a989586a4018dd09728149d6b64e)
(cherry picked from commit 30e157f6e41511a90c66fbc7bad916943c288595)
(cherry picked from commit 5dd25f2285f541dc0f31813b0b88c2b4fa950625)
(cherry picked from commit 29474940ea10c7ff440304baa8e13e627d4a74c6)

8 years agomigrate t_timers to lib/isc/tests/timer_test
Evan Hunt [Tue, 27 Feb 2018 22:29:49 +0000 (14:29 -0800)] 
migrate t_timers to lib/isc/tests/timer_test

(cherry picked from commit e2b8699df9643c90ed196900fd80174430ada5a2)
(cherry picked from commit efccdad0ea85036adb816e0f2b451b2f65a454a2)
(cherry picked from commit 274ee0b425babc818296a1a3d5a456f6ee6a76ef)
(cherry picked from commit 5b477b2aa43e6d1e92707f62dd7abf590fdc14b0)

8 years agomigrate t_atomic to lib/isc/tests/atomic_test
Evan Hunt [Tue, 27 Feb 2018 20:14:07 +0000 (12:14 -0800)] 
migrate t_atomic to lib/isc/tests/atomic_test

(cherry picked from commit 874e2fc70c75a969c63efad7c8e1a70e2bb5bae6)
(cherry picked from commit c7fa56e8db506ad6b0f7d19e5723908a0ecefac4)
(cherry picked from commit 492e19d6ec1f9e0788d54ce9d14455d7727161e0)
(cherry picked from commit 1200d6f072ad1d08a74e2dfbb61aba262a4fd6b6)

8 years agomigrate t_mem to lib/isc/tests/mem_test
Evan Hunt [Tue, 27 Feb 2018 18:20:28 +0000 (10:20 -0800)] 
migrate t_mem to lib/isc/tests/mem_test

(cherry picked from commit 979f054702878ed74b9a7b22c636fc2fc5cf1659)
(cherry picked from commit af48544b753696dc50e76e22bd77b921906c20c3)
(cherry picked from commit 814cd21e22cd13e2fb9ed5d9c7fd2f5e7a3471fb)
(cherry picked from commit 7014d0994b1d585c23287f17448d25c503450da0)

8 years agomigrate t_net to lib/isc/tests
Evan Hunt [Tue, 27 Feb 2018 07:18:59 +0000 (23:18 -0800)] 
migrate t_net to lib/isc/tests

(cherry picked from commit 05b7251d51b4b31ad822d701beb0313ad1bcb4d9)
(cherry picked from commit af0c9b2ceecbca3f71f6895bbfac6cdf11c46094)
(cherry picked from commit faedafd2b48eeb04bb504645e6c6909bf06cdf79)
(cherry picked from commit 67b63a3e1095e48ccf19ac1520a927f8cf5f8c57)

8 years agomigrate t_sockaddr to lib/isc/tests
Evan Hunt [Tue, 27 Feb 2018 06:44:39 +0000 (22:44 -0800)] 
migrate t_sockaddr to lib/isc/tests

(cherry picked from commit 62f650078aaae064c6bdfbb14d30df1484282fa1)
(cherry picked from commit fadb93cf43dc8455dfc687d229a0e08c9a4ef066)
(cherry picked from commit 323e2f7152248f94b450ebf62300b4bba2fcb834)
(cherry picked from commit b392c18f6ed69f356973640818a0a3ddbfbd40fa)

8 years agoremove hashes test (duplicates lib/isc/tests/hash_test)
Evan Hunt [Tue, 27 Feb 2018 08:51:59 +0000 (00:51 -0800)] 
remove hashes test (duplicates lib/isc/tests/hash_test)

(cherry picked from commit 6ad1a042bcfaa4be4d51a310a69401c1b9204605)
(cherry picked from commit e686b9c2973d7820cd8588549e06a2b623098961)
(cherry picked from commit c644427b77c06ad3e63a145ce5cd80804bd5a1ca)
(cherry picked from commit a0a3a8e794cc0a682e70191b5ab904ac2e6e83a7)

8 years agoremove master test (duplicates lib/isc/tests/master_test)
Evan Hunt [Tue, 27 Feb 2018 06:17:33 +0000 (22:17 -0800)] 
remove master test (duplicates lib/isc/tests/master_test)

(cherry picked from commit 6717f31e10e7f62f017f48e2497cba6111b14c1b)
(cherry picked from commit 36d08442bc641d9858922a37925a99d4e34c858b)
(cherry picked from commit ae39f25a10c9dac11712e17977351c540aba2291)
(cherry picked from commit 83a5d8e17e9208b80fc08d37fffa59bac8d626ad)

8 years agomigrate tests from bin/tests/dnssec-signzone to bin/tests/system/dnssec
Evan Hunt [Tue, 27 Feb 2018 18:57:08 +0000 (10:57 -0800)] 
migrate tests from bin/tests/dnssec-signzone to bin/tests/system/dnssec

- added tests to the dnssec system test that duplicate the ones
  from bin/tests/dnssec-signzone
- changed cleanall.sh so it doesn't automatically remove all
  key files, because there are now some of those that are part of the
  distribution

(cherry picked from commit ccfe778c0165dc26ab5ac5291e5ab53f9d0a3298)
(cherry picked from commit d8f8eee381497d97d0bd0c013aafef2cfd674b2d)
(cherry picked from commit dbb225d83eba5f883a78cb571b931fc3c4ec1ce0)
(cherry picked from commit 161f525942d5a07d46063d66b53efe3963ce1990)

8 years agomove all optional tests from bin/tests to bin/tests/optional
Evan Hunt [Tue, 27 Feb 2018 20:48:10 +0000 (12:48 -0800)] 
move all optional tests from bin/tests to bin/tests/optional

- some of these tests are obsolete and should be cleared up,
  others overlap with ATF tests and may be removed later.
  for now, let's just tidy up the bin/tests directory by
  moving these files down a level.

(cherry picked from commit 344ab0eb7d316bf9c2701208d3d22ddea4510781)
(cherry picked from commit dafdf2c09bff7d95621502c249894248a90c1a6e)
(cherry picked from commit e062109659f53ea64acf8346ea4711fa8340b5c9)
(cherry picked from commit 64284783415e1e3e46c62b835db80f02fb489c84)

8 years agoremove some old and obsolete test files
Evan Hunt [Tue, 27 Feb 2018 06:19:38 +0000 (22:19 -0800)] 
remove some old and obsolete test files

(cherry picked from commit a633f6c5dd0dedca3c2530144b9dae84f9fa6969)
(cherry picked from commit 10efb4ff07d7291efc2ca1d50e4410b8cad20124)
(cherry picked from commit 22d9a69b3fac20368b70dc7b6e592ad131f920b0)
(cherry picked from commit b7c98c81d965d3d9dd54a02505b93fd1bbd0a5df)

8 years agoMerge branch 'parallel-unit-tests' into 'v9_9'
Evan Hunt [Fri, 9 Mar 2018 22:39:28 +0000 (14:39 -0800)] 
Merge branch 'parallel-unit-tests' into 'v9_9'

capture more info from unit tests, run in parallel

See merge request isc-projects/bind9!117

8 years agoallow ATF tests to run in parallel
Evan Hunt [Fri, 9 Mar 2018 22:02:19 +0000 (14:02 -0800)] 
allow ATF tests to run in parallel

(cherry picked from commit ef0b4c91bc9ec7f131d0d4311b9a595e00a2572b)
(cherry picked from commit 787c5d1394ff29e79896b8e4407fabe727e3c5e8)

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

- preserve kyua results database when using kyua

(cherry picked from commit 81c23fecda7ccbd5949d78471bb047cf5e8ac33b)

8 years agoMerge branch 'v9_9_12_patch' into v9_9
Evan Hunt [Thu, 8 Mar 2018 22:30:46 +0000 (14:30 -0800)] 
Merge branch 'v9_9_12_patch' into v9_9

8 years agoMerge branch 'rm-contrib-md' into v9_9
Evan Hunt [Thu, 8 Mar 2018 21:03:42 +0000 (13:03 -0800)] 
Merge branch 'rm-contrib-md' into v9_9

8 years agoremove doc/dev/contrib.md now that CONTRIBUTING.md exists
Evan Hunt [Thu, 8 Mar 2018 20:58:06 +0000 (12:58 -0800)] 
remove doc/dev/contrib.md now that CONTRIBUTING.md exists

8 years agoMerge branch 'remove-bind9-bugs-references' into 'v9_9_12_patch' v9.9.12
Evan Hunt [Thu, 8 Mar 2018 20:54:01 +0000 (12:54 -0800)] 
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

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

(cherry picked from commit efc9bc5d8d7295968cdb61b383ef562a1f8934ff)
(cherry picked from commit 486e79050f98c1cbd119a828044d3d5b7637e473)
(cherry picked from commit 292d6c8a5b9cceb7d1be946f7978b34c494e4853)
(cherry picked from commit 5e88bf24f7ce68277edcec7c030c2567b8f0c024)

8 years agoMerge branch 'remove-bind9-bugs-references' into 'v9_9'
Evan Hunt [Thu, 8 Mar 2018 18:42:43 +0000 (10:42 -0800)] 
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

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

(cherry picked from commit efc9bc5d8d7295968cdb61b383ef562a1f8934ff)
(cherry picked from commit 486e79050f98c1cbd119a828044d3d5b7637e473)
(cherry picked from commit 292d6c8a5b9cceb7d1be946f7978b34c494e4853)

8 years agoMerge branch '133-update-util-check-changes-to-work-on-release-branches-v9_9' into...
Mark Andrews [Thu, 8 Mar 2018 05:20:53 +0000 (16:20 +1100)] 
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

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)

(cherry picked from commit 88a2202093c2b5712f3d1b5b7edc7223b8a02e9a)

8 years agoMerge branch 'prep-release' into v9_9_12_patch
Tinderbox User [Thu, 8 Mar 2018 01:34:47 +0000 (01:34 +0000)] 
Merge branch 'prep-release' into v9_9_12_patch

8 years agoprep 9.9.12
Tinderbox User [Thu, 8 Mar 2018 01:24:50 +0000 (01:24 +0000)] 
prep 9.9.12

8 years agoMerge branch 'longopts-v9_9' into 'v9_9'
Evan Hunt [Wed, 7 Mar 2018 22:35:45 +0000 (14:35 -0800)] 
Merge branch 'longopts-v9_9' into 'v9_9'

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

(cherry picked from commit 4a714bffbca6dee4f3940a9855c15e3214ef10bc)

8 years agoMerge branch 'allow-query' into 'v9_9'
Evan Hunt [Wed, 7 Mar 2018 22:19:55 +0000 (14:19 -0800)] 
Merge branch 'allow-query' into 'v9_9'

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

(cherry picked from commit a9b6bed6af61b33ce58aebe90e5670f0ad569568)
(cherry picked from commit 37a6bb004c5a7b98ce267a5d4b803607cd0f882d)
(cherry picked from commit 2e48caa47676fd62cbc8594cb4b41d5f57620516)

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

(cherry picked from commit ffc3e73c3618d2eb6676ac957e2fd25f1fde9150)
(cherry picked from commit 5d9e3f9b0212a2297d2acd07a8a19d819c7ca715)
(cherry picked from commit de6fe7dd8370176d6982fb203061f011b3d1c924)

8 years agoMerge branch 'fix-notify' into 'v9_9'
Evan Hunt [Tue, 6 Mar 2018 19:48:19 +0000 (11:48 -0800)] 
Merge branch 'fix-notify' into 'v9_9'

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.

(cherry picked from commit ad32553c1d06dcc77542c52ea386ecaea0004f6b)
(cherry picked from commit dff94add3e1989eebdbb570206da4f1050581ff6)
(cherry picked from commit 5a5e476d00e4c5169c9c1d200fc9600c98c7d0bd)

8 years agoMerge branch '110-libirs-do-not-ignore-resolv.conf-syntax-errors-v9_9' into 'v9_9'
Michał Kępień [Tue, 6 Mar 2018 08:25:35 +0000 (09:25 +0100)] 
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

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]

(cherry picked from commit 1f18d3380416b0dc9ae91ee71133532d93d2cfc9)

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.

(cherry picked from commit 6c09f305ae975255210951b75bbb736a4a804453)

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.

(cherry picked from commit 1f400b68a8e6b7a1111151b512eaee2c49bae2ad)

8 years agoMerge branch 'prep-release' into v9_9_12_patch
Tinderbox User [Fri, 2 Mar 2018 21:54:14 +0000 (21:54 +0000)] 
Merge branch 'prep-release' into v9_9_12_patch

8 years agoprep 9.9.12rc2
Tinderbox User [Fri, 2 Mar 2018 21:32:12 +0000 (21:32 +0000)] 
prep 9.9.12rc2

8 years agoMerge branch '124-revert-deadlock' into 'v9_9_12_patch'
Evan Hunt [Fri, 2 Mar 2018 20:18:05 +0000 (12:18 -0800)] 
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

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

(cherry picked from commit 06b52cc939e7edde801c60e04a2e25a557405bfe)

8 years agoMerge branch '124-revert-deadlock-check-v9_12-v9_9' into 'v9_9'
Evan Hunt [Fri, 2 Mar 2018 20:04:35 +0000 (12:04 -0800)] 
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

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

(cherry picked from commit 84ec07999f66c8f639337e08aacbef2274d1d30b)

8 years agoMerge branch 'fix-fetchlimit-v9_9' into 'v9_9'
Michał Kępień [Thu, 1 Mar 2018 14:41:02 +0000 (15:41 +0100)] 
Merge branch 'fix-fetchlimit-v9_9' into 'v9_9'

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

(cherry picked from commit 86838b2a028146142602348285a6b2f89084df80)

8 years agoMerge branch '122-bind-9-10-nsupdate-system-test-fails-v9_9' into 'v9_9'
Michał Kępień [Thu, 1 Mar 2018 12:56:16 +0000 (13:56 +0100)] 
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

8 years agoremove unsupported command line argument (-4) from nsupdate call
Mark Andrews [Thu, 1 Mar 2018 05:44:03 +0000 (16:44 +1100)] 
remove unsupported command line argument (-4) from nsupdate call

(cherry picked from commit ac3d2a0ed9384610288e20565f36acbaa6f7c40b)

8 years agoMerge branch '121-views-system-test-has-wrong-test-strings-for-reload-completion...
Michał Kępień [Wed, 28 Feb 2018 13:57:19 +0000 (14:57 +0100)] 
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

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

(cherry picked from commit 4cb0873a0a44f3b6b6c99e9de5aea10b60d7eb2c)

8 years agoMerge branch '113-minor-testsummary.sh-improvements-v9_9' into 'v9_9'
Evan Hunt [Tue, 27 Feb 2018 18:04:37 +0000 (10:04 -0800)] 
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

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

(cherry picked from commit 38940619c632e7e67c7c34cd3c7ec0cc9ae329f9)

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.

(cherry picked from commit 642e20db8a083cb9ce0e736d217b63fae599b7f0)

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.

(cherry picked from commit 28068857e75482848b67f3d06cb5f336d4cfd9d0)

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.

(cherry picked from commit 9006d6dbbdad0bd2969c401e1e6bb468ffc85324)

8 years agoMerge branch 'test-output-v9_11-v9_10-v9_9' into 'v9_9'
Evan Hunt [Tue, 27 Feb 2018 18:03:23 +0000 (10:03 -0800)] 
Merge branch 'test-output-v9_11-v9_10-v9_9' into 'v9_9'

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

(cherry picked from commit 0e52fbd0b38b4a0dfc56915c821046325b87497d)
(cherry picked from commit d57e8f6df39c68455bfa5a196843abf7d87c0fc0)
(cherry picked from commit 053c06d5e1d29e496b9930b30c581946c21f09a6)

8 years agoMerge branch '98-add-util-git-replay-merge.sh-v9_9' into 'v9_9'
Michał Kępień [Tue, 27 Feb 2018 09:45:08 +0000 (10:45 +0100)] 
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

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

(cherry picked from commit f7fe1e30987ae659d524da4600f79960af7f2259)

8 years agoMerge branch '112-fix-mx-checks-for-dynamic-updates-v9_9' into 'v9_9'
Evan Hunt [Mon, 26 Feb 2018 23:20:49 +0000 (15:20 -0800)] 
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

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]

(cherry picked from commit 1d403f9d3c09960fc443f33bd89d2645f1994b3b)

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.

(cherry picked from commit 857a40c87bb80669ecc5cf1c51301d967e7aba53)

8 years agoMerge branch 'check-for-test-interfaces-before-running-system-tests-v9_9' into 'v9_9'
Evan Hunt [Mon, 26 Feb 2018 23:10:40 +0000 (15:10 -0800)] 
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

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

(cherry picked from commit a8b583e78ba2bda07953ba94ddd7d4128dba8a20)

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.

(cherry picked from commit e0221f2d25a88fb0025070ef35463288114048ea)

8 years agoMerge branch '66-ixfr-system-test-fails-intermittently-v9_9' into 'v9_9'
Evan Hunt [Mon, 26 Feb 2018 23:03:05 +0000 (15:03 -0800)] 
Merge branch '66-ixfr-system-test-fails-intermittently-v9_9' into 'v9_9'

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

(cherry picked from commit 67a8b5ec17b7f252cc96ba11935beb898dd211d6)

8 years agoMerge branch 'fix-merge' into v9_9
Evan Hunt [Mon, 26 Feb 2018 07:08:18 +0000 (23:08 -0800)] 
Merge branch 'fix-merge' into v9_9

8 years agoFix merge error
Evan Hunt [Mon, 26 Feb 2018 07:07:38 +0000 (23:07 -0800)] 
Fix merge error

8 years agoMerge branch '51-fix-cppcheck-detected-source-code-errors-v9_10-v9_9' into 'v9_9'
Mark Andrews [Sun, 25 Feb 2018 23:58:19 +0000 (10:58 +1100)] 
Merge branch '51-fix-cppcheck-detected-source-code-errors-v9_10-v9_9' into 'v9_9'

Resolve "Fix cppcheck-detected source code errors"

Closes #51

See merge request isc-projects/bind9!46

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

(cherry picked from commit 48ca11df5fd8bb95f7fb0dc214b9509dc5b39078)
(cherry picked from commit 9a0373b8965814054e6aab5dd37238d7f28e4c3d)

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

(cherry picked from commit a04bb76973e5d30d0ec7cc268eaa8db2a91934e6)
(cherry picked from commit 8e046acb50ab41ad6bd57565f8d94887e32dff33)

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

(cherry picked from commit b71a1386ed197d97852df604115ca1d2cafef067)
(cherry picked from commit 0beff002bd473c9e44f5841d45f8f55f6f3c1294)

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

(cherry picked from commit e8249dcd49296c408c9358c05f3a969b81634e65)
(cherry picked from commit cdb6c5c106fed052f8695365900b625611515f72)

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

(cherry picked from commit 70d192eb97b532c3a06529324e48cf3ea5f55e22)
(cherry picked from commit 06b7a4397ae113078a13d907cdb9bf2f7a1acd7a)

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

(cherry picked from commit a4186b18672e6698d42aec3a5dd68a3b289c55ec)
(cherry picked from commit d17558a8744db71d389482e75ca74f32d29e9082)

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

(cherry picked from commit f2c22662cc9de5c9be4ec03c7248e177eec26487)
(cherry picked from commit 00799ab8053b2190dcaac3b04a94bd8a3c032dc7)

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

(cherry picked from commit 7b27be54ee9a97ef8caadb08ac6dec0966bdffcb)
(cherry picked from commit 981d548a6660547d444a672092602de8be142a9b)

8 years agoMerge branch 'tidy-runall.sh-environment-variables-v9_11-v9_10-v9_9' into 'v9_9'
Evan Hunt [Sun, 25 Feb 2018 21:34:35 +0000 (13:34 -0800)] 
Merge branch 'tidy-runall.sh-environment-variables-v9_11-v9_10-v9_9' into 'v9_9'

Tidy runall.sh environment variables

See merge request isc-projects/bind9!18

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.

(cherry picked from commit d989d20fe526716c774357ff372b38995e1e5065)
(cherry picked from commit 2cd174dda986f2a49ce821c132459fc45d1044e7)
(cherry picked from commit fdcac29f63c4fae1beb776494994e90032cf1044)

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.

(cherry picked from commit a324031a82a2b312d8f803040dd81eadb554785f)
(cherry picked from commit cbebf7ef5995c7214b63340fd8ac7ef03f8b53d7)
(cherry picked from commit 2f3b3b7affb7754a63ce3a7ca235f685da52fbde)

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.

(cherry picked from commit 3862043879534542a75e40d5e6c0cc09f37f8d6b)
(cherry picked from commit e9c4dbe36147c6ae16dd353793eb7d376ff622a7)
(cherry picked from commit 0e3840e4b4f883fefec42b4b2d369aefd36036f4)

8 years agoMerge branch '71-xfer-system-test-fails-intermittently-v9_12-v9_11-v9_10-v9_9' into...
Evan Hunt [Sun, 25 Feb 2018 21:34:23 +0000 (13:34 -0800)] 
Merge branch '71-xfer-system-test-fails-intermittently-v9_12-v9_11-v9_10-v9_9' into 'v9_9'

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 agoimprove reliability of xfer test
Evan Hunt [Fri, 23 Feb 2018 08:00:09 +0000 (00:00 -0800)] 
improve reliability of xfer test

(cherry picked from commit 5d7d6881a18de57f2c151ef4c58fb3a4fdc2597a)
(cherry picked from commit 09a1a261dc5c8e1f90a5a1f53078ea0796c3466a)
(cherry picked from commit 948bd83ce507140a69e3b5efb7a92a3dd992883b)
(cherry picked from commit 4160936c928a0bb743158e33d11afe70de565af6)