Commit Graph

28454 Commits

Author SHA1 Message Date
Tinderbox User
d050ec2429 prep 9.11.17
Bumped the version file and added release line in CHANGES.

API files:
- lib/bind9/api:
  No changes because only changes in comments.
- lib/dns/api:
  Increment LIBINTERFACE because of the added field structure in
  dns_struct_update.
- lib/isc/api:
  Increment LIBINTERFACE because of the PKCS#11 replacement.
- lib/isccc/api:
  No changes because no source code changes.
- lib/isccfg/api:
  Increment LIBREVISION because of minor source code changes.
- lib/lwres/api:
  No changes because no source code changes.

I decided no changes to README.md or the release notes were necessary.

Perflab graphs look sane.
2020-03-20 10:31:29 +01:00
Ondřej Surý
05c2c35cdb Merge branch 'ondrej/remove-serve-stale-options-from-v9_11' into 'v9_11'
Remove serve stale options from v9 11

See merge request isc-projects/bind9!3265
2020-03-19 11:18:35 +00:00
Ondřej Surý
6641024bab Revert "arm: document resolver-nonbackoff-tries and resolver-retry-interval"
This reverts commit bedefad22d.
2020-03-19 11:59:38 +01:00
Mark Andrews
0fa64e6682 Merge branch '1679-handle-systems-with-broken-gettimeofday-system-calls' into 'v9_11'
Resolve "Handle systems with broken gettimeofday system calls"

See merge request isc-projects/bind9!3232
2020-03-18 07:20:37 +00:00
Mark Andrews
0ddfa675e4 Just return tv_sec field 2020-03-18 06:36:10 +00:00
Evan Hunt
4b1e020deb Merge branch 'each-lgtm-fixes-v9_11' into 'v9_11'
fix LGTM warnings

See merge request isc-projects/bind9!3250
2020-03-18 00:07:39 +00:00
Ondřej Surý
5ae4d3d94a Add C11 localtime_r and gmtime_r shims for Windows
On Windows, C11 localtime_r() and gmtime_r() functions are not
available.  While localtime() and gmtime() functions are already thread
safe because they use Thread Local Storage, it's quite ugly to #ifdef
around every localtime_r() and gmtime_r() usage to make the usage also
thread-safe on POSIX platforms.

The commit adds wrappers around Windows localtime_s() and gmtime_s()
functions.

NOTE: The implementation of localtime_s and gmtime_s in Microsoft CRT
are incompatible with the C standard since it has reversed parameter
order and errno_t return type.

(cherry picked from commit 08f4c7d6c0)
2020-03-17 15:45:35 -07:00
Evan Hunt
bdb8e3ad85 silence a warning about unsafe snprintf() call
(cherry picked from commit ec95b84e8d)
2020-03-17 15:42:14 -07:00
Evan Hunt
c16c095b32 replace unsafe ctime() and gmtime() function calls
This silences LGTM warnings that these functions are not thread-safe.

(cherry picked from commit 5703f70427)
2020-03-17 15:39:08 -07:00
Evan Hunt
beaca3e8db remove or comment empty conditional branches
some empty conditional branches which contained a semicolon were
"fixed" by clang-format to contain nothing. add comments to prevent this.

(cherry picked from commit 735be3b816)
2020-03-17 15:39:03 -07:00
Evan Hunt
fa320d03a2 Merge branch '1684-timer-test-build-v9_11' into 'v9_11'
fix a pointer-to-int cast error

See merge request isc-projects/bind9!3248
2020-03-17 20:27:23 +00:00
Evan Hunt
1dbd238c15 fix a pointer-to-int cast error
(cherry picked from commit 6b76646037)
2020-03-17 13:16:07 -07:00
Michał Kępień
6c93fb890d Merge branch 'michal/update-gitlab-ci-to-freebsd-12.1-v9_11' into 'v9_11'
[v9_11] Update GitLab CI to FreeBSD 12.1

See merge request isc-projects/bind9!3241
2020-03-16 19:05:32 +00:00
Michał Kępień
e81e1fc458 Move FreeBSD CI jobs to libvirt-based executors
To get rid of the currently used FreeBSD-specific executor, move FreeBSD
CI jobs to libvirt-based executors.  Make the necessary tag and variable
adjustments.

(cherry picked from commit 80618b5378)
2020-03-16 11:40:18 +01:00
Michał Kępień
cc39ce5b04 Update GitLab CI to FreeBSD 12.1
Since FreeBSD 12.1 is the current FreeBSD 12.x release, replace FreeBSD
12.0 GitLab CI jobs with their up-to-date counterparts.

(cherry picked from commit 4c68b56246)
2020-03-16 11:40:16 +01:00
Mark Andrews
4f6a696487 Merge branch '1681-compile-error-geoip_test-c-maxminddb-h-file-not-found-v9_11' into 'v9_11'
Add MAXMINDDB_CFLAGS to CINCLUDES

See merge request isc-projects/bind9!3237
2020-03-16 10:02:33 +00:00
Mark Andrews
f438d7f0e6 Add MAXMINDDB_CFLAGS to CINCLUDES
(cherry picked from commit 81a80274bd)
2020-03-16 18:53:20 +11:00
Mark Andrews
0ffc3097db Merge branch '1676-address-timing-issue-in-forward-system-test-v9_11' into 'v9_11'
wait for the reply message before checking to avoid false negative.

See merge request isc-projects/bind9!3231
2020-03-16 00:15:37 +00:00
Mark Andrews
614381a936 wait for the reply message before checking to avoid false negative.
Waiting for the reply message will ensure that all messages being
looked for exist in the logs at the time of checking.  When the
test was only waiting for the send message there was a race between
grep and the ns1 instance of named logging that it had seen the
request.

(cherry picked from commit a38a324442)
2020-03-16 10:52:31 +11:00
Mark Andrews
5101eb0268 Merge branch '1655-bind-9-11-5-writes-syntax-errors-to-its-zone-cache-v9_11' into 'v9_11'
Resolve "BIND 9.11.5 writes syntax errors to its zone cache"

See merge request isc-projects/bind9!3227
2020-03-13 05:11:15 +00:00
Mark Andrews
c31f909357 Add CHANGES note
(cherry picked from commit c9c59db5b3)
2020-03-13 15:49:44 +11:00
Mark Andrews
4166d06042 Quote zone name so that specials are handled
(cherry picked from commit 59498ce17f)
2020-03-13 15:49:44 +11:00
Mark Andrews
be900e9ba7 Pass NUL terminated buffer name to cfg_parse_buffer
(cherry picked from commit 91efc587b2)
2020-03-13 15:49:44 +11:00
Mark Andrews
be57cd016c Test reloading of zones with special
(cherry picked from commit ad030332bd)
2020-03-13 15:03:49 +11:00
Mark Andrews
f5ef7566f8 Merge branch 'marka-maybe-silence-missing-unlock-v9_11' into 'v9_11'
Silence missing unlock from Coverity.

See merge request isc-projects/bind9!3225
2020-03-13 03:05:33 +00:00
Mark Andrews
e62b2b2933 Silence missing unlock from Coverity.
Save 'i' to 'locknum' and use that rather than using
'header->node->locknum' when performing the deferred
unlock as 'header->node->locknum' can theoretically be
different to 'i'.

(cherry picked from commit 8dd8d48c9f)
2020-03-13 13:37:04 +11:00
Mark Andrews
08ce059f2e Merge branch '1652-nslookup-assertion-at-soa_6-c-302-require-rdata-length-0-failed-back-trace-v9_11' into 'v9_11'
Resolve "nslookup: assertion at soa_6.c:302: REQUIRE(rdata->length != 0) failed, back trace"

See merge request isc-projects/bind9!3223
2020-03-13 01:32:54 +00:00
Mark Andrews
0cf8585b81 Check that dig/host/nslookup handle a UPDATE response.
Additionally check that "delete $qname SOA" in the update
reponse doesn't trigger a insertion in nslookup.

(cherry picked from commit 6593cf0b5a)
2020-03-13 12:17:21 +11:00
Mark Andrews
b81b37b645 Report opcode mismatch
(cherry picked from commit bb7576cc9b)
2020-03-13 12:17:21 +11:00
Mark Andrews
8609fcd90a turn off best effort processing in host and add the ability to specify the port
(cherry picked from commit 4a7b9dba61)
2020-03-13 12:17:21 +11:00
Mark Andrews
0af5f5a3ec turn off best effort processing in nslookup
(cherry picked from commit d1cb30e747)
2020-03-13 11:49:05 +11:00
Evan Hunt
2d49377a44 Merge branch '864-zone-type-table-in-arm-needs-improvement-v9_11' into 'v9_11'
Resolve "zone type table in ARM needs improvement"

See merge request isc-projects/bind9!3219
2020-03-12 10:01:08 +00:00
Evan Hunt
67f0ab7fb3 build doc 2020-03-12 02:34:12 -07:00
Evan Hunt
b460efaf52 improve readability of bibliogrpahy
Change <biblioentry> and <citetitle> sections to improve the readability
of the bibliography sections. Thanks to Sun Guonian.
2020-03-12 02:29:41 -07:00
Mark Andrews
ab525066cb use relative widths for zone table 2020-03-12 02:29:25 -07:00
Michal Nowak
e12bbaf256 Merge branch 'mnowak/abi-tracker-helper-v9_11' into 'v9_11'
[v9_11] Add API Checker

See merge request isc-projects/bind9!3204
2020-03-10 09:03:17 +00:00
Michal Nowak
14cf92debe Add API Checker
ABI checker tools generate HTML and TXT API compatibility reports of
BIND libraries. Comparison is being done between two bind source trees
which hold built BIND.

In the CI one version is the reference version defined by
BIND_BASELINE_VERSION variable, the latter one is the HEAD of branch
under test.

(cherry picked from commit 49bc08e612)
2020-03-10 09:59:22 +01:00
Evan Hunt
6b82b82e86 Merge branch '1664-double-unlock-v9_11' into 'v9_11'
remove redundant ZONEDB_UNLOCK

See merge request isc-projects/bind9!3199
2020-03-10 00:23:58 +00:00
Evan Hunt
fca5137622 remove redundant ZONEDB_UNLOCK
(cherry picked from commit b54454b7c6)
2020-03-09 16:52:58 -07:00
Michał Kępień
f324c3b74e Merge branch 'michal/do-not-run-openbsd-system-test-jobs-for-tags-v9_11' into 'v9_11'
[v9_11] Do not run OpenBSD system test jobs for tags

See merge request isc-projects/bind9!3190
2020-03-09 13:36:45 +00:00
Michał Kępień
d4c9130891 Do not run OpenBSD system test jobs for tags
OpenBSD virtual machines seem to affected particularly badly by other
activity happening on the host.  This causes trouble around release
time: when multiple tags are pushed to the repository, a large number of
jobs is started concurrently on all CI runners.  In extreme cases, this
causes the system test suite to run for about an hour (!) on OpenBSD
VMs, with multiple tests failing.  We investigated the test artifacts
for all such cases in the past and the outcome was always the same: test
failures were caused by extremely slow I/O on the guest.  We tried
various tricks to work around this problem, but nothing helped.

Given the above, stop running OpenBSD system test jobs for pending BIND
releases to prevent the results of these jobs from affecting the
assessment of a given release's readiness for publication.  This change
does not affect OpenBSD build jobs.  OpenBSD system test jobs will still
be run for scheduled and web-requested pipelines, to make sure we catch
any severe issues with test code on that platform sooner or later.

(cherry picked from commit 7b002cea83)
2020-03-09 14:34:32 +01:00
Mark Andrews
8daed138f7 Merge branch '1628-release-process-failed-to-detect-that-header-file-was-not-installed-v9_11' into 'v9_11'
test installed header files

See merge request isc-projects/bind9!3177
2020-03-06 03:03:24 +00:00
Mark Andrews
c8025d8fed test installed header files
(cherry picked from commit a278b6bd84)
2020-03-06 13:23:48 +11:00
Mark Andrews
61365bd65e Merge branch 'marka-install-missing-header-files-v9_11' into 'v9_11'
Fix lists of installed header files

See merge request isc-projects/bind9!3179
2020-03-06 02:18:42 +00:00
Mark Andrews
8fce52189e Fix lists of installed header files 2020-03-06 13:09:47 +11:00
Mark Andrews
6c3e406d2b Merge branch 'marka-sort-AC_CONFIG_FILES-v9_11' into 'v9_11'
sort AC_CONFIG_FILES

See merge request isc-projects/bind9!3170
2020-03-05 22:32:53 +00:00
Mark Andrews
197842c1b7 sort AC_CONFIG_FILES
(cherry picked from commit fd0d4ba948)
2020-03-06 08:54:53 +11:00
Michal Nowak
2fbfaaabd8 Merge branch 'mnowak/respdiff-v9_11' into 'v9_11'
[v9_11] Add respdiff job

See merge request isc-projects/bind9!3166
2020-03-05 14:49:14 +00:00
Michal Nowak
45d59c50df Add respdiff job
This job leverages respdiff test from the private bind-qa repo.

(cherry picked from commit 04f8b65a8f)
2020-03-05 12:24:16 +01:00
Michal Nowak
7edcbf14e9 Merge branch 'mnowak/pkcs11-test-fix-v9_11' into 'v9_11'
[v9_11] Fix "pkcs11" system test

See merge request isc-projects/bind9!3161
2020-03-05 07:37:52 +00:00