named-checkconf -z could exit with an incorrect staatus

the CHECK() macro resets result, so an error code from an earlier
view could be erased if the last view loaded had no errors.

(cherry picked from commit 7e736602)
82 jobs for !3489 with 1807-checkconf-error-v9_11 in 31 minutes and 54 seconds (queued for 5 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #864921
amd64 linux
autoreconf

00:00:17

passed #864923
amd64 linux
clang-format

00:00:13

passed #864924
amd64 linux
coccinelle

00:01:17

passed #864922
amd64 linux
misc

00:00:18

 
  Build
passed #864940
amd64 linux
clang:asan

00:05:49

passed #864944
amd64 linux
clang:buster:amd64

00:02:51

passed #864946
amd64 libvirt
clang:freebsd11.3:amd64

00:03:17

passed #864947
amd64 libvirt
clang:freebsd12.1:amd64

00:02:27

passed #864948
amd64 libvirt
clang:openbsd6.6:amd64

00:06:08

passed #864942
amd64 linux
clang:tsan

00:02:02

passed #864925
amd64 linux
gcc:alpine3.11:amd64

00:02:08

passed #864939
amd64 linux
gcc:asan

00:04:15

passed #864938
amd64 linux
gcc:bionic:amd64

00:01:48

passed #864930
amd64 linux
gcc:buster:amd64

00:01:29

passed #864926
amd64 linux
gcc:centos6:amd64

00:01:49

passed #864927
amd64 linux
gcc:centos7:amd64

00:01:41

passed #864928
amd64 linux
gcc:centos8:amd64

00:02:20

passed #864936
amd64 linux
gcc:fedora31:amd64

00:02:16

passed #864943
amd64 linux
gcc:mutexatomics

00:01:30

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

00:02:42

passed #864945
amd64 linux
gcc:pkcs11

00:02:35

passed #864931
amd64 linux
gcc:sid:amd64

00:02:55

passed #864933
arm64 linux
gcc:sid:arm64

00:09:06

passed #864934
i386 linux
gcc:sid:i386

00:01:20

passed #864929
amd64 linux
gcc:stretch:amd64

00:01:29

passed #864941
amd64 linux
gcc:tsan

00:01:34

passed #864935
amd64 linux
gcc:tumbleweed:amd64

00:02:16

passed #864937
amd64 linux
gcc:xenial:amd64

00:02:42

passed #864950
amd64 windows
msvc:windows:amd64

00:02:44

passed #864949
amd64 linux
nolibtool:sid:amd64

00:02:06

 
  Unit
passed #864965
amd64 linux
unit:clang:asan

00:01:29

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

00:00:31

passed #864971
amd64 libvirt
unit:clang:freebsd11.3:amd64

00:01:24

passed #864972
amd64 libvirt
unit:clang:freebsd12.1:amd64

00:00:54

failed #864967
amd64 linux allowed to fail
unit:clang:tsan

00:00:30

passed #864951
amd64 linux
unit:gcc:alpine3.11:amd64

00:00:37

passed #864964
amd64 linux
unit:gcc:asan

00:01:28

passed #864963
amd64 linux
unit:gcc:bionic:amd64

00:00:42

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

00:00:38

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

00:00:40

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

00:00:45

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

00:00:41

passed #864961
amd64 linux
unit:gcc:fedora31:amd64

00:00:40

passed #864968
amd64 linux
unit:gcc:mutexatomics

00:00:35

passed #864970
amd64 linux
unit:gcc:pkcs11

00:00:49

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

00:00:32

passed #864958
arm64 linux
unit:gcc:sid:arm64

00:00:57

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

00:00:39

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

00:00:37

failed #864966
amd64 linux allowed to fail
unit:gcc:tsan

00:10:42

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

00:00:40

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

00:00:44

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

00:00:54

 
  System
passed #864988
amd64 linux
system:clang:asan

00:08:53

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

00:07:11

passed #864994
amd64 libvirt
system:clang:freebsd11.3:amd64

00:08:22

passed #864995
amd64 libvirt
system:clang:freebsd12.1:amd64

00:08:11

failed #864990
amd64 linux allowed to fail
system:clang:tsan

00:03:49

passed #864974
amd64 linux
system:gcc:alpine3.11:amd64

00:07:39

passed #864987
amd64 linux
system:gcc:asan

00:09:40

passed #865008
linux amd64
system:gcc:bionic:amd64

00:07:03

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

00:07:21

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

00:07:52

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

00:07:16

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

00:07:23

passed #864984
amd64 linux
system:gcc:fedora31:amd64

00:07:27

passed #864991
amd64 linux
system:gcc:mutexatomics

00:07:26

passed #864993
amd64 linux
system:gcc:pkcs11

00:08:07

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

00:07:11

passed #864981
arm64 linux
system:gcc:sid:arm64

00:08:34

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

00:07:21

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

00:07:20

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

00:28:06

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

00:07:16

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

00:06:53

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

00:07:30

failed #864986
amd64 linux
system:gcc:bionic:amd64

00:07:24

 
  Docs
passed #864997
amd64 linux
docs

00:00:33

 
  Postcheck
passed #865001
amd64 linux
cppcheck

00:00:31

passed #864998
amd64 linux
flake8

00:02:28

passed #864999
amd64 linux
pylint

00:02:32

passed #865000
amd64 linux
scan-build

00:10:21

 
Name Stage Failure
failed
system:gcc:tsan System
No job log
failed
unit:gcc:tsan Unit
No job log
failed
system:clang:tsan System
No job log
failed
unit:clang:tsan Unit
No job log