query_test failure on Ubuntu 21.10 (Impish)
Does not pass the tests when built on Ubuntu impish.
BIND version used
v9_17_19
Some packages of interest
- autoconf: 2.69-14
- make: 4.3-4ubuntu1
- gcc-11: 11.2.0-7ubuntu2
- python3.9: 3.9.7-4
- pytest: 6.2.5
Steps to reproduce
git checkout v9_17_19
export CFLAGS+=-Wno-error
export NOCONFIGURE=yes
autoreconf -f -i
./configure --build=x86_64-pc-linux-gnu \
--prefix=/usr --sysconfdir=/etc/bind --localstatedir=/ \
--datarootdir=/usr/share --docdir=/usr/share/doc --mandir=/usr/share/man \
--disable-native-pkcs11 \
--disable-querytrace \
--enable-auto-validation \
--enable-developer \
--enable-dnstap \
--enable-fixed-rrset \
--enable-full-report \
--enable-largefile \
--enable-linux-caps \
--enable-shared=yes \
--with-cmocka=yes \
--with-gnu-ld=yes \
--with-gssapi=/usr/bin/krb5-config \
--with-jemalloc=detect \
--with-json-c=yes \
--with-libidn2 \
--with-libxml2=yes \
--with-lmdb=auto \
--with-maxminddb=yes \
--with-openssl=/usr/lib/x86_64-linux-gnu \
--with-tuning=large \
--with-zlib=yes
make all
make doc html pdf
sudo pip3 install -I pytest
sudo bin/tests/system/ifconfig.sh up
make check
leads to:
...
make[5]: Entering directory 'git-bind9/lib/ns/tests'
make[6]: Entering directory 'git-bind9/lib/ns/tests'
PASS: listenlist_test
PASS: notify_test
PASS: plugin_test
FAIL: query_test
============================================================================
Testsuite summary for BIND 9.17.19
============================================================================
# TOTAL: 4
# PASS: 3
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See lib/ns/tests/test-suite.log
Please report to info@isc.org
============================================================================
test-suite.log
===============================================
BIND 9.17.19: lib/ns/tests/test-suite.log
===============================================
# TOTAL: 4
# PASS: 3
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
.. contents:: :depth: 2
FAIL: query_test
================
[==========] Running 4 test(s).
[ RUN ] ns__query_sfcache_test
[ OK ] ns__query_sfcache_test
[ RUN ] ns__query_start_test
[ OK ] ns__query_start_test
[ RUN ] ns__query_hookasync_test
netmgr/tcpdns.c:334: fatal error: RUNTIME_CHECK(result == ISC_R_SUCCESS) failed
FAIL query_test (exit status: 134)