make (named_server_t).reload_status atomic

    WARNING: ThreadSanitizer: data race
    Write of size 4 at 0x000000000001 by thread T1:
    #0 view_loaded bin/named/server.c:9678:25
    #1 call_loaddone lib/dns/zt.c:308:3
    #2 doneloading lib/dns/zt.c:582:3
    #3 zone_asyncload lib/dns/zone.c:2322:3
    #4 dispatch lib/isc/task.c:1152:7
    #5 run lib/isc/task.c:1344:2

    Previous read of size 4 at 0x000000000001 by thread T2:
    #0 named_server_status bin/named/server.c:11903:14
    #1 named_control_docommand bin/named/control.c:272:12
    #2 control_command bin/named/controlconf.c:390:17
    #3 dispatch lib/isc/task.c:1152:7
    #4 run lib/isc/task.c:1344:2

    Location is heap block of size 409 at 0x000000000011 allocated by main thread:
    #0 malloc <null>
    #1 default_memalloc lib/isc/mem.c:713:8
    #2 mem_get lib/isc/mem.c:622:8
    #3 mem_allocateunlocked lib/isc/mem.c:1268:8
    #4 isc___mem_allocate lib/isc/mem.c:1288:7
    #5 isc__mem_allocate lib/isc/mem.c:2453:10
    #6 isc___mem_get lib/isc/mem.c:1037:11
    #7 isc__mem_get lib/isc/mem.c:2432:10
    #8 named_server_create bin/named/server.c:9978:27
    #9 setup bin/named/main.c:1256:2
    #10 main bin/named/main.c:1523:2

    Thread T1 (running) created by main thread at:
    #0 pthread_create <null>
    #1 isc_thread_create lib/isc/pthreads/thread.c:73:8
    #2 isc_taskmgr_create lib/isc/task.c:1434:3
    #3 create_managers bin/named/main.c:915:11
    #4 setup bin/named/main.c:1223:11
    #5 main bin/named/main.c:1523:2

    Thread T2 (running) created by main thread at:
    #0 pthread_create <null>
    #1 isc_thread_create lib/isc/pthreads/thread.c:73:8
    #2 isc_taskmgr_create lib/isc/task.c:1434:3
    #3 create_managers bin/named/main.c:915:11
    #4 setup bin/named/main.c:1223:11
    #5 main bin/named/main.c:1523:2

    SUMMARY: ThreadSanitizer: data race bin/named/server.c:9678:25 in view_loaded
74 jobs for !4167 with 2180-threadsanitizer-data-race-bin-named-server-c-9678-25-in-view_loaded in 22 minutes and 19 seconds (queued for 9 seconds)
detached
Status Job ID Name Coverage
  Autoconf
passed #1190337
amd64 linux
autoreconf

00:00:18

 
  Precheck
passed #1190339
amd64 linux
clang-format

00:00:17

passed #1190340
amd64 linux
coccinelle

00:03:36

passed #1190341
amd64 linux
danger

00:00:14

passed #1190338
amd64 linux
misc

00:00:12

passed #1190342
amd64 linux
tarball-create

00:01:25

 
  Build
passed #1190355
amd64 linux
clang:asan

00:01:52

passed #1190359
amd64 linux
clang:buster:amd64

00:00:56

passed #1190362
amd64 libvirt
clang:freebsd11:amd64

00:01:20

passed #1190363
amd64 libvirt
clang:freebsd12:amd64

00:01:04

passed #1190364
amd64 libvirt
clang:openbsd:amd64

00:02:18

passed #1190357
amd64 linux
clang:tsan

00:01:12

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

00:00:47

passed #1190354
amd64 linux
gcc:asan

00:01:45

passed #1190347
amd64 linux
gcc:buster:amd64

00:00:46

passed #1190344
amd64 linux
gcc:centos7:amd64

00:00:47

passed #1190345
amd64 linux
gcc:centos8:amd64

00:00:54

passed #1190353
amd64 linux
gcc:focal:amd64

00:00:49

passed #1190358
amd64 linux
gcc:mutexatomics

00:00:48

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

00:00:52

passed #1190348
amd64 linux
gcc:sid:amd64

00:01:07

passed #1190350
i386 linux
gcc:sid:i386

00:00:56

passed #1190360
amd64 linux
gcc:softhsm2.4

00:00:56

passed #1190361
amd64 linux
gcc:softhsm2.6

00:00:48

passed #1190346
amd64 linux
gcc:stretch:amd64

00:01:00

passed #1190356
amd64 linux
gcc:tsan

00:01:02

passed #1190351
amd64 linux
gcc:tumbleweed:amd64

00:00:47

passed #1190352
amd64 linux
gcc:xenial:amd64

00:00:50

passed #1190365
amd64 windows
msvc:windows:amd64

00:00:42

 
  Unit
passed #1190377
amd64 linux
unit:clang:asan

00:01:18

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

00:00:55

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

00:01:28

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

00:01:19

passed #1190379
amd64 linux
unit:clang:tsan

00:03:05

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

00:01:02

passed #1190376
amd64 linux
unit:gcc:asan

00:01:14

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

00:00:55

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

00:00:56

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

00:00:58

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

00:00:57

passed #1190380
amd64 linux
unit:gcc:mutexatomics

00:00:57

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

00:01:02

passed #1190372
i386 linux
unit:gcc:sid:i386

00:00:58

passed #1190382
amd64 linux
unit:gcc:softhsm2.4

00:01:01

passed #1190383
amd64 linux
unit:gcc:softhsm2.6

00:00:55

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

00:00:58

passed #1190378
amd64 linux
unit:gcc:tsan

00:03:55

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

00:00:56

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

00:01:05

 
  System
passed #1190397
amd64 linux
system:clang:asan

00:12:17

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

00:11:21

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

00:10:41

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

00:11:33

passed #1190399
amd64 linux
system:clang:tsan

00:13:39

failed #1190386
amd64 linux
system:gcc:alpine3.12:amd64

00:12:14

passed #1190396
amd64 linux
system:gcc:asan

00:12:36

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

00:10:37

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

00:10:53

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

00:11:47

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

00:11:21

passed #1190400
amd64 linux
system:gcc:mutexatomics

00:10:31

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

00:09:57

passed #1190392
i386 linux
system:gcc:sid:i386

00:11:14

passed #1190402
amd64 linux
system:gcc:softhsm2.4

00:11:23

passed #1190403
amd64 linux
system:gcc:softhsm2.6

00:10:30

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

00:10:12

failed #1190398
amd64 linux allowed to fail
system:gcc:tsan

00:13:33

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

00:10:59

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

00:10:13

 
  Docs
passed #1190406
amd64 linux
docs

00:00:33

 
  Postcheck
passed #1190410
amd64 linux
cppcheck

00:00:41

passed #1190407
amd64 linux
flake8

00:00:20

passed #1190408
amd64 linux
pylint

00:00:22

passed #1190409
amd64 linux
scan-build

00:04:14

 
Name Stage Failure
failed
system:gcc:tsan System
No job log
failed
system:gcc:alpine3.12:amd64 System
No job log