doth system test is failing on MacOS - both system's CA store tests based are failing
Looks like we are getting a different error state and the expected message is not emitted.
S:doth:2023-06-22T16:29:52+1000
T:doth:1:A
A:doth:System test doth
I:doth:PORTS:5300,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312
I:doth:starting servers
I:doth:checking DoT query (with TLS verification using the system's CA store, failure expected) (1)
setup_libs()
setup_system()
create_search_list()
ndots is 1.
timeout is 0.
retries is 3.
get_server_list()
make_server(::1)
dig_query_setup
parse_args()
making new lookup
make_empty_lookup()
make_empty_lookup() = 0x1061e4000->references = 1
main parsing +tls
main parsing +noadd
main parsing +nosea
main parsing +nostat
main parsing +noquest
main parsing +nocmd
main parsing -p
main parsing +tls-ca
main parsing +tls-hostname=srv01.crt01.example.com
main parsing @10.53.0.1
make_server(10.53.0.1)
main parsing .
clone_lookup()
make_empty_lookup()
make_empty_lookup() = 0x1061e5800->references = 1
clone_server_list()
make_server(10.53.0.1)
looking up .
main parsing SOA
main parsing -d
dig_startup()
start_lookup()
setup_lookup(0x1061e5800)
resetting lookup counter.
idn_textname: .
using root origin
recursive query
AD query
add_question()
starting to render the message
add_opt()
done rendering
create query 0x10613c8c0 linked to lookup 0x1061e5800
dighost.c:2141:lookup_attach(0x1061e5800) = 2
dighost.c:2651:new_query(0x10613c8c0) = 1
do_lookup()
start_tcp(0x10613c8c0)
dighost.c:2928:query_attach(0x10613c8c0) = 2
query->servname = 10.53.0.1
dighost.c:3016:query_attach(0x10613c8c0) = 3
isc_tls_create -> 0x106086000
initialize_tls -> success
tls_do_bio: sock->tlsstream.state=0
SSL_do_handshake -> -1
tls_do_bio: tls_try_handshake -> -1
tls_do_bio: tls_status=2 saved_errno=0
tls_do_bio: tls_process_outgoing -> 303
tls_do_bio: sock->tlsstream.state=1
tls_do_bio: tls_status=2 saved_errno=0
tls_do_bio: tls_process_outgoing -> 0
tls_do_bio: SSL_ERROR_WANT_READ
tls_readcb: success
tls_do_bio: sock->tlsstream.state=1
SSL_do_handshake -> -1
tls_do_bio: tls_status=5 saved_errno=0
tls_do_bio: tls_process_outgoing -> 7
tls_do_bio: sock->tlsstream.state=1
tls_do_bio: tls_status=5 saved_errno=0
tls_do_bio: tls_process_outgoing -> 0
tls_do_bio: SSL_ERROR_WANT_READ
tls_readcb: end of file
tls_failed_read_cb: end of file
tls_failed_read_cb: is is TLS counterpart of isc__nm_failed_connect_cb()
tls_call_connect_cb: calling sock->connect_cb(0x10613ed80, end of file, 0x10610a800)
streamdns_transport_connected: end of file -> operation canceled
streamdns_transport_connected: sock->streamdns.tls_verify_error=unable to get local issuer certificate
tcp_connected()
tcp_connected(0x10613ef40, operation canceled, 0x10613c8c0)
dighost.c:3526:lookup_attach(0x1061e5800) = 3
in cancel handler
dighost.c:3546:_cancel_lookup()
canceling pending query 0x10613c8c0, belonging to 0x1061e5800
dighost.c:1729:query_detach(0x10613c8c0) = 2
dighost.c:2774:query_detach(0x10613c8c0) = 1
check_if_done()
list empty
dighost.c:3549:query_detach(0x10613c8c0) = 0
dighost.c:3549:destroy_query(0x10613c8c0) = 0
dighost.c:1687:lookup_detach(0x1061e5800) = 2
dighost.c:3550:lookup_detach(0x1061e5800) = 1
clear_current_lookup()
lookup cleared
dighost.c:1820:lookup_detach(0x1061e5800) = 0
destroy_lookup
freeing server 0x106109e00 belonging to 0x1061e5800
start_lookup()
check_if_done()
list empty
shutting down
shutdown
destroy_lookup
freeing server 0x106108a00 belonging to 0x1061e4000
cancel_all()
destroy_libs()
flush_server_list()
destroy DST lib
Removing log context
Destroy memory
I:doth:failed
I:doth:exit status: 1
I:doth:stopping servers
R:doth:FAIL
E:doth:2023-06-22T16:29:57+1000
FAIL: doth
============================================================================
Testsuite summary for BIND 9.19.15-dev
============================================================================
# TOTAL: 1
# PASS: 0
# SKIP: 0
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See bin/tests/system/run.log
Please report to https://gitlab.isc.org/isc-projects/bind9/-/issues/new?issuable_template=Bug
============================================================================
make[3]: *** [run.log] Error 1
make[2]: *** [check-TESTS] Error 2
make[1]: *** [check-am] Error 2
make: *** [check-recursive] Error 1