Commit Graph
29890 Commits
Author SHA1 Message Date
Michal Nowak ec59e49cc1 Gather debug info on broken unit tests
(cherry picked from commit 6a94e6ba73)
2020-01-06 12:05:04 +00:00
Michał Kępień 2af284cc9f Merge branch 'michal/misc-doc-fixes-v9_14' into 'v9_14'
[v9_14] Miscellaneous documentation fixes

See merge request isc-projects/bind9!2804
2020-01-03 08:26:00 +00:00
Michał Kępień 6862007939 Fix minor CHANGES issues
(cherry picked from commit 56f388cae1)
2020-01-03 09:08:09 +01:00
Michał Kępień fbe12036df Fix whitespace in release notes
(cherry picked from commit b2f3eaf188)
2020-01-03 09:08:09 +01:00
Michał Kępień 635d915268 Prevent splitting GitLab identifiers across lines
GitLab issue and merge request numbers placed in release notes (in the
form of "#1234" for issues and "!5678" for merge requests) should not be
split across two lines.  Extend the shell pipeline generating
doc/arm/notes.txt with a sed invocation which prevents such splitting.

(cherry picked from commit 2d00143ab1)
2020-01-03 09:08:09 +01:00
Evan Hunt 5301d8c77f Merge branch 'each-copyrights-v9_14' into 'v9_14'
update copyright year to 2020

See merge request isc-projects/bind9!2802
2020-01-03 05:53:15 +00:00
Evan Hunt 6e73d3266c update copyright year to 2020 2020-01-02 21:47:16 -08:00
Mark Andrews e5875ec558 Merge branch '1530-lib-dns-gen-c-29-26-fatal-error-isc-platform-h-no-such-file-or-directory-v9_14' into 'v9_14'
Resolve "lib/dns/gen.c:29:26: fatal error: isc/platform.h: No such file or directory"

See merge request isc-projects/bind9!2793
2019-12-22 21:50:23 +00:00
Mark Andrews ebc43d8d66 remove duplicate #includes
(cherry picked from commit 848c1c8b8b)
2019-12-23 08:20:35 +11:00
Mark Andrews 171f2ab8d6 revert d10fbdec for lib/dns/gen.c as it is a build platform executable
(cherry picked from commit 7278f2529a)
2019-12-23 08:20:35 +11:00
Mark Andrews 19079bbec0 Merge branch '1501-summary-threadsanitizer-lock-order-inversion-potential-deadlock-in-pthread_rwlock_wrlock-v9_14' into 'v9_14'
Resolve "SUMMARY: ThreadSanitizer: lock-order-inversion (potential deadlock) in pthread_rwlock_wrlock - zone_postload"

See merge request isc-projects/bind9!2789
2019-12-20 11:41:05 +00:00
Mark Andrews 7f04f2f252 Refactor loop body as copy_non_dnssec_records.
(cherry picked from commit d26e125438)
2019-12-20 22:05:24 +11:00
Ondřej SurýandMark Andrews 364f232da8 Add failure handling when iterators don't end with ISC_R_NOMORE
(cherry picked from commit bff83b9480)
2019-12-20 22:02:32 +11:00
Ondřej SurýandMark Andrews a2cf6090b2 Refactor receive_secure_db to make the variables and code flow around the iterator more local
(cherry picked from commit 6012479419)
2019-12-20 22:02:32 +11:00
Mark Andrews 37567e0106 Call dns_dbiterator_destroy earlier to prevent potential deadlock.
(cherry picked from commit 9d8f9cc8f2)
2019-12-20 22:02:32 +11:00
Mark Andrews c45da64953 Merge branch '1523-pkcs11-destroy-s-usage-message-is-misleading-v9_14' into 'v9_14'
update usage message

See merge request isc-projects/bind9!2787
2019-12-20 09:24:30 +00:00
Mark Andrews 631ac188ee update usage message
(cherry picked from commit 41d827893e)
2019-12-20 20:04:36 +11:00
Mark Andrews 818fdd0490 Merge branch 'feature/master/maxminddb-version-v9_14' into 'v9_14'
Feature/master/maxminddb version v9 14

See merge request isc-projects/bind9!2778
2019-12-18 00:57:50 +00:00
Mark Andrews 299fdfc76f add CHANGES
(cherry picked from commit 2f2bc03b2d)
2019-12-18 00:31:43 +00:00
Petr MenšíkandMark Andrews e37d8aecba Include protobuf-c version
Include used version of protobuf-c in version info, both link time and
runtime version is available.

(cherry picked from commit 85f3476894)
2019-12-18 00:31:43 +00:00
Petr MenšíkandMark Andrews 412d7724ae Provide GeoIP2 library version in version
Libmaxmind does not provide any version macro for link time version.
Print at least runtime version library used, if linked.

(cherry picked from commit e6d7384c0d)
2019-12-18 00:31:43 +00:00
Mark Andrews ce2cf874fd Merge branch 'ondrej/remove-too-generic-node_count-macro-from-dns_acl-v9_14' into 'v9_14'
Change the (acl)->node_count macro to dns_acl_node_count(acl) macro to clean the global namespace

See merge request isc-projects/bind9!2779
2019-12-18 00:30:53 +00:00
Ondřej SurýandMark Andrews f42d1be5fa Change the (acl)->node_count macro to dns_acl_node_count(acl) macro to clean the global namespace
(cherry picked from commit 8120088ec7)
2019-12-18 11:11:31 +11:00
Ondřej Surý 065d19c023 Merge branch '1423-threadsanitizer-data-race-time-c-170-in-isc_time_nowplusinterval-v9_14' into 'v9_14'
Ensure all zone_settimer() calls are done on locked zone

See merge request isc-projects/bind9!2769
2019-12-12 15:37:36 +00:00
Ondřej Surý 8eac1d365d Ensure all zone_settimer() calls are done on locked zone
(cherry picked from commit cf48e8eb32)
2019-12-12 16:12:51 +01:00
Mark Andrews caafeb6c7e Merge branch '1486-threadsanitizer-lock-order-inversion-potential-deadlock-dns_resolver_createfetch-vs-v9_14' into 'v9_14'
make resolver->zspill atomic to prevent potential deadlock

See merge request isc-projects/bind9!2765
2019-12-12 10:05:05 +00:00
Mark Andrews 02874aa472 make resolver->zspill atomic to prevent potential deadlock
(cherry picked from commit 62abb6aa82)
2019-12-12 20:22:22 +11:00
Evan Hunt 623e23e296 Merge branch 'prep-release-v9_14_9' into 'v9_14'
Prep 9.14.9

See merge request isc-projects/bind9!2762
v9.14.9
2019-12-12 06:12:17 +00:00
Tinderbox User b247e541b0 Merge branch 'prep-release' into v9_14 2019-12-12 06:09:31 +00:00
Tinderbox User 84e68460cc prep 9.14.9 2019-12-12 06:09:19 +00:00
Evan Hunt 9b98a59634 Merge branch 'michal/add-empty-release-notes-section-for-bind-9.14.9' into 'v9_14'
Add empty release notes section for BIND 9.14.9

See merge request isc-projects/bind9!2754
2019-12-11 22:12:02 +00:00
Michał KępieńandEvan Hunt f23f682860 Add empty release notes section for BIND 9.14.9 2019-12-11 22:11:38 +00:00
Michal Nowak 4c63562fe6 Merge branch 'mnowak/fedora31-v9.14' into 'v9_14'
[9.14] Update GitLab CI to Fedora 31

See merge request isc-projects/bind9!2758
2019-12-11 16:33:34 +00:00
Michal Nowak fde281f653 Update GitLab CI to Fedora 31
Since Fedora 31 is the current Fedora release, replace Fedora 30 GitLab
CI jobs with their up-to-date counterparts.

(cherry picked from commit b36f5496237f0dbb84d7541140e87d7da475cd36)
2019-12-11 16:33:33 +00:00
Michał Kępień 56e54fb201 Merge branch 'michal/create-release-tarballs-in-gitlab-ci-v9_14' into 'v9_14'
[v9_14] Create release tarballs in GitLab CI

See merge request isc-projects/bind9!2752
2019-12-11 12:31:13 +00:00
Michał Kępień 7e13a1f7e9 Add a job creating a release tarball to GitLab CI
Add a GitLab CI job (which is run only if all other jobs in a pipeline
succeed) that builds a BIND release tarball, i.e. fetches the source
tarball from the tarball building job, creates Windows zips, puts
certain parts of BIND documentation into the appropriate places, and
packs it all up into a single tarball whose contents can be subsequently
signed and published.

(cherry picked from commit 5a4a6b5e91)
2019-12-11 12:26:48 +01:00
Michał Kępień 7c586d3ac6 Add a Windows debug system test job to GitLab CI
Add a system test job for binaries created by Visual Studio in the
"Debug" build configuration to GitLab CI so that they can be tested
along their "Release" counterparts when necessary.

(cherry picked from commit 2b1c8c54d1)
2019-12-11 12:26:37 +01:00
Michał Kępień 01598c5c2a Add a Windows debug build job to GitLab CI
Add a Visual Studio build job using the "Debug" build configuration to
GitLab CI without enabling it for every pipeline as it takes about twice
as long to complete as its "Release" counterpart.

(cherry picked from commit 12564928a7)
2019-12-11 12:26:11 +01:00
Michał Kępień d1b120d3bd Create and test BIND source tarballs in GitLab CI
Add a set of jobs to GitLab CI that create a BIND source tarball and
then build and test its contents.  Run those extra jobs only when a tag
is pushed to the Git repository as they are only meant to be sanity
checks of BIND source tarball contents.

(cherry picked from commit 8d56749046)
2019-12-11 12:24:17 +01:00
Michał Kępień f60cd0c730 Include prepare-softhsm2.sh in source tarballs
The util/prepare-softhsm2.sh script is useful for initializing a working
SoftHSM environment which can be used by unit tests and system tests.
However, since it is a test-specific script, it does not really belong
in the util/ subdirectory which is mostly pruned during the BIND source
tarball creation process.  Move the prepare-softhsm2.sh script to
bin/tests/ so that its location is more appropriate for its purpose and
also so that it does not get removed during the BIND source tarball
creation process, allowing it to be used for setting up test
environments for tarball-based builds.

(cherry picked from commit c0be772ebc)
2019-12-11 12:23:20 +01:00
Michał Kępień 89cccc53ba List paths which should be excluded from tarballs
Convert the logic (currently present in the form of "rm -rf" calls in
util/kit.sh) for removing files and directories which are tracked by Git
but redundant in release tarballs into a set of .gitattributes rules
which allow the same effect to be achieved using "git archive".

(cherry picked from commit 925ecb0aae)
2019-12-11 12:22:14 +01:00
Mark Andrews 872462fe7b Merge branch '1411-threadsanitizer-data-race-resolver-c-2153-in-fctx_query-v9_14' into 'v9_14'
Resolve "ThreadSanitizer: data race resolver.c:2153 in fctx_query"

See merge request isc-projects/bind9!2748
2019-12-11 00:35:59 +00:00
Mark Andrews e40c1582d6 Note bucket lock requirements and move REQUIRE inside locked section.
(cherry picked from commit 13aaeaa06f)
2019-12-11 11:01:59 +11:00
Mark Andrews 0de313fff7 lock access to fctx->nqueries
(cherry picked from commit 5589748eca)
2019-12-11 11:01:59 +11:00
Mark Andrews bd6a5a9993 Merge branch '1441-threadsanitizer-lock-order-inversion-potential-deadlock-usr-lib-x86_64-linux-gnu-libtsan-so-0-v9_14' into 'v9_14'
address deadlock introduced in cd2469d3cd

See merge request isc-projects/bind9!2743
2019-12-10 13:04:22 +00:00
Mark Andrews 8bd8ed26ed address deadlock introduced in cd2469d3cd
(cherry picked from commit fd52417f71)
2019-12-10 23:38:53 +11:00
Michał Kępień 7242c4fbd7 Merge branch '1465-fix-idna-system-test-v9_14' into 'v9_14'
[v9_14] Fix the "idna" system test

See merge request isc-projects/bind9!2741
2019-12-10 11:28:43 +00:00
Michał Kępień 7c14f67d74 Only use LC_ALL=C where intended
The LC_ALL=C assignments in the "idna" system test, which were only
meant to affect a certain subset of checks, in fact persist throughout
all the subsequent checks in that system test.  That affects the test's
behavior and is misleading.

When the "VARIABLE=value command ..." syntax is used in a shell script,
in order for the variable assignment to only apply to "command", the
latter must be an external binary; otherwise, the VARIABLE=value
assignment persists for all subsequent commands in a script:

    $ cat foo.sh
    #!/bin/sh

    foo() {
        /bin/sh bar.sh
    }

    BAR="baz0"
    BAR="baz1" /bin/sh bar.sh
    echo "foo: BAR=${BAR}"
    BAR="baz2" foo
    echo "foo: BAR=${BAR}"

    $ cat bar.sh
    #!/bin/sh

    echo "bar: BAR=${BAR}"

    $ /bin/sh foo.sh
    bar: BAR=baz1
    foo: BAR=baz0
    bar: BAR=baz2
    foo: BAR=baz2
    $

Fix by saving the value of LC_ALL before the relevant set of checks in
the "idna" system test, restoring it afterwards, and dropping the
"LC_ALL=C command ..." syntax.

(cherry picked from commit 2ee7ff23ce)
2019-12-10 11:57:57 +01:00
Matthijs Mekking 18d314fa64 Merge branch '1457-intermittent-failure-autosign-v9_14' into 'v9_14'
Resolve "Intermittent failure in the autosign system test"

See merge request isc-projects/bind9!2732
2019-12-09 15:30:27 +00:00
Matthijs Mekking 6658c11251 Better error handling in autosign system test
(cherry picked from commit bd4035900a)
2019-12-09 16:01:53 +01:00