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 !3488 with 1807-checkconf-error-v9_16 in 39 minutes and 32 seconds (queued for 5 seconds)
detached
Status Job ID Name Coverage
  Precheck
passed #864757
amd64 linux
autoreconf

00:00:20

passed #864759
amd64 linux
clang-format

00:00:25

passed #864760
amd64 linux
coccinelle

00:03:14

passed #864758
amd64 linux
misc

00:00:20

 
  Build
passed #864776
amd64 linux
clang:asan

00:06:40

passed #864780
amd64 linux
clang:buster:amd64

00:03:32

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

00:01:59

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

00:02:10

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

00:04:58

passed #864778
amd64 linux
clang:tsan

00:03:48

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

00:04:19

passed #864775
amd64 linux
gcc:asan

00:03:38

passed #864774
amd64 linux
gcc:bionic:amd64

00:01:27

passed #864766
amd64 linux
gcc:buster:amd64

00:04:13

passed #864762
amd64 linux
gcc:centos6:amd64

00:01:26

passed #864763
amd64 linux
gcc:centos7:amd64

00:01:37

passed #864764
amd64 linux
gcc:centos8:amd64

00:07:49

passed #864772
amd64 linux
gcc:fedora31:amd64

00:04:12

passed #864779
amd64 linux
gcc:mutexatomics

00:02:44

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

00:02:12

passed #864781
amd64 linux
gcc:pkcs11

00:03:26

passed #864767
amd64 linux
gcc:sid:amd64

00:01:11

passed #864769
arm64 linux
gcc:sid:arm64

00:02:59

passed #864770
i386 linux
gcc:sid:i386

00:01:23

passed #864765
amd64 linux
gcc:stretch:amd64

00:02:06

passed #864777
amd64 linux
gcc:tsan

00:04:40

passed #864771
amd64 linux
gcc:tumbleweed:amd64

00:02:06

passed #864773
amd64 linux
gcc:xenial:amd64

00:01:23

passed #864786
amd64 windows
msvc:windows:amd64

00:02:39

passed #864785
amd64 linux
nolibtool:sid:amd64

00:02:36

 
  Unit
passed #864801
amd64 linux
unit:clang:asan

00:00:59

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

00:00:43

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

00:01:06

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

00:01:15

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

00:00:16

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

00:00:45

passed #864800
amd64 linux
unit:gcc:asan

00:00:57

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

00:00:39

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

00:00:42

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

00:00:38

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

00:00:39

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

00:00:40

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

00:00:39

passed #864804
amd64 linux
unit:gcc:mutexatomics

00:00:33

passed #864806
amd64 linux
unit:gcc:pkcs11

00:00:38

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

00:00:51

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

00:00:57

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

00:00:46

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

00:00:40

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

00:01:50

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

00:00:37

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

00:00:37

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

00:00:52

 
  System
passed #864824
amd64 linux
system:clang:asan

00:15:11

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

00:09:44

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

00:13:09

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

00:12:36

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

00:08:41

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

00:13:34

passed #864920
linux amd64
system:gcc:asan

00:14:40

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

00:09:53

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

00:12:12

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

00:11:03

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

00:10:21

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

00:16:37

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

00:12:52

passed #864827
amd64 linux
system:gcc:mutexatomics

00:11:58

passed #864829
amd64 linux
system:gcc:pkcs11

00:12:53

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

00:11:32

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

00:11:38

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

00:10:39

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

00:09:43

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

00:18:05

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

00:10:26

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

00:09:52

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

00:10:34

failed #864823
amd64 linux
system:gcc:asan

00:15:28

 
  Docs
passed #864833
amd64 linux
docs

00:00:36

 
  Postcheck
passed #864837
amd64 linux
cppcheck

00:00:26

passed #864834
amd64 linux
flake8

00:01:50

passed #864835
amd64 linux
pylint

00:03:13

passed #864836
amd64 linux
scan-build

00:10:46

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