Commit Graph
35843 Commits
Author SHA1 Message Date
Nicki Křížek 8a4db4bb8e Revert "Build gcc:oraclelinux9:amd64 CI jobs with --disable-developer"
This reverts commit 6a7ec0c01c.
2024-07-24 10:56:59 +02:00
Ondřej SurýandNicki Křížek dfcadc2085 Add a limit to the number of RR types for single name
Previously, the number of RR types for a single owner name was limited
only by the maximum number of the types (64k).  As the data structure
that holds the RR types for the database node is just a linked list, and
there are places where we just walk through the whole list (again and
again), adding a large number of RR types for a single owner named with
would slow down processing of such name (database node).

Add a hard-coded limit (100) to cap the number of the RR types for a single
owner.  The limit can be changed at the compile time by adding following
define to CFLAGS:

    -DDNS_RBTDB_MAX_RTYPES=<limit>
2024-07-24 10:56:59 +02:00
Ondřej SurýandNicki Křížek fdabf4b957 Add a limit to the number of RRs in RRSets
Previously, the number of RRs in the RRSets were internally unlimited.
As the data structure that holds the RRs is just a linked list, and
there are places where we just walk through all of the RRs, adding an
RRSet with huge number of RRs inside would slow down processing of said
RRSets.

The fix for end-of-life branches make the limit compile-time only for
simplicity and the limit can be changed at the compile time by adding
following define to CFLAGS:

    -DDNS_RDATASET_MAX_RECORDS=<limit>

(cherry picked from commit c5c4d00c38530390c9e1ae4c98b65fbbadfe9e5e)
2024-07-24 10:56:57 +02:00
Nicki Křížek 8536c916b6 [9.16] Prevent passing DNS_EVENT_TRYSTALE events to resume_dslookup()
Closes isc-projects/bind9#4661

Merge branch '4661-clear-dns-fetchopt-trystale-ontimeout-9.16' into 'bind-9.16'

See merge request isc-projects/bind9!9168
2024-07-24 08:55:38 +00:00
Mark AndrewsandNicki Křížek 02aa54c690 Add CHANGES not for [GL #4661]
(cherry picked from commit 975bbfba90925a427d71dacd8648448e3f0de2d9)
2024-06-18 10:44:52 +02:00
Mark AndrewsandNicki Křížek b36e1cfbcd Clear DNS_FETCHOPT_TRYSTALE_ONTIMEOUT
When calling dns_resolver_createfetch in resolver.c with a callback
of resume_dslookup, clear DNS_FETCHOPT_TRYSTALE_ONTIMEOUT from
options as DNS_EVENT_TRYSTALE is not an expected event type and
triggers a REQUIRE.

(cherry picked from commit 6faea6da3d646557d234d63ddd5d524d222e8082)
2024-06-06 18:28:35 +02:00
Michał Kępień 6f28b59daa Merge branch '4706-4707-add-more-label-checks-to-dangerfile.py-9.16' into 'bind-9.16'
[9.16] Add more label checks to dangerfile.py

See merge request isc-projects/bind9!9087
2024-06-03 11:15:50 +00:00
Michał Kępień c1fb781de8 Fail for merge requests with "Affects v9.x" labels
Setting "Affects v9.x" labels on a merge request duplicates information
already present on the GitLab issue associated with that merge request.
For trivial merge requests that are not associated with any GitLab
issue, setting the "Affects v9.x" label(s) is considered unnecessary.
Trigger a failure for every merge request marked with at least one
"Affects v9.x" label.

(cherry picked from commit aae51cf28d)
2024-06-03 11:11:43 +00:00
Michał Kępień 8482c3590e Warn about auto-generated merge request titles
Merge request titles auto-generated by GitLab are often a source of
confusion regarding the actual contents of a given merge request.  Warn
for merge requests containing titles that look like auto-generated ones.

(cherry picked from commit 80ec57f198)
2024-06-03 11:11:43 +00:00
Michał Kępień df4d0479d2 Fail for branches using old-style version suffixes
Using "-v9_x" and "-v9.x" version suffixes for branch names is now
deprecated since some automation logic does not handle these.  Fail for
any merge request using such old-style version suffixes.

(cherry picked from commit 09851e6230)
2024-06-03 11:11:42 +00:00
Michał Kępień 211ff9c67f Fail for backports with "Affects v9.x" labels set
Backports are not expected to have any "Affects v9.x" labels set since
those are only meant to be set for merge requests that should have
backports created for them.

(cherry picked from commit 9359cb9c99)
2024-06-03 11:11:42 +00:00
Ondřej Surý fa3172680f Merge branch 'ondrej/drop-windows-from-ci-9.16' into 'bind-9.16'
Remove Windows builds from the CI

See merge request isc-projects/bind9!9076
2024-06-03 07:58:19 +00:00
Ondřej Surý 728d371d64 Remove Windows builds from the CI
Now that BIND 9.16 has reach end-of-life, we can finally remove the
Windows from the CI and decomission the Windows build infrastructure.

Yay!
2024-05-29 08:48:22 +02:00
Nicki Křížek 42c8e1a53d Merge branch 'nicki/use-bind-team-gitlab-tokens-9.16' into 'bind-9.16'
[9.16] Use bind-team tokens for CI gitlab access

See merge request isc-projects/bind9!9069
2024-05-27 11:36:43 +00:00
Nicki Křížek fa3324b10a Use BIND_TEAM_API_TOKEN for danger bot
This is done to unify the token usage across our repositories to
simplify token maintenance.

(cherry picked from commit 6767172bc0)
2024-05-27 11:28:11 +00:00
Michal Nowak e247899727 Merge branch 'mnowak/alpine-3.20-9.16' into 'bind-9.16'
[9.16] Add Alpine Linux 3.20

See merge request isc-projects/bind9!9061
2024-05-23 12:13:07 +00:00
Michal Nowak dcc3e8b289 Add Alpine Linux 3.20
(cherry picked from commit 6f22e79ef9)
2024-05-23 13:25:43 +02:00
Michal Nowak c524ff6845 Merge branch 'mnowak/short-stress-tests-should-keep-artifacts-9.16' into 'bind-9.16'
[9.16] Short stress tests should keep artifacts

See merge request isc-projects/bind9!9058
2024-05-22 12:14:11 +00:00
Michal Nowak ce5637d1c7 Short stress tests should keep artifacts
(cherry picked from commit aa72747c80)
2024-05-22 10:56:04 +00:00
Evan Hunt 849f55a1de Merge branch '4730-clang-format-header-file-changes-bind-9.16' into 'bind-9.16'
[9.16] Resolve "Clang format header file changes"

See merge request isc-projects/bind9!9054
2024-05-18 00:27:54 +00:00
Mark AndrewsandEvan Hunt 9a0769d817 Clang-format header file changes 2024-05-17 16:45:43 -07:00
Nicki Křížek 2e528d4cbc Merge branch 'nicki/add-mailmap-9.16' into 'bind-9.16'
[9.16] Add .mailmap to the git repo

See merge request isc-projects/bind9!9031
2024-05-14 12:22:12 +00:00
Nicki Křížek 42f4f2e9fb Add .mailmap to the git repo
Mailmap can be used to unify the display name in standard git tools.

(cherry picked from commit 986013a708)
2024-05-14 11:30:45 +00:00
Michal Nowak c2c4d07dd1 Merge branch 'mnowak/fedora-40-9.16' into 'bind-9.16'
[9.16] Add Fedora 40

See merge request isc-projects/bind9!9016
2024-05-06 18:20:15 +00:00
Michal Nowak 3bd37c0df6 Add Fedora 40
(cherry picked from commit 1a09f822ad)
2024-05-06 19:48:41 +02:00
Michal Nowak 7f2a9b6964 Merge branch 'mnowak/ubuntu-24.04-noble-numbat-9.16' into 'bind-9.16'
[9.16] Add Ubuntu 24.04 LTS (Noble Numbat)

See merge request isc-projects/bind9!9014
2024-05-06 17:08:03 +00:00
Michal Nowak f0011ecb13 Add Ubuntu 24.04 LTS (Noble Numbat)
(cherry picked from commit d02ed1a0eb)
2024-05-06 18:43:18 +02:00
Michal Nowak 38c476458e Merge branch 'mnowak/openbsd-7.5-9.16' into 'bind-9.16'
[9.16] Add OpenBSD 7.5

See merge request isc-projects/bind9!9012
2024-05-06 15:37:30 +00:00
Michal Nowak 01befe621c Add OpenBSD 7.5
(cherry picked from commit 102fccdcba)
2024-05-06 15:28:18 +00:00
Michal Nowak a46dc1c4e2 Merge branch '4711-stress-test-finer-runtime-granularity-9.16' into 'bind-9.16'
[9.16] Add short version of "stress" tests to MR-triggered pipelines

See merge request isc-projects/bind9!9010
2024-05-06 15:03:41 +00:00
Michal Nowak 4c5ac9f692 Add short "stress" test jobs
(cherry picked from commit f33b746353)
2024-05-06 16:38:47 +02:00
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