Commit Graph

28285 Commits

Author SHA1 Message Date
Mark Andrews
ccab27b073 add final 'c' to 'badcache.c' in Makefile.in
(cherry picked from commit 68a360772f)
2020-01-31 11:23:47 +11:00
Michał Kępień
430555e726 Merge branch 'michal/list-atypical-failures-in-system-test-summary-v9_11' into 'v9_11'
[v9_11] List atypical failures in system test summary

See merge request isc-projects/bind9!2975
2020-01-29 14:43:07 +00:00
Michał Kępień
bd6bc659c2 List atypical failures in system test summary
Each system test can be marked as failed not only due to some tested
component(s) not behaving as expected, but also because of core dumps,
assertion failures, and/or ThreadSanitizer reports being found among its
artifacts.  Make the system test summary list the tests which exhibit
such atypical symptoms to more clearly present the nature of problems
found.

(cherry picked from commit a8836b381f)
2020-01-29 14:51:00 +01:00
Mark Andrews
9df0d64441 Merge branch '1508-case-system-test-failed-v9_11' into 'v9_11'
wait longer for dynamic zone to be transfered

See merge request isc-projects/bind9!2972
2020-01-28 23:04:21 +00:00
Mark Andrews
173b8216ab wait longer for dynamic zone to be transfered
(cherry picked from commit 7b0ba6eb10)
2020-01-29 08:25:08 +11:00
Evan Hunt
aa8b32efa9 Merge branch 'each-merge-doc-v9_11_15' into 'v9_11'
merge doc from 9.11.15 release

See merge request isc-projects/bind9!2963
2020-01-27 22:41:32 +00:00
Tinderbox User
6b5916325f regen v9_11 2020-01-27 11:10:16 -08:00
Tinderbox User
296ccbf479 prep 9.11.15
Update the API files.
- lib/dns:
  - struct resolver has added elements, this is an interface change
    and thus LIBINTERFACE is incremented, and LIBREVISION is reset.
  - Since this also means an interface change since the last public
    release, also reset LIBAGE.
- lib/isc:
  - The library source code changed, so increment LIBREVISION.
- lib/isccfg:
  - The library source code changed, so increment LIBREVISION.

Update other files:
- No changes needed to the README, this is a small bugfix release.
- Fix a bad version xml:id in the release notes.
2020-01-27 11:10:16 -08:00
Mark Andrews
849c88e8fc Merge branch '1579-dnstap-system-test-appears-to-be-timing-sensitive-v9_11' into 'v9_11'
Resolve "dnstap system test appears to be timing sensitive"

See merge request isc-projects/bind9!2959
2020-01-23 21:59:56 +00:00
Mark Andrews
772be0174a wait for the ./NS lookup to complete
(cherry picked from commit 9b6df37303)
2020-01-24 08:20:32 +11:00
Mark Andrews
a262ff515b check that all servers have finished loading before beginging tests
(cherry picked from commit 4a992c7a18)
2020-01-24 08:20:31 +11:00
Mark Andrews
20716074e9 Merge branch 'marka-signing-clear-notify-v9_11' into 'v9_11'
Send NOFITY messages after deleting private-type records.

See merge request isc-projects/bind9!2954
2020-01-23 13:31:58 +00:00
Tony Finch
ec499f7165 Send NOFITY messages after deleting private-type records.
The `rndc signing -clear` command cleans up the private-type records
that keep track of zone signing activity, but before this change it
did not tell the secondary servers that the zone has changed.

(cherry picked from commit f3f7b7df5d)
2020-01-24 00:03:56 +11:00
Evan Hunt
640ff5aca3 Merge branch '1540-bind-aborts-when-queried-for-non-existing-domain-in-chaos-class-v9_11' into 'v9_11'
Resolve "bind 9.14.8 and 9.14.9 aborts when queried for non-existing domain in chaos class"

See merge request isc-projects/bind9!2949
2020-01-22 21:36:25 +00:00
Evan Hunt
03cc8de5a2 CHANGES
(cherry picked from commit 42e1fb8322)
2020-01-22 13:17:57 -08:00
Diego Fronza
b3acca3107 Fixed crash when querying for non existing domain in chaos class
Function dns_view_findzonecut in view.c wasn't correctly handling
classes other than IN (chaos, hesiod, etc) whenever the name being
looked up wasn't in cache or in any of the configured zone views' database.

That resulted in a NULL fname being used in resolver.c:4900, which
in turn was triggering abort.

(cherry picked from commit 85555f29d7)
2020-01-22 13:08:52 -08:00
Mark Andrews
2f5c441181 Merge branch 'marka-Psync-future-v9_14-v9_11' into 'v9_11'
dnssec: do not publish CDS records when -Psync is in the future

See merge request isc-projects/bind9!2938
2020-01-22 01:42:38 +00:00
Mark Andrews
9787ce6054 dnssec: do not publish CDS records when -Psync is in the future
This is a bug I encountered when trying to schedule an algorithm
rollover. My plan, for a zone whose maximum TTL is 48h, was to sign
with the new algorithm and schedule a change of CDS records for more
than 48 hours in the future, roughly like this:

    $ dnssec-keygen -a 13 -fk -Psync now+50h $zone
    $ dnssec-keygen -a 13 $zone
    $ dnssec-settime -Dsync now+50h $zone_ksk_old

However the algorithm 13 CDS was published immediately, which could
have made the zone bogus.

To reveal the bug using the `smartsign` test, this change just adds a
KSK with all its times in the future, so it should not affect the
existing checks at all. But the final check (that there are no CDS or
CDSNSKEY records after -Dsync) fails with the old `syncpublish()`
logic, because the future key's sync records appear early. With the
new `syncpublish()` logic the future key does not affect the test, as
expected, and it now passes.

(cherry picked from commit 4227b7969b)
(cherry picked from commit 2db5a2539a)
2020-01-22 12:19:01 +11:00
Michal Nowak
d9e733b2c3 Merge branch 'mnowak/enhance_unit_test_debugging-v9_11' into 'v9_11'
[v9_11] Omit spurious string from unit test debugging efforts

See merge request isc-projects/bind9!2937
2020-01-21 17:50:34 +00:00
Michal Nowak
85108f7649 Omit spurious string from unit test debugging efforts
When both 'broken' and 'failed' test cases appear in unit test output

...
===> Broken tests
lib/isc/tests/socket_test:main  ->  broken: Test case timed out  [300.022s]
===> Failed tests
lib/isc/tests/time_test:main  ->  failed: 2 of 6 tests failed  [0.006s]
===> Summary
...

spurious '===>' string gets matched, that results in the following
error:

  Usage error for command debug: '===>' is not a test case identifier (missing ':'?).

Following change makes sure the string is omitted.

I checked on FreeBSD and OpenBSD that the AWK construct is supported.

(cherry picked from commit 9e6f6156f7)
2020-01-21 17:50:34 +00:00
Witold Krecicki
c2350e7b3b Merge branch 'wpk/fix-inline-test-v9_11' into 'v9_11'
tests: add a missing log nextpart in inline test

See merge request isc-projects/bind9!2935
2020-01-21 15:43:19 +00:00
Witold Kręcicki
e18cdac443 tests: add a missing log nextpart in inline test 2020-01-21 16:15:07 +01:00
Ondřej Surý
32fa45d19c Merge branch 'ondrej/lower-the-artifact-expiration-time-to-just-12-hours-v9_11' into 'v9_11'
Lower the artifact expiration time to just 1 day

See merge request isc-projects/bind9!2932
2020-01-21 12:14:30 +00:00
Ondřej Surý
86c297fb20 Lower the artifact expiration time to just 1 day
(cherry picked from commit 27a9be3034)
2020-01-21 13:12:41 +01:00
Mark Andrews
33e59450e9 Merge branch 'marka-omit-spurious-newlines-v9_11' into 'v9_11'
Omit spurious newlines when reporting DNSKEY changes

See merge request isc-projects/bind9!2924
2020-01-21 05:54:50 +00:00
Tony Finch
353814fc09 Omit spurious newlines when reporting DNSKEY changes
These caused blank lines to appear in the logs.

(cherry picked from commit 3b1bd3f48b)
2020-01-21 16:34:20 +11:00
Mark Andrews
f671f3452a Merge branch 'marka-document-authors-bind-v9_11' into 'v9_11'
document that version also controls authors.bind

See merge request isc-projects/bind9!2921
2020-01-21 04:25:36 +00:00
Mark Andrews
50fbacc01b document that version also controls authors.bind
(cherry picked from commit 05c6a29c87)
2020-01-21 15:05:22 +11:00
Mark Andrews
29c86c7c69 Merge branch '1537-nslookup-manual-page-needs-update-for-default-querytype-a-and-aaaa-v9_11' into 'v9_11'
document that nslookup defaults to A + AAAA lookups

See merge request isc-projects/bind9!2917
2020-01-20 02:22:21 +00:00
Mark Andrews
2eb1b00d24 document that nslookup defaults to A + AAAA lookups
(cherry picked from commit 938fc81493)
2020-01-20 10:48:25 +11:00
Mark Andrews
714384b8f8 Merge branch 'marka-check-CHANGES-SE-in-CI-v9_11' into 'v9_11'
check that CHANGES.SE entries are correctly ordered and that whitespace is correct

See merge request isc-projects/bind9!2914
2020-01-19 23:18:37 +00:00
Mark Andrews
6c14221ecd check that CHANGES.SE entries are correctly ordered and that whitespace is correct
(cherry picked from commit 05f2ba973f)
2020-01-18 08:10:51 +11:00
Michał Kępień
235765a8ce Merge branch 'michal/make-retry_quiet-available-on-windows' into 'v9_11'
Make retry_quiet() available on Windows

See merge request isc-projects/bind9!2911
2020-01-16 20:38:21 +00:00
Michał Kępień
c9a12b8a1b Make retry_quiet() available on Windows
When retry_quiet() was backported to v9_11, it was only placed in
bin/tests/system/conf.sh.in, but not in bin/tests/system/conf.sh.win32.
This prevents every system test which employs this shell function either
directly or indirectly from ever succeeding on Windows.  Fix by copying
the definition of retry_quiet() to bin/tests/system/conf.sh.win32.
2020-01-16 21:37:06 +01:00
Matthijs Mekking
0ee0b251b4 Merge branch 'prepare-release-notes-for-bind-9-11.15' into 'v9_11'
Add release notes section for BIND 9.11.15

See merge request isc-projects/bind9!2906
2020-01-16 12:16:23 +00:00
Michał Kępień
a8587a0899 Add release notes section for BIND 9.11.15 2020-01-16 12:28:06 +01:00
Michał Kępień
4df74c85f8 Merge branch 'michal/fix-the-dnssec-system-test-on-windows-v9_11' into 'v9_11'
[v9_11] Fix the "dnssec" system test on Windows

See merge request isc-projects/bind9!2904
2020-01-16 08:51:28 +00:00
Michał Kępień
a4f6af58b2 Fix the "dnssec" system test on Windows
Make sure carriage return characters are stripped from awk input to
enable the "dnssec" system test to pass on Windows.

(cherry picked from commit 451484b870)
2020-01-16 09:50:16 +01:00
Michał Kępień
71bc5cc65c Merge branch '1525-inline-system-test-failed-need-to-wait-for-zone-to-be-loaded-v9_11' into 'v9_11'
[v9_11] Resolve "inline system test failed, need to wait for zone to be loaded."

See merge request isc-projects/bind9!2891
2020-01-14 14:14:51 +00:00
Mark Andrews
8c857665d0 address some timing issues in inline system test
(cherry picked from commit 2dc4d72fa9)
2020-01-14 14:49:52 +01:00
Matthijs Mekking
553a2498e1 Move wait_for_log to conf.sh.common
(cherry picked from cfaa631f65)
2020-01-14 14:49:52 +01:00
Michał Kępień
349c922da8 Merge branch '1482-autosign-system-test-failed-v9_11' into 'v9_11'
[v9_11] Resolve "autosign system test failed"

See merge request isc-projects/bind9!2888
2020-01-14 13:35:11 +00:00
Mark Andrews
24d52c1a38 Fix autosign system test issues.
* report when NSEC3PARAM is not yet present
* allow more time for NSEC3PARAM to become present
* adjust frequency failure message

(cherry picked from commit 17d25dbf47)
2020-01-14 13:24:26 +01:00
Michał Kępień
fa784b5a60 Merge branch '1467-xfer-test-suppress-zone-transfer-when-we-are-going-to-retry-v9_11' into 'v9_11'
[v9_11] Resolve "xfer test: suppress zone transfer when we are going to retry."

See merge request isc-projects/bind9!2886
2020-01-14 12:20:13 +00:00
Mark Andrews
57cd453b1e improve forensic logs
improve forensic logs by directing output to per sub-test named
files and reporting the sub-subtest number.

(cherry picked from commit 895f60d6f8)
2020-01-14 12:20:19 +01:00
Mark Andrews
e49100c9ab suppress unnecessary zone transfer
suppressed unnecessary zone transfer in "test mapped zone with
out of zone data" sub-test.

(cherry picked from commit 28695f1c92)
2020-01-14 12:20:18 +01:00
Mark Andrews
a3343b61ba Improve forensic logging in "testing basic zone transfer functionality"
Split the "testing basic zone transfer functionality" into primary and
secondary parts to improve forensic logging.

(cherry picked from commit 14ef8b10af)
2020-01-14 12:20:16 +01:00
Mark Andrews
1ed4fcdc9f Merge branch '1531-add-calls-to-dns_rdata_additionaldata-to-lib-dns-tests-rdata_test-c-v9_11' into 'v9_11'
Resolve "Add calls to dns_rdata_additionaldata to lib/dns/tests/rdata_test.c"

See merge request isc-projects/bind9!2879
2020-01-14 09:38:15 +00:00
Mark Andrews
9b71352f25 exercise dns_rdata_checknames
(cherry picked from commit b3c1b2a869)
2020-01-14 09:17:10 +00:00
Mark Andrews
ecdb80ca85 exercise dns_rdata_additionaldata
(cherry picked from commit 649a34d628)
2020-01-14 09:17:10 +00:00