Michał Kępień
99ed3a0e13
Update GitLab CI to OpenBSD 6.6
...
Since OpenBSD 6.6 is the current OpenBSD release, replace OpenBSD 6.5
GitLab CI jobs with their up-to-date counterparts.
As CI jobs for OpenBSD 6.6 will be run by a generalized libvirt executor
rather than an OpenBSD-specific one, make the necessary tag and variable
adjustments as well.
2020-02-04 11:39:27 +01:00
Ondřej Surý
a9c1fffba0
Merge branch 'cppcheck-1.90-warnings' into 'master'
...
Fix cppcheck 1.90 warnings
Closes #1590
See merge request isc-projects/bind9!2969
2020-02-04 10:10:48 +00:00
Matthijs Mekking
b8be29fee6
Add a note on memory allocation
...
isc__memalloc_t must deal with memory allocation failure
and must never return NULL.
2020-02-04 11:09:22 +01:00
Ondřej Surý
2868eafc46
Suppress unknownMacro directive which is currently broken with OpenSSL
2020-02-04 11:09:22 +01:00
Ondřej Surý
c00def343f
Suppress cppcheck false positive nullPointerArithmeticRedundantCheck
2020-02-04 11:09:22 +01:00
Ondřej Surý
05ae2e48ab
Change pk11_mem_get() so it cannot soft-fail
2020-02-04 11:09:22 +01:00
Ondřej Surý
478e4ac201
Make the DbC checks to be consistent and cppcheck clean
2020-02-04 11:09:22 +01:00
Mark Andrews
bb65e57297
isc_mem_get cannot fail
2020-02-04 11:09:22 +01:00
Mark Andrews
d6de520bd1
delay assignment until after REQUIRE
2020-02-04 11:09:22 +01:00
Mark Andrews
704b9ee9d0
skip if first is NULL
2020-02-04 11:09:22 +01:00
Mark Andrews
c65c06301c
delay assignment until after REQUIRE
2020-02-04 11:09:22 +01:00
Mark Andrews
f17b9b8dd1
make expression logical for cppcheck
2020-02-04 11:09:22 +01:00
Mark Andrews
7b948c7335
remove brackets
2020-02-04 11:09:22 +01:00
Mark Andrews
6c2e138d7a
simplify ISC_LIKELY/ISC_UNLIKELY for CPPCHECK
2020-02-04 11:09:22 +01:00
Mark Andrews
668a972d1e
simplify RUNTIME_CHECK for cppcheck
2020-02-04 11:09:22 +01:00
Evan Hunt
dfd96e1aa5
Merge branch '1592-catz-filename' into 'master'
...
Resolve "catalog zones fail if a zone name contains a slash"
Closes #1592
See merge request isc-projects/bind9!2980
2020-02-04 03:18:51 +00:00
Evan Hunt
7a002c7ece
CHANGES
2020-02-03 18:58:39 -08:00
Mark Andrews
fc4e44bd37
don't swallow backslash characters in test output
2020-02-03 18:58:27 -08:00
Mark Andrews
8745043a86
test all the scenarios for hashed filenames together
2020-02-03 18:58:27 -08:00
Evan Hunt
dba0163dac
Correctly handle catalog zone entries containing slashes
...
- Add quotes before and after zone name when generating "addzone"
input so avoid "unexpected token" errors.
- Use a hex digest for zone filenames when the zone or view name
contains a slash.
- Test with a domain name containing a slash.
- Incidentally added 'catzhash.py' to contrib/scripts to generate
hash labels for catalog zones, as it was needed to write the test.
2020-02-03 16:08:20 -08:00
Ondřej Surý
9f6e0dc945
Merge branch 'ondrej/isc_buffer_allocate_cannot_fail' into 'master'
...
isc_buffer_allocate() cannot fail
See merge request isc-projects/bind9!2987
2020-02-03 07:47:05 +00:00
Ondřej Surý
c73e5866c4
Refactor the isc_buffer_allocate() usage using the semantic patch
...
The isc_buffer_allocate() function now cannot fail with ISC_R_MEMORY.
This commit removes all the checks on the return code using the semantic
patch from previous commit, as isc_buffer_allocate() now returns void.
2020-02-03 08:29:00 +01:00
Ondřej Surý
d5f682a00b
Add semantic patch to fix isc_buffer_allocate usage, it cannot fail now
2020-02-03 08:29:00 +01:00
Ondřej Surý
4459745ff2
isc_buffer_allocate() can't fail now, change the return type to void
2020-02-03 08:29:00 +01:00
Ondřej Surý
9286548c7e
Merge branch 'ondrej/isc_mempool_create_cannot_fail' into 'master'
...
isc_mempool_create() cannot fail
See merge request isc-projects/bind9!2988
2020-02-03 07:27:57 +00:00
Ondřej Surý
5eb3f71a3e
Refactor the isc_mempool_create() usage using the semantic patch
...
The isc_mempool_create() function now cannot fail with ISC_R_MEMORY.
This commit removes all the checks on the return code using the semantic
patch from previous commit, as isc_mempool_create() now returns void.
2020-02-03 08:27:16 +01:00
Ondřej Surý
33328871a7
Add semantic patch to refactor isc_mempool_create() usage
2020-02-03 08:27:12 +01:00
Ondřej Surý
de123a67d6
isc_mempool_create cannot fail, change the return type to void
2020-02-02 08:39:45 +01:00
Michal Nowak
1248f05ae8
Merge branch 'mnowak/drop-kyua-report-verbose-option' into 'master'
...
Drop kyua report's --verbose option
See merge request isc-projects/bind9!2981
2020-01-31 09:06:19 +00:00
Michal Nowak
8ceaf28442
Drop kyua report's --verbose option
...
It prints far more than needed.
2020-01-31 09:06:19 +00:00
Mark Andrews
2ec5b852df
Merge branch '1554-cds-cdnskey-consistency-checks-don-t-work-with-deletion-records' into 'master'
...
Resolve "CDS / CDNSKEY consistency checks don't work with deletion records"
Closes #1554
See merge request isc-projects/bind9!2865
2020-01-30 12:04:40 +00:00
Mark Andrews
02c2fc5ad3
use anonomous constants
2020-01-30 11:29:27 +11:00
Mark Andrews
7c0d9dac9f
use enum
2020-01-30 11:29:27 +11:00
Mark Andrews
d159fdf25d
add more CDS / CDNSKEY deletion record tests
2020-01-30 11:29:27 +11:00
Mark Andrews
68a360772f
check CDS and CDNSKEY content
2020-01-30 11:29:27 +11:00
Mark Andrews
379949cce4
check kskonly key ids
2020-01-30 11:29:27 +11:00
Mark Andrews
272a31f758
add CHANGES
2020-01-30 11:29:27 +11:00
Mark Andrews
279f6b01de
style
2020-01-30 11:18:16 +11:00
Mark Andrews
a09c464a20
return the correct error code for the type being checked
2020-01-30 11:18:16 +11:00
Mark Andrews
f91b3a69ce
check that a CDNSKEY deletion record is accepted
2020-01-30 11:18:16 +11:00
Mark Andrews
0adb4b25d3
handle CDS deletion record in consistancy checks
2020-01-30 11:18:16 +11:00
Michał Kępień
77332eb2c8
Merge branch 'michal/list-atypical-failures-in-system-test-summary' into 'master'
...
List atypical failures in system test summary
See merge request isc-projects/bind9!2964
2020-01-29 14:42:19 +00:00
Michał Kępień
a8836b381f
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.
2020-01-29 14:50:26 +01:00
Mark Andrews
4f9bfe1460
Merge branch '1508-case-system-test-failed' into 'master'
...
Resolve "case system test failed."
Closes #1508
See merge request isc-projects/bind9!2774
2020-01-28 21:21:45 +00:00
Mark Andrews
7b0ba6eb10
wait longer for dynamic zone to be transfered
2020-01-28 04:38:38 +00:00
Evan Hunt
6adcd739ca
Merge branch 'each-history-typo' into 'master'
...
fixed a typo
See merge request isc-projects/bind9!2960
2020-01-24 17:55:29 +00:00
Evan Hunt
0147acd7b6
fixed a typo
2020-01-24 09:54:22 -08:00
Mark Andrews
e48b2424aa
Merge branch '1559-dnssec-system-test-failed-reload-of-root-server-not-completed-in-time' into 'master'
...
Resolve "dnssec system test failed: reload of root server not completed in time."
Closes #1559
See merge request isc-projects/bind9!2877
2020-01-23 22:01:11 +00:00
Mark Andrews
784e64f238
wait for root server to complete reloading
2020-01-23 21:39:18 +00:00
Mark Andrews
ed52ffba38
Merge branch '1579-dnstap-system-test-appears-to-be-timing-sensitive' into 'master'
...
Resolve "dnstap system test appears to be timing sensitive"
Closes #1579
See merge request isc-projects/bind9!2950
2020-01-23 21:13:18 +00:00