Don't tests stats channels that haven't been configured

pytest was failing because it was testing features that had
not been configured.  test to see if those features have been
configured before running the tests.

(cherry picked from commit 10c01cba)
80 jobs for !5495 with 2326-some-of-the-statschannel-system-test-cases-fail-if-i-build-bind-9-16-9-v9_16 in 18 minutes and 36 seconds (queued for 17 seconds)
latest detached
Status Job ID Name Coverage
  Precheck
passed autoreconf #2043130
amd64 linux

00:00:16

passed clang-format #2043132
amd64 linux

00:00:17

passed coccinelle #2043133
amd64 linux

00:03:42

passed danger #2043209
amd64 linux

00:00:14

passed misc #2043131
amd64 linux

00:00:17

passed tarball-create #2043135
amd64 linux

00:00:19

failed danger #2043134
amd64 linux

00:00:16

 
  Build
passed clang:asan #2043149
amd64 linux

00:04:17

passed clang:buster:amd64 #2043153
amd64 linux

00:02:15

passed clang:freebsd12:amd64 #2043156
amd64 libvirt

00:02:03

passed clang:freebsd13:amd64 #2043157
amd64 libvirt

00:03:37

passed clang:openbsd:amd64 #2043158
amd64 libvirt

00:03:34

passed clang:tsan #2043151
amd64 linux

00:02:27

passed gcc:alpine3.14:amd64 #2043136
amd64 linux

00:02:03

passed gcc:asan #2043148
amd64 linux

00:03:28

passed gcc:bionic:amd64 #2043146
amd64 linux

00:01:50

passed gcc:buster:amd64 #2043140
amd64 linux

00:01:25

passed gcc:buster:amd64cross32 #2043141
amd64 linux

00:01:49

passed gcc:focal:amd64 #2043147
amd64 linux

00:01:35

passed gcc:mutexatomics #2043152
amd64 linux

00:01:54

passed gcc:oraclelinux7:amd64 #2043137
amd64 linux

00:01:35

passed gcc:oraclelinux8:amd64 #2043138
amd64 linux

00:01:43

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

00:01:25

passed gcc:sid:amd64 #2043142
amd64 linux

00:01:55

passed gcc:softhsm2.4 #2043154
amd64 linux

00:01:41

passed gcc:softhsm2.6 #2043155
amd64 linux

00:01:44

passed gcc:stretch:amd64 #2043139
amd64 linux

00:01:48

passed gcc:tarball #2043144
amd64 linux

00:02:20

passed gcc:tsan #2043150
amd64 linux

00:02:00

passed gcc:tumbleweed:amd64 #2043145
amd64 linux

00:01:30

passed msvc:windows:amd64 #2043160
amd64 windows

00:01:00

passed nolibtool:sid:amd64 #2043159
amd64 linux

00:02:19

 
  Unit
passed unit:clang:asan #2043172
amd64 linux

00:01:09

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

00:00:37

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

00:00:54

passed unit:clang:freebsd13:amd64 #2043180
amd64 libvirt

00:02:48

passed unit:clang:tsan #2043174
amd64 linux

00:01:36

passed unit:gcc:alpine3.14:amd64 #2043161
amd64 linux

00:01:01

passed unit:gcc:asan #2043171
amd64 linux

00:01:16

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

00:00:38

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

00:00:57

passed unit:gcc:buster:amd64cross32 #2043166
amd64 linux

00:00:39

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

00:00:38

passed unit:gcc:mutexatomics #2043175
amd64 linux

00:00:40

passed unit:gcc:oraclelinux7:amd64 #2043162
amd64 linux

00:00:38

passed unit:gcc:oraclelinux8:amd64 #2043163
amd64 linux

00:00:43

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

00:00:37

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

00:00:37

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

00:00:36

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

00:00:36

passed unit:gcc:tsan #2043173
amd64 linux

00:02:04

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

00:00:35

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

00:00:52

 
  System
passed system:clang:asan #2043193
amd64 linux

00:13:28

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

00:10:59

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

00:10:56

passed system:clang:freebsd13:amd64 #2043201
amd64 libvirt

00:12:33

passed system:clang:tsan #2043195
amd64 linux

00:15:22

passed system:gcc:alpine3.14:amd64 #2043182
amd64 linux

00:12:28

passed system:gcc:asan #2043192
amd64 linux

00:14:08

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

00:10:12

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

00:13:16

passed system:gcc:buster:amd64cross32 #2043187
amd64 linux

00:11:05

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

00:10:52

passed system:gcc:mutexatomics #2043196
amd64 linux

00:10:28

passed system:gcc:oraclelinux7:amd64 #2043183
amd64 linux

00:10:27

passed system:gcc:oraclelinux8:amd64 #2043184
amd64 linux

00:10:20

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

00:10:25

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

00:10:46

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

00:10:57

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

00:10:24

passed system:gcc:tsan #2043194
amd64 linux

00:15:47

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

00:11:39

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

00:12:20

 
  Docs
passed docs #2043203
amd64 linux

00:02:51

 
  Postcheck
passed cppcheck #2043207
amd64 linux

00:00:33

passed flake8 #2043204
amd64 linux

00:00:34

passed gcov #2043208
amd64 linux

00:00:37

77.0%
passed pylint #2043205
amd64 linux

00:00:27

passed scan-build #2043206
amd64 linux

00:10:04