Commit graph

29926 commits

Author SHA1 Message Date
Mark Andrews
96aa3bb884 Increase wait_for_message attempts to 20.
(cherry picked from commit 4dd9ec8919)
2020-01-09 10:46:27 +01:00
Mark Andrews
d60ca30d2d save wait_for_message contents
(cherry picked from commit 1334daaec0)
2020-01-09 10:46:27 +01:00
Michał Kępień
89f34f0296 Merge branch 'michal/bind-to-random-port-numbers-in-unit-tests-v9_14' into 'v9_14'
[v9_14] Bind to random port numbers in unit tests

See merge request isc-projects/bind9!2832
2020-01-09 09:45:07 +00:00
Michał Kępień
11ff0537e1 Bind to random port numbers in unit tests
Some unit tests need various managers to be created before they are run.
The interface manager spawned during libns tests listens on a fixed port
number, which causes intermittent issues when multiple tests using an
interface manager are run concurrently.  Make the interface manager
listen on a randomized port number to greatly reduce the risk of
multiple unit tests using the same port concurrently.

(cherry picked from commit ea7bddb4ca)
2020-01-09 10:44:28 +01:00
Michal Nowak
4d80289abb Merge branch 'mnowak/1546-Add-out-of-tree-build-to-CI-v9_14' into 'v9_14'
[v9_14] Add out-of-tree build to the CI

See merge request isc-projects/bind9!2833
2020-01-09 09:42:36 +00:00
Michal Nowak
1258b8ccd9 Add out-of-tree build to the CI
Fixes #1546.

(cherry picked from commit 640dd566e9)
2020-01-09 09:42:36 +00:00
Michał Kępień
73f7f54575 Merge branch '1401-intermittent-failures-in-the-catz-system-test-v9_14' into 'v9_14'
[v9_14] Resolve "Intermittent failures in the catz system test"

See merge request isc-projects/bind9!2828
2020-01-08 14:13:12 +00:00
Ondřej Surý
557b051fc4 Use retry() and nextpart*() to simplify catz test
(cherry picked from commit 51b05189f7)
2020-01-08 14:11:29 +01:00
Witold Kręcicki
8cdad6bedf Fix timing issues in catz test
Make the log checks more precise and use the retry() function for
repeating the checks.

(cherry picked from commit 9b43e65c01)
2020-01-08 14:11:29 +01:00
Michał Kępień
64427406a7 Merge branch '1402-multiple-issues-in-the-runtime-system-test-v9_14' into 'v9_14'
[v9_14] Resolve "Multiple issues in the runtime system test"

See merge request isc-projects/bind9!2824
2020-01-08 09:11:31 +00:00
Ondřej Surý
4a6d9ea152 Fix multiple issues in named setuid check
(cherry picked from commit cd804158b4)
2020-01-08 09:31:13 +01:00
Evan Hunt
dc760867d8 fixed a test failure, some other shell cleanup
(cherry picked from commit 7a8269207d)
2020-01-08 09:30:00 +01:00
Ondřej Surý
355eb0c288 Instead of sleeping for a fixed time, wait for named to log specific message in a loop
(cherry picked from commit f020199925)
2020-01-08 09:29:24 +01:00
Ondřej Surý
57b6aeabd5 Make runtime/tests.sh shellcheck and set -e clean
This mostly comprises of:

* using $(...) instead of `...`
* changing the directories in subshell and not ignoring `cd` return code
* handling every error gracefully instead of ignoring the return code

(cherry picked from commit 340b1d2b6b)
2020-01-08 09:28:24 +01:00
Ondřej Surý
d26e7166a6 Further improve the runtime tests to look for a specific instead of generic error
(cherry picked from commit 8f539a8886)
2020-01-08 09:27:48 +01:00
Ondřej Surý
60f335204a Fix couple of no-op tests to actually test something (configuration files were missing)
(cherry picked from commit b5a18ac439)
2020-01-08 09:27:16 +01:00
Ondřej Surý
fe021299e0 runtime test: make the pidfiles match the names of configuration files
(cherry picked from commit ce86721bc3)
2020-01-08 09:24:49 +01:00
Ondřej Surý
e9d348bac5 runtime test: use helper function that kills named and waits for the finish
(cherry picked from commit e9fa7b831b)
2020-01-08 09:22:59 +01:00
Ondřej Surý
5261f3f9c8 Merge branch '1513-inline-system-test-failed-v9_14' into 'v9_14'
Address timing issues in 'inline' system test.

See merge request isc-projects/bind9!2821
2020-01-08 08:04:07 +00:00
Mark Andrews
546efbe2ee Address timing issues in 'inline' system test.
"rndc signing -serial <value>" could take longer than a second to
complete.  Loop waiting for update to succeed.

For tests where "rndc signing -serial <value>" is supposed to not
succeed, repeatedly test that we don't get the new serial, then
test that we have the old value.  This should prevent false negatives.

(cherry picked from commit 13fa80ede8)
2020-01-08 08:31:42 +01:00
Michał Kępień
9885fcc2a8 Merge branch 'ondrej/detect-cores-in-system-tests-on-FreeBSD-v9_14' into 'v9_14'
[v9_14] Detect cores on FreeBSD

See merge request isc-projects/bind9!2819
2020-01-07 15:00:47 +00:00
Ondřej Surý
ba2b616a4a Detect cores on FreeBSD
(cherry picked from commit 38277ddb0b)
2020-01-07 15:58:44 +01:00
Michał Kępień
bef6d2bc45 Merge branch '1380-autosign-jitter-test-fails-with-no-nsec3param-found-in-axfr-v9_14' into 'v9_14'
[v9_14] Tune the performance of the autosign test

See merge request isc-projects/bind9!2817
2020-01-07 14:50:40 +00:00
Ondřej Surý
48512e11be Reduce the minimal numbers of days in jitter test to 5
(cherry picked from commit 4b2911a45a)
2020-01-07 15:46:28 +01:00
Ondřej Surý
e359a954fc Tune the performance of CDS/CDNSKEY deletion test
(cherry picked from commit 76eac9a691)
2020-01-07 15:46:27 +01:00
Ondřej Surý
46403cff2c Tune the performance of oldsigs test
The oldsigs test was checking only for the validity of the A
a.oldsigs.example. resource record and associated DNSSEC signature while
the zone might not have been fully signed yet leading to validation
failures because of bogus signatures on the validation path.

This commit changes the test to test that all old signatures in the
oldsigs.example. zone were replaced and the zone is fully resigned
before running the main check.

(cherry picked from commit 519b047362)
2020-01-07 15:44:50 +01:00
Ondřej Surý
a6a19bb246 Tune the performance of the jitter test
(cherry picked from commit ffb7ae8beb)
2020-01-07 15:44:50 +01:00
Michał Kępień
8f5faf7084 Merge branch '1256-fix-the-jitter-test-2-v9_14' into 'v9_14'
[v9_14] Wait a little bit longer for autosign, bail out on not enough categories

See merge request isc-projects/bind9!2815
2020-01-07 14:41:26 +00:00
Ondřej Surý
2f57988483 Wait a little bit longer for autosign, bail out on not enough categories
(cherry picked from commit f1cbdc5498)
2020-01-07 15:37:40 +01:00
Ondřej Surý
8061971926 Adjust the jitter range to +-3*stddev
(cherry picked from commit d6f68fc4f0)
2020-01-07 15:37:40 +01:00
Michał Kępień
ef44037334 Merge branch '1256-fix-the-jitter-test-v9_14' into 'v9_14'
[v9_14] Check if the RRSIG jitter falls <mean-2.5*stddev;mean+2.5*stddev>

See merge request isc-projects/bind9!2813
2020-01-07 14:36:00 +00:00
Ondřej Surý
484d131137 Check if the RRSIG jitter falls into mean+-2.5*stddev range
(cherry picked from commit 0480a95ddf)
2020-01-07 15:34:33 +01:00
Michał Kępień
4ef6c818e3 Merge branch 'ondrej/get-the-backtraces-out-of-system-test-coredumps-v9_14' into 'v9_14'
[v9_14] Get the backtraces out of system test coredumps

See merge request isc-projects/bind9!2811
2020-01-07 14:00:41 +00:00
Ondřej Surý
3f68b0ee8e Get better stack traces
(cherry picked from commit d0a0c22433)
2020-01-07 14:45:03 +01:00
Ondřej Surý
002f908c2f Dump the backtrace to stdout when core is found in systest directory
(cherry picked from commit 512dadc8d1)
2020-01-07 14:42:06 +01:00
Michal Nowak
16ed33c0b6 Merge branch 'mnowak/get-the-backtraces-out-of-unit-test-coredumps-v9_14' into 'v9_14'
[v9_14] Gather debug info on broken unit tests

See merge request isc-projects/bind9!2806
2020-01-06 12:05:05 +00:00
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ý
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ý
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