Flush client before putting it on inactive

    WARNING: ThreadSanitizer: data race
    Write of size 4 at 0x000000000001 by thread T1:
    #0 get_client bin/named/client.c:3928:16
    #1 ns_client_replace bin/named/client.c:3725:12
    #2 query_recurse bin/named/query.c:4366:13
    #3 query_find bin/named/query.c
    #4 ns_query_start bin/named/query.c:9716:8
    #5 client_request bin/named/client.c:3127:3
    #6 dispatch lib/isc/task.c:1157:7
    #7 run lib/isc/task.c:1331:2

    Previous write of size 4 at 0x000000000001 by thread T2:
    #0 exit_check bin/named/client.c:706:17
    #1 ns_client_detach bin/named/client.c:3702:8
    #2 query_resume bin/named/query.c:4186:3
    #3 dispatch lib/isc/task.c:1157:7
    #4 run lib/isc/task.c:1331:2
89 jobs for !4267 with marka-noatomic-v9_11 in 15 minutes and 59 seconds (queued for 10 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #1358928
linux amd64
autoreconf

00:00:22

passed #1358930
linux amd64
clang-format

00:00:16

passed #1358931
linux amd64
coccinelle

00:01:10

passed #1358932
linux amd64
danger

00:00:23

passed #1358929
linux amd64
misc

00:00:21

 
  Build
passed #1358947
linux amd64
clang:asan

00:04:48

passed #1358954
linux amd64
clang:buster:amd64

00:02:32

passed #1358956
amd64 libvirt
clang:freebsd11:amd64

00:02:05

passed #1358957
amd64 libvirt
clang:freebsd12:amd64

00:01:50

passed #1358958
amd64 libvirt
clang:openbsd:amd64

00:04:08

passed #1358949
linux amd64
clang:tsan

00:02:50

passed #1358951
linux amd64
clang:tsan:noatomics

00:02:57

passed #1358933
linux amd64
gcc:alpine3.12:amd64

00:02:17

passed #1358946
linux amd64
gcc:asan

00:04:27

passed #1358939
linux amd64
gcc:buster:amd64

00:01:26

passed #1358935
linux amd64
gcc:centos6:amd64

00:01:24

passed #1358934
linux i386
gcc:centos6:i386

00:01:25

passed #1358936
linux amd64
gcc:centos7:amd64

00:01:42

passed #1358937
linux amd64
gcc:centos8:amd64

00:02:01

passed #1358943
linux amd64
gcc:fedora33:amd64

00:02:11

passed #1358945
linux amd64
gcc:focal:amd64

00:02:13

passed #1358952
linux amd64
gcc:mutexatomics

00:02:09

passed #1358953
linux amd64
gcc:noatomics

00:02:27

passed #1358941
linux amd64
gcc:out-of-tree

00:02:05

passed #1358955
linux amd64
gcc:pkcs11

00:02:10

passed #1358940
linux amd64
gcc:sid:amd64

00:03:56

passed #1358938
linux amd64
gcc:stretch:amd64

00:01:57

passed #1358948
linux amd64
gcc:tsan

00:02:36

passed #1358950
linux amd64
gcc:tsan:noatomics

00:02:24

passed #1358942
linux amd64
gcc:tumbleweed:amd64

00:02:07

passed #1358944
linux amd64
gcc:xenial:amd64

00:02:24

passed #1358960
amd64 windows
msvc:windows:amd64

00:01:01

passed #1358959
linux amd64
nolibtool:sid:amd64

00:03:17

 
  Unit
passed #1358974
linux amd64
unit:clang:asan

00:01:10

passed #1358981
linux amd64
unit:clang:buster:amd64

00:00:30

passed #1358983
amd64 libvirt
unit:clang:freebsd11:amd64

00:01:11

passed #1358984
amd64 libvirt
unit:clang:freebsd12:amd64

00:00:54

passed #1358976
linux amd64
unit:clang:tsan

00:04:21

passed #1358978
linux amd64
unit:clang:tsan:noatomics

00:04:34

passed #1358961
linux amd64
unit:gcc:alpine3.12:amd64

00:00:31

passed #1358973
linux amd64
unit:gcc:asan

00:01:11

passed #1358967
linux amd64
unit:gcc:buster:amd64

00:01:02

passed #1358963
linux amd64
unit:gcc:centos6:amd64

00:00:33

passed #1358962
linux i386
unit:gcc:centos6:i386

00:00:35

passed #1358964
linux amd64
unit:gcc:centos7:amd64

00:00:35

passed #1358965
linux amd64
unit:gcc:centos8:amd64

00:00:34

passed #1358970
linux amd64
unit:gcc:fedora33:amd64

00:00:33

passed #1358972
linux amd64
unit:gcc:focal:amd64

00:00:34

passed #1358979
linux amd64
unit:gcc:mutexatomics

00:00:31

passed #1358980
linux amd64
unit:gcc:noatomics

00:00:32

passed #1358982
linux amd64
unit:gcc:pkcs11

00:00:37

passed #1358968
linux amd64
unit:gcc:sid:amd64

00:00:31

passed #1358966
linux amd64
unit:gcc:stretch:amd64

00:00:34

failed #1358975
linux amd64
unit:gcc:tsan

00:09:54

passed #1358977
linux amd64
unit:gcc:tsan:noatomics

00:04:57

passed #1358969
linux amd64
unit:gcc:tumbleweed:amd64

00:00:33

passed #1358971
linux amd64
unit:gcc:xenial:amd64

00:00:37

passed #1358985
linux amd64
unit:nolibtool:sid:amd64

00:00:52

 
  System
passed #1358999
linux amd64
system:clang:asan

00:09:34

passed #1359006
linux amd64
system:clang:buster:amd64

00:07:09

passed #1359008
amd64 libvirt
system:clang:freebsd11:amd64

00:08:12

passed #1359009
amd64 libvirt
system:clang:freebsd12:amd64

00:08:05

passed #1359001
linux amd64
system:clang:tsan

00:11:17

passed #1359003
linux amd64
system:clang:tsan:noatomics

00:11:05

passed #1358986
linux amd64
system:gcc:alpine3.12:amd64

00:07:27

passed #1358998
linux amd64
system:gcc:asan

00:09:25

passed #1358992
linux amd64
system:gcc:buster:amd64

00:08:15

passed #1358988
linux amd64
system:gcc:centos6:amd64

00:07:20

passed #1358987
linux i386
system:gcc:centos6:i386

00:06:40

passed #1358989
linux amd64
system:gcc:centos7:amd64

00:07:20

passed #1358990
linux amd64
system:gcc:centos8:amd64

00:07:23

passed #1358995
linux amd64
system:gcc:fedora33:amd64

00:07:08

passed #1358997
linux amd64
system:gcc:focal:amd64

00:07:29

passed #1359004
linux amd64
system:gcc:mutexatomics

00:07:40

failed #1359005
linux amd64
system:gcc:noatomics

00:07:50

passed #1359007
linux amd64
system:gcc:pkcs11

00:08:01

passed #1358993
linux amd64
system:gcc:sid:amd64

00:07:02

passed #1358991
linux amd64
system:gcc:stretch:amd64

00:07:28

passed #1359000
linux amd64
system:gcc:tsan

00:12:48

passed #1359002
linux amd64
system:gcc:tsan:noatomics

00:12:14

passed #1358994
linux amd64
system:gcc:tumbleweed:amd64

00:07:06

passed #1358996
linux amd64
system:gcc:xenial:amd64

00:07:03

passed #1359010
linux amd64
system:nolibtool:sid:amd64

00:07:17

 
  Docs
passed #1359011
linux amd64
docs

00:00:54

 
  Postcheck
passed #1359015
linux amd64
cppcheck

00:00:49

passed #1359012
linux amd64
flake8

00:00:46

passed #1359016
linux amd64
gcov

00:00:33

74.0%
passed #1359013
linux amd64
pylint

00:00:49

passed #1359014
linux amd64
scan-build

00:09:40

 
Name Stage Failure
failed
unit:gcc:tsan Unit
Uploading artifacts...
WARNING: lib/*/tests/tsan.*: no matching files
WARNING: tsan/: no matching files
kyua.log: found 1 matching files and directories

kyua.results: found 1 matching files and directories

kyua_html/: found 69 matching files and directories

Uploading artifacts as "archive" to coordinator... ok
id=1358975 responseStatus=201 Created token=ozR8saR4
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
system:gcc:noatomics System
I:The following system tests failed:
I: statistics
make: *** [Makefile:474: test] Error 1
Uploading artifacts for failed job
Uploading artifacts...
untracked: found 1411 files

Uploading artifacts as "archive" to coordinator... ok
id=1359005 responseStatus=201 Created token=VzqLz_zd
Cleaning up file based variables
ERROR: Job failed: exit code 1