Commit Graph
35812 Commits
Author SHA1 Message Date
Michal Nowak a136792437 Rename "stress" tests to long "stress" tests
(cherry picked from commit 58a1a50e76)
2024-05-06 16:38:47 +02:00
Michal Nowak 15af238c38 Revert "Drop parallel build from stress tests"
This reverts commit 3fd7e7c81f.

In AWS this is no longer a concern.

(cherry picked from commit 1d77a3b3c6)
2024-05-06 16:20:53 +02:00
Michal Nowak b1c504f5ca Merge branch 'mnowak/stress-tests-freebsd-instance-autoscaler-9.16' into 'bind-9.16'
[9.16] Use FreeBSD autoscaler for "stress" tests

See merge request isc-projects/bind9!8995
2024-04-29 20:45:38 +00:00
Michal Nowak 6bf4512bf0 Use FreeBSD autoscaler for "stress" tests
The FreeBSD autoscaler has been configured to utilize the new "instance"
GitLab Runner executor to spawn "stress" test CI jobs on AWS EC2
dynamically. A shared GitLab Runner named "freebsd-instance-autoscaler"
has been set up in GitLab CI/CD to communicate with EC2, provisioning VM
instances on demand based on a FreeBSD 13 AMI image. This image is the
same as the one previously used for FreeBSD "stress" tests before the
implementation of autoscaling (specifically, the
"freebsd13-amd64-bind9stress.aws.lab.isc.org" GitLab Runner in CI/CD).

(cherry picked from commit 65a93b77e1)
2024-04-29 18:13:45 +00:00
Michał Kępień 276e357a8f Merge branch 'michal/update-urls-and-paths-for-the-bind-9-qa-repository-9.16' into 'bind-9.16'
[9.16] Update URLs and paths for the BIND 9 QA repository

See merge request isc-projects/bind9!8992
2024-04-29 10:17:49 +00:00
Michał Kępień 428ec874ef Update URLs and paths for the BIND 9 QA repository
Since the BIND 9 QA repository has been made public, adjust the relevant
URLs and paths used in .gitlab-ci.yml so that they work with the public
version of that repository.

(cherry picked from commit 25ec1d79e4)
2024-04-29 11:52:54 +02:00
Michal Nowak 44d5cb435e Merge branch 'mnowak/drop-debian-10-buster-9.16' into 'bind-9.16'
[9.16] Drop Debian buster from the CI

See merge request isc-projects/bind9!8982
2024-04-25 11:36:53 +00:00
Ondřej SurýandMichal Nowak 110a4b7702 Drop Debian buster from the CI
The Debian buster is officially EoL and in LTS mode, so we can drop it
to stabilize the CI.

(cherry picked from commit 7238c85c88)
(cherry picked from commit d41520b002)
2024-04-25 13:31:18 +02:00
Michal Nowak 195454ef0a Merge branch 'mnowak/llvm-18-9.16' into 'bind-9.16'
[9.16] Bump the LLVM version to 18 and reformat sources

See merge request isc-projects/bind9!8970
2024-04-23 15:41:44 +00:00
Michal Nowak 99eb2ebaa9 Update sources to Clang 18 formatting
(cherry picked from commit f454fa6dea)
2024-04-23 16:59:58 +02:00
Michal Nowak d5ebd68295 Update Clang to version 18
(cherry picked from commit 7107c44c7c)
2024-04-23 12:49:00 +00:00
Michal Nowak 648c9274bd Merge branch 'mnowak/drop-respdiff-short-ci-jobs-9.16' into 'bind-9.16'
[9.16] Drop respdiff-short CI jobs

See merge request isc-projects/bind9!8962
2024-04-19 16:59:45 +00:00
Michal Nowak c9d7ccfc41 Drop respdiff-short CI jobs
In the past, our CI infrastructure was more sensitive to the number of
CI jobs running on it. We tried to limit long-running jobs in merge
request-triggered pipelines, as there are many of them, and spawned them
only in daily scheduled ones. Moving most of the CI infrastructure to
AWS has made it way better to run jobs in parallel, and the existence of
short respdiff jobs has lost its original merit. It can also be harmful
as some problems are detected only by the longer respdiff variant when a
faulty merge request has already been merged. We should run all long
respdiff tests in merge request-triggered pipelines.

Also, move the former respdiff-long job (now just "respdiff") to AWS as
old instance memory constraints (see
f09cf69594) are no longer an issue.

(cherry picked from commit 6a045cd8ec)
2024-04-19 18:31:52 +02:00
Petr Špaček 4f7abfc905 Merge branch 'pspacek/update-sphinx-9.16' into 'bind-9.16'
[9.16] Update Sphinx version used for documentation build

See merge request isc-projects/bind9!8955
2024-04-18 14:53:16 +00:00
Petr Špaček 548c7f29e5 Update Sphinx version used for documentation build
(cherry picked from commit da607d6a06)
2024-04-18 16:43:57 +02:00
Petr Špaček 35162102f4 Merge tag 'v9.16.50' into bind-9.16 2024-04-18 09:31:43 +02:00
Petr Špaček 1cb2cb29d3 Merge branch 'pspacek/gitlab-cleanup-9.16' into 'bind-9.16'
[9.16] Remove Gitlab issue templates from non-main branches

See merge request isc-projects/bind9!8947
2024-04-11 15:22:40 +00:00
Petr Špaček 1555bd30ae Remove Gitlab issue templates from non-main branches
There is no reason to have templates in branches other than main.
Gitlab is not using them anyway and they are unnecessarily included
in tarballs.

(cherry picked from commit adb60cb261)
2024-04-11 11:21:31 -04:00
Petr Špaček e31d8c2b5a Merge branch '2188-bug-in-message-c-673-ensure-isc_mempool_getallocated-msg-namepool-0-failed-9.16' into 'bind-9.16'
[9.16] Resolve "Bug in message.c:673: ENSURE(isc_mempool_getallocated(msg->namepool) == 0) failed"

See merge request isc-projects/bind9!8903
2024-04-07 06:23:49 +00:00
Mark AndrewsandPetr Špaček 6ec335798a Check that sig0 name is the root.
(cherry picked from commit 5b5f1ba0b2)
2024-04-07 05:22:59 +00:00
Mark AndrewsandPetr Špaček f8a464a54a Always clean sig0name in msgresetsigs() and dns_message_renderreset()
The fuzzing harness operates on dns_message_t in non-standard ways
and if 'sig0name' is non-NULL when msgresetsigs() and
dns_message_renderreset() are called it should be cleaned up.

(cherry picked from commit 450fab92b1)
2024-04-07 05:22:59 +00:00
Mark AndrewsandPetr Špaček b1166cfc86 Add packet from issue #4189
(cherry picked from commit fc5c9e6bce)
2024-04-07 05:22:59 +00:00
Petr Špaček fa6b427c48 Merge branch 'pspacek/set-up-version-and-release-notes-for-bind-9.16.51' into 'bind-9.16'
Set up version and release notes for BIND 9.16.51

See merge request isc-projects/bind9!8941
2024-04-04 19:16:58 +00:00
Petr Špaček c50291f68d Set up release notes for BIND 9.16.51 2024-04-04 21:16:07 +02:00
Petr Špaček e4a8e87d0f Update BIND version to 9.16.51-dev 2024-04-04 21:16:07 +02:00
Petr Špaček acf2ba4a93 prep 9.16.50 v9.16.50 2024-04-03 14:48:29 +02:00
Petr Špaček 5e379a393c Merge branch 'pspacek/prepare-documentation-for-bind-9.16.50' into 'v9.16.50-release'
Prepare documentation for BIND 9.16.50

See merge request isc-private/bind9!680
2024-04-03 12:46:13 +00:00
Petr Špaček 51ce3fdb1a Tweak and reword release notes 2024-04-03 14:12:33 +02:00
Petr Špaček 9458c0cf8e Prepare release notes for BIND 9.16.50 2024-04-03 11:43:31 +02:00
Michał Kępień f3c22c8e96 Merge branch 'pspacek/hazard-improvements-9.16' into 'bind-9.16'
[9.16] CI hazard improvements

See merge request isc-projects/bind9!8902
2024-03-29 09:45:40 +00:00
Michał Kępień 38dc460f56 Warn if security fixes are not marked for testing
(cherry picked from commit 5e02a007ca)
2024-03-29 10:45:06 +01:00
Petr ŠpačekandMichał Kępień 0018f068d1 Warn about release notes without CHANGES entry
(cherry picked from commit 0ba29730f7)
2024-03-29 10:45:06 +01:00
Petr ŠpačekandMichał Kępień 6c052a939d Detect change in supported RR types and issue Hazard warning
(cherry picked from commit 82cfb48295)
2024-03-29 10:45:05 +01:00
Michał Kępień 74ad1f305f Merge branch 'michal/extract-changes-checks-to-a-separate-gitlab-ci-job-9.16' into 'bind-9.16'
[9.16] Extract CHANGES checks to a separate GitLab CI job

See merge request isc-projects/bind9!8928
2024-03-29 07:42:58 +00:00
Michał Kępień 765e10fd46 Restore consistency in YAML anchor names
Commit 42b75e7759 added "pipelines" to CI
job trigger lists without updating the names of the YAML anchors
containing those lists accordingly.  Update YAML anchor names so that
they are consistent with their own contents.

(cherry picked from commit a7ece8e0bd)
2024-03-29 08:37:29 +01:00
Michał Kępień 5bf37976b7 Do not check CHANGES in pre-release pipelines
Since pre-release testing is usually carried out for branches in which
CHANGES entries are intentionally malformed to prevent entry numbering
conflicts down the road, do not run the "changes" GitLab CI job in
pipelines that are triggered by a parent pipeline (which can currently
only be a pre-release testing pipeline) to prevent triggering job
failures that would be meaningless anyway.

(cherry picked from commit 8c2503947f)
2024-03-29 08:37:29 +01:00
Michał Kępień 5971e5a604 Extract CHANGES checks to a separate GitLab CI job
Checking the contents of the CHANGES file currently requires invoking
multiple shell scripts.  These invocations are conflated with those for
other test scripts in the "misc" GitLab CI job.  Extract the commands
checking the contents of the CHANGES file to a separate GitLab CI job,
"changes", to improve readability.  Remove similar checks for the
CHANGES.SE file altogether as they are only relevant for BIND -S and
therefore should not be present in an open source branch.

(cherry picked from commit 1335e139f2)
2024-03-29 08:37:29 +01:00
Michał Kępień cecafbbf98 Merge branch '4334-CVE-2023-5679-test-fix-9.16' into 'bind-9.16'
[9.16] Fix check interaction in the "serve-stale" test

See merge request isc-projects/bind9!8926
2024-03-28 18:35:12 +00:00
Michał Kępień 8f9d662a09 Merge branch '4334-CVE-2023-5679-test-9.16' into 'bind-9.16'
[9.16] [CVE-2023-5679] Check dns64 + server-stale short timeout

See merge request isc-projects/bind9!8924
2024-03-28 17:57:57 +00:00
Michał Kępień 82cc9e88d3 Fix check interaction in the "serve-stale" test
Commit f351c21034 modified the
"serve-stale" system test by adding the ns3/named9.conf.in configuration
file and making the ns3 named instance load that file near the end of
the test.  However, ns3/named9.conf.in changes the
stale-answer-client-timeout setting to a very low value, which affects
all subsequent checks in tests.sh (rather than just the check that needs
the low value to be set) and may cause false positives.  Fix by
reloading configuration from ns3/named8.conf.in as soon as the check
using a very low stale-answer-client-timeout value is finished.

(cherry picked from commit cd64a3747b)
2024-03-28 18:56:35 +01:00
Mark AndrewsandMichał Kępień f351c21034 Check dns64 + server-stale short timeout
Check that named correctly returns a synthesized DNS64 answer when the
server stale timer triggers for the A lookup.  Use a small value for
stale-answer-client-timeout (2ms) and delay the A response by 1 second.

(cherry picked from commit 2eee1e1761)
2024-03-28 15:28:55 +01:00
Michał Kępień 340910b41e Merge branch '4281-CVE-2023-5517-test-9.16' into 'bind-9.16'
[9.16] [CVE-2023-5517] Checking nxdomain-redirect against built-in RFC-1918 zone

See merge request isc-projects/bind9!8921
2024-03-28 14:12:22 +00:00
Mark AndrewsandMichał Kępień adad957108 Checking nxdomain-redirect against built-in RFC-1918 zone
Check that RFC 1918 leak detection does not trigger an assertion
when nxdomain redirection is enabled in the server but not for the
RFC 1918 reverse namespace.

(cherry picked from commit 2789906ce4)
2024-03-28 13:15:45 +01:00
Michal Nowak 42e270e0a9 Merge branch 'mnowak/freebsd-use-mit-kerberos5-9.16' into 'bind-9.16'
[9.16] Build FreeBSD with MIT Kerberos5 instead of Heimdal

See merge request isc-projects/bind9!8916
2024-03-27 09:24:12 +00:00
Michal Nowak 1cb0fea669 Build FreeBSD with MIT Kerberos5 instead of Heimdal
tsiggss system tests crash or are unstable with the base FreeBSD
(Heimdal-based) GSS-API.

Move the --without-gssapi ./configure option to Alpine Linux, so the
option is tested somewhere.

(cherry picked from commit d6df757fdc)
2024-03-27 09:54:57 +01:00
Michal Nowak ed7d604710 Merge branch 'mnowak/replace-IO-Socket-INET6-with-IO-Socket-IP-9.16' into 'bind-9.16'
[9.16] IO::Socket::INET6 has been replaced by IO::Socket::IP

See merge request isc-projects/bind9!8912
2024-03-26 13:12:19 +00:00
Mark AndrewsandMichal Nowak 0f4cdcde03 IO::Socket::INET6 has been replaced by IO::Socket::IP
IO::Socket::INET6 is no longer being maintained and its functionality
has been replaced by IO::Socket::IP.

(cherry picked from commit d1983adc22)
(cherry picked from commit fff8de8430)
2024-03-26 13:43:37 +01:00
Michal Nowak f28c3d2c62 Merge branch 'mnowak/revert-05b09f2b5bb68a916288f56bf627babad4055b90-9.16' into 'bind-9.16'
[9.16] Revert "Work around a TSAN issue with newer kernels"

See merge request isc-projects/bind9!8909
2024-03-25 14:44:28 +00:00
Michal Nowak 27e6c2ad8f Revert "Work around a TSAN issue with newer kernels"
This reverts commit 05b09f2b5b.

The workaround has been moved to the AMI image (isc-private/packer!10).

(cherry picked from commit aba16af556)
2024-03-25 15:35:59 +01:00
Tom Krizek 1cf9d6494a Merge branch 'tkrizek/resolver-test-export-home-9.16' into 'bind-9.16'
[9.16] Export variable in resolver system test

See merge request isc-projects/bind9!8899
2024-03-21 14:25:31 +00:00