mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-16 23:52:40 -04:00
The dnstap system test fails intermittently, and it appears to be
a timing issue - adding a short delay after running 'fstrm_capture',
and before running 'dnstap -reopen' improves the situation from
50% failures (5 out of 10 times) to 0% failures (0 out of 20 times),
tested locally.
The reason is that 'fstrm_capture' is executed in the background,
and due to OS scheduling and other factors, the listener socket
may not be ready when the following command runs and tells 'named'
to (re)open it.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| ns1 | ||
| ns2 | ||
| ns3 | ||
| ns4 | ||
| bad-fstrm-reopen-interval.conf | ||
| bad-fstrm-set-buffer-hint-max.conf | ||
| bad-fstrm-set-buffer-hint-min.conf | ||
| bad-fstrm-set-flush-timeout-max.conf | ||
| bad-fstrm-set-flush-timeout-min.conf | ||
| bad-fstrm-set-input-queue-size-max.conf | ||
| bad-fstrm-set-input-queue-size-min.conf | ||
| bad-fstrm-set-input-queue-size-po2.conf | ||
| bad-fstrm-set-output-notify-threshold.conf | ||
| bad-fstrm-set-output-queue-size-max.conf | ||
| bad-fstrm-set-output-queue-size-min.conf | ||
| bad-fstrm-set-reopen-interval-max.conf | ||
| bad-fstrm-set-reopen-interval-min.conf | ||
| bad-missing-dnstap-output-view.conf | ||
| bad-missing-dnstap-output.conf | ||
| bad-size-version.conf | ||
| clean.sh | ||
| good-dnstap-in-options.conf | ||
| good-dnstap-in-view.conf | ||
| good-fstrm-reopen-interval.conf | ||
| good-fstrm-set-buffer-hint.conf | ||
| good-fstrm-set-flush-timeout.conf | ||
| good-fstrm-set-input-queue-size.conf | ||
| good-fstrm-set-output-notify-threshold.conf | ||
| good-fstrm-set-output-queue-model-mpsc.conf | ||
| good-fstrm-set-output-queue-model-spsc.conf | ||
| good-fstrm-set-output-queue-size.conf | ||
| good-fstrm-set-reopen-interval.conf | ||
| good-size-unlimited.conf | ||
| good-size-version.conf | ||
| large-answer.fstrm | ||
| prereq.sh | ||
| README | ||
| setup.sh | ||
| tests.sh | ||
| tests_dnstap.py | ||
| ydump.py | ||
Copyright (C) Internet Systems Consortium, Inc. ("ISC")
SPDX-License-Identifier: MPL-2.0
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, you can obtain one at https://mozilla.org/MPL/2.0/.
See the COPYRIGHT file distributed with this work for additional
information regarding copyright ownership.
The "large-answer.fstrm" file was generated by configuring a named instance
compiled with --enable-dnstap and --enable-fixed-rrset with the following
directives:
minimal-responses yes;
rrset-order { order fixed; };
dnstap { auth response; };
dnstap-identity none;
dnstap-output file "large-answer.fstrm";
The captured RRset from the "example." zone was created using:
$GENERATE 1-48 @ IN A 127.0.0.$
A server instance set up this way was then queried non-recursively (RD=0) for
"example/A".