Runtime system test fails badly when run as root on non-linux systems.
Lots of the sub tests depend on capabilities being enabled to get "permission denied" when run as root.
% sudo sh run.sh runtime
Making check in dyndb/driver
make[1]: Nothing to be done for `check'.
Making check in dlzexternal/driver
make[1]: Nothing to be done for `check'.
/Applications/Xcode.app/Contents/Developer/usr/bin/make feature-test makejournal pipelined/pipequeries rndc/gencheck rpz/dnsrps tkey/keycreate tkey/keydelete
make[2]: `feature-test' is up to date.
make[2]: `makejournal' is up to date.
make[2]: `pipelined/pipequeries' is up to date.
make[2]: `rndc/gencheck' is up to date.
make[2]: `rpz/dnsrps' is up to date.
make[2]: `tkey/keycreate' is up to date.
make[2]: `tkey/keydelete' is up to date.
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS
S:runtime:2020-06-01T09:18:45+1000
T:runtime:1:A
A:runtime:System test runtime
I:runtime:PORTS:5330,5331,5332,5333,5334,5335,5336,5337,5338,5339
I:runtime:starting servers
I:runtime:verifying that named started normally (1)
I:runtime:verifying that named checks for conflicting named processes (2)
I:runtime:verifying that 'lock-file none' disables process check (3)
I:runtime:checking that named refuses to reconfigure if working directory is not writable (4)
I:runtime:failed
I:runtime:checking that named refuses to reconfigure if managed-keys-directory is not writable (5)
I:runtime:failed
I:runtime:checking that named refuses to reconfigure if new-zones-directory is not writable (6)
I:runtime:failed
I:runtime:checking that named recovers when configuration file is valid again (7)
I:runtime:failed
I:runtime:checking that named refuses to start if working directory is not writable (8)
I:runtime:failed
I:runtime:checking that named refuses to start if managed-keys-directory is not writable (9)
I:runtime:failed
I:runtime:checking that named refuses to start if new-zones-directory is not writable (10)
I:runtime:failed
I:runtime:checking that named logs control characters in octal notation (11)
I:runtime:checking that named escapes special characters in the logs (12)
I:runtime:checking that named logs an ellipsis when the command line is larger than 8k bytes (13)
I:runtime:verifying that named switches UID (14)
I:runtime:failed
I:runtime:exit status: 8
I:runtime:stopping servers
R:runtime:FAIL
E:runtime:2020-06-01T09:19:22+1000
FAIL: runtime
============================================================================
Testsuite summary for BIND 9.17.1-dev
============================================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See bin/tests/system/run.log
Please report to info@isc.org
============================================================================
make[3]: *** [run.log] Error 1
make[2]: *** [check-TESTS] Error 2
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1
%
Additionally it appears that the following also fails on centos8 (from bind-users) which is what prompted me to check.
I:runtime:verifying that named switches UID (14)
I:runtime:failed