tcpdns_test fails reproducibly in tcpdns_half_recv_half_send() test
Summary
lib/isc/tests/tcpdns_test fails reproducibly in tcpdns_half_recv_half_send() test
BIND version used
BIND 9.17.8 (Development Release) <id:35ccdf0>
running on Linux x86_64 5.10.4-arch2-1 #1 SMP PREEMPT Fri, 01 Jan 2021 05:29:53 +0000
built by make with '--prefix=/tmp/bmaster' '--with-libjson=no' '--with-atf=yes' 'PKG_CONFIG_PATH=/usr/local/lib/pkgconfig'
compiled by GCC 10.2.0
compiled with OpenSSL version: OpenSSL 1.1.1i 8 Dec 2020
linked to OpenSSL version: OpenSSL 1.1.1i 8 Dec 2020
compiled with libuv version: 1.40.0
linked to libuv version: 1.40.0
compiled with libxml2 version: 2.9.10
linked to libxml2 version: 20910
compiled with json-c version: 0.15
linked to json-c version: 0.15
compiled with zlib version: 1.2.11
linked to zlib version: 1.2.11
linked to maxminddb version: 1.4.3
threads support is enabled
Steps to reproduce
Run:
rr record --chaos bind/git/lib/isc/tests/.libs/lt-tcpdns_test
couple times. On my x86_64 Arch system it fails 3/8 times.
RR version 5.3.0.r316.gcd61ba22-1 but I guess it does not matter that much.
What is the current bug behavior?
[ RUN ] tcpdns_half_recv_half_send
[ ERROR ] --- __v <= NSENDS * NWRITES * 60 / 100
[ LINE ] --- tcpdns_test.c:839: error: Failure!
[ FAILED ] tcpdns_half_recv_half_send
What is the expected correct behavior?
[ OK ] tcpdns_half_recv_half_send