/drone/src/src/mod/endpoints/mod_sofia/test/test_sofia_funcs.sh: line 2: cd: test: No such file or directory
/drone/src/src/mod/endpoints/mod_sofia/test/stir-shaken/www /drone/src/src/mod/endpoints/mod_sofia/test
/drone/src/src/mod/endpoints/mod_sofia/test
test_protect_url ..................................................2022-06-23 05:39:33.018940 93.33% [INFO] test_sofia_funcs.c:89 before: [external/
#%&+:;<=>?@[\]^`{|}"@freeswitch-testing:9080]
2022-06-23 05:39:33.018940 93.33% [INFO] test_sofia_funcs.c:91 after: [external/%0D%0A%20%23%25%26%2B%3A%3B%3C%3D%3E%3F@[\]^`{|}"@freeswitch-testing:9080]
PASS
originate_test ....................................................2022-06-23 05:39:33.038938 93.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-23 05:39:33.038938 93.33% [ERR] mod_sofia.c:4926 Invalid Profile
2022-06-23 05:39:33.038938 93.33% [NOTICE] mod_sofia.c:5222 Close Channel N/A [CS_NEW]
2022-06-23 05:39:33.038938 93.33% [DEBUG] switch_core_state_machine.c:735 () Running State Change CS_DESTROY (Cur 0 Tot 1)
2022-06-23 05:39:33.038938 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY
2022-06-23 05:39:33.038938 93.33% [DEBUG] mod_sofia.c:379 N/A SOFIA DESTROY
2022-06-23 05:39:33.038938 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY going to sleep
2022-06-23 05:39:33.038938 93.33% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [sofia] cause: [INVALID_PROFILE]
2022-06-23 05:39:33.038938 93.33% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 811 [INVALID_PROFILE]
TEST FAIL: test/test_sofia_funcs.c(107): session
TEST FAIL: test/test_sofia_funcs.c(108): status == SWITCH_STATUS_SUCCESS
FAIL ***
sofia_verify_identity_test_no_identity ............................2022-06-23 05:39:33.038938 93.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-23 05:39:33.058939 93.33% [ERR] mod_sofia.c:4926 Invalid Profile
2022-06-23 05:39:33.058939 93.33% [NOTICE] mod_sofia.c:5222 Close Channel N/A [CS_NEW]
2022-06-23 05:39:33.058939 93.33% [DEBUG] switch_core_state_machine.c:735 () Running State Change CS_DESTROY (Cur 0 Tot 2)
2022-06-23 05:39:33.058939 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY
2022-06-23 05:39:33.058939 93.33% [DEBUG] mod_sofia.c:379 N/A SOFIA DESTROY
2022-06-23 05:39:33.058939 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY going to sleep
2022-06-23 05:39:33.058939 93.33% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [sofia] cause: [INVALID_PROFILE]
2022-06-23 05:39:33.058939 93.33% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 811 [INVALID_PROFILE]
TEST FAIL: test/test_sofia_funcs.c(129): cause == SWITCH_CAUSE_NO_IDENTITY
FAIL ***
sofia_verify_identity_test_bad_identity ...........................2022-06-23 05:39:33.078936 93.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-23 05:39:33.078936 93.33% [ERR] mod_sofia.c:4926 Invalid Profile
2022-06-23 05:39:33.078936 93.33% [NOTICE] mod_sofia.c:5222 Close Channel N/A [CS_NEW]
2022-06-23 05:39:33.078936 93.33% [DEBUG] switch_core_state_machine.c:735 () Running State Change CS_DESTROY (Cur 0 Tot 3)
2022-06-23 05:39:33.078936 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY
2022-06-23 05:39:33.078936 93.33% [DEBUG] mod_sofia.c:379 N/A SOFIA DESTROY
2022-06-23 05:39:33.078936 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY going to sleep
2022-06-23 05:39:33.078936 93.33% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [sofia] cause: [INVALID_PROFILE]
2022-06-23 05:39:33.078936 93.33% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 811 [INVALID_PROFILE]
TEST FAIL: test/test_sofia_funcs.c(148): cause == SWITCH_CAUSE_INVALID_IDENTITY
FAIL ***
sofia_verify_identity_test_valid_identity_no_cert_available .......2022-06-23 05:39:33.078936 93.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-23 05:39:33.078936 93.33% [ERR] mod_sofia.c:4926 Invalid Profile
2022-06-23 05:39:33.078936 93.33% [NOTICE] mod_sofia.c:5222 Close Channel N/A [CS_NEW]
2022-06-23 05:39:33.098940 93.33% [DEBUG] switch_core_state_machine.c:735 () Running State Change CS_DESTROY (Cur 0 Tot 4)
2022-06-23 05:39:33.098940 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY
2022-06-23 05:39:33.098940 93.33% [DEBUG] mod_sofia.c:379 N/A SOFIA DESTROY
2022-06-23 05:39:33.098940 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY going to sleep
2022-06-23 05:39:33.098940 93.33% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [sofia] cause: [INVALID_PROFILE]
2022-06-23 05:39:33.098940 93.33% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 811 [INVALID_PROFILE]
TEST FAIL: test/test_sofia_funcs.c(167): cause == SWITCH_CAUSE_INVALID_IDENTITY
FAIL ***
sofia_auth_identity_test_attest_a .................................2022-06-23 05:39:33.098940 93.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-23 05:39:33.098940 93.33% [ERR] mod_sofia.c:4926 Invalid Profile
2022-06-23 05:39:33.098940 93.33% [NOTICE] mod_sofia.c:5222 Close Channel N/A [CS_NEW]
nua.c:138 nua_create() nua: nua_create: entering
2022-06-23 05:39:33.118938 93.33% [DEBUG] switch_core_state_machine.c:735 () Running State Change CS_DESTROY (Cur 0 Tot 5)
2022-06-23 05:39:33.138940 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY
2022-06-23 05:39:33.138940 93.33% [DEBUG] mod_sofia.c:379 N/A SOFIA DESTROY
2022-06-23 05:39:33.138940 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY going to sleep
2022-06-23 05:39:33.138940 93.33% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [sofia] cause: [INVALID_PROFILE]
2022-06-23 05:39:33.138940 93.33% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 811 [INVALID_PROFILE]
TEST FAIL: test/test_sofia_funcs.c(185): status == SWITCH_STATUS_SUCCESS
TEST FAIL: test/test_sofia_funcs.c(186): session
FAIL ***
sofia_auth_identity_test_attest_b .................................2022-06-23 05:39:33.138940 93.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-23 05:39:33.138940 93.33% [ERR] mod_sofia.c:4926 Invalid Profile
2022-06-23 05:39:33.138940 93.33% [NOTICE] mod_sofia.c:5222 Close Channel N/A [CS_NEW]
2022-06-23 05:39:33.138940 93.33% [DEBUG] switch_core_state_machine.c:735 () Running State Change CS_DESTROY (Cur 0 Tot 6)
su_epoll_port.c:541 su_epoll_port_create() su_port_create(0x611000069f40): epoll_create() => 0: OK
su_socket_port.c:88 su_socket_port_init() su_socket_port_init(0x611000069f40, 0x7fc1f637fde0) called
su_pthread_port.c:73 su_pthread_port_init() su_pthread_port_init(0x611000069f40, 0x7fc1f637fde0) called
nua_stack.c:128 nua_stack_init() nua: nua_stack_init: entering
nua_params.c:484 nua_stack_set_params() nua: nua_stack_set_params: entering
soa.c:229 soa_create() soa_create("default", 0x606000026000, 0x615000060200) called
soa.c:403 soa_set_params() soa_set_params(static::0x615000060480, ...) called
soa.c:403 soa_set_params() soa_set_params(static::0x615000060480, ...) called
nta.c:978 nta_agent_create() nta_agent_create: initialized hash tables
nta.c:985 nta_agent_create() nta_agent_create: initialized transports
nta.c:991 nta_agent_create() nta_agent_create: initialized random identifiers
nta.c:997 nta_agent_create() nta_agent_create: initialized timer
nta.c:1007 nta_agent_create() nta_agent_create: initialized resolver
tport.c:498 tport_tcreate() tport_create(): 0x6170000a0980
nta.c:2326 agent_create_master_transport() nta: master transport created
tport.c:1621 tport_bind_server() tport_bind_server(0x6170000a0980) to */172.18.0.2:53060/sip
tport.c:1693 tport_bind_server() tport_bind_server(0x6170000a0980): calling tport_listen for udp
tport.c:621 tport_alloc_primary() tport_alloc_primary(0x6170000a0980): new primary tport 0x616000081f80
tport.c:751 tport_listen() tport_listen(0x616000081f80): listening at udp/172.18.0.2:53060/sip
tport.c:1693 tport_bind_server() tport_bind_server(0x6170000a0980): calling tport_listen for tcp
tport.c:621 tport_alloc_primary() tport_alloc_primary(0x6170000a0980): new primary tport 0x616000082580
tport.c:751 tport_listen() tport_listen(0x616000082580): listening at tcp/172.18.0.2:53060/sip
nta.c:2285 nta_agent_add_tport() nta: bound to (172.18.0.2:53060;transport=*;maddr=172.18.0.2)
nta.c:2428 agent_init_via() nta: agent_init_via: SIP/2.0/udp 172.18.0.2:53060 (sip)
2022-06-23 05:39:33.159122 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY
nta.c:2428 agent_init_via() nta: agent_init_via: SIP/2.0/tcp 172.18.0.2:53060 (sip)
2022-06-23 05:39:33.159122 93.33% [DEBUG] mod_sofia.c:379 N/A SOFIA DESTROY
2022-06-23 05:39:33.159122 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY going to sleep
2022-06-23 05:39:33.159122 93.33% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [sofia] cause: [INVALID_PROFILE]
2022-06-23 05:39:33.159122 93.33% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 811 [INVALID_PROFILE]
TEST FAIL: test/test_sofia_funcs.c(204): status == SWITCH_STATUS_SUCCESS
TEST FAIL: test/test_sofia_funcs.c(205): session
FAIL ***
sofia_auth_identity_test_attest_c .................................2022-06-23 05:39:33.159122 93.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-23 05:39:33.159122 93.33% [ERR] mod_sofia.c:4926 Invalid Profile
2022-06-23 05:39:33.159122 93.33% [NOTICE] mod_sofia.c:5222 Close Channel N/A [CS_NEW]
2022-06-23 05:39:33.159122 93.33% [DEBUG] switch_core_state_machine.c:735 () Running State Change CS_DESTROY (Cur 0 Tot 7)
2022-06-23 05:39:33.159122 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY
2022-06-23 05:39:33.178936 93.33% [DEBUG] mod_sofia.c:379 N/A SOFIA DESTROY
2022-06-23 05:39:33.178936 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY going to sleep
2022-06-23 05:39:33.178936 93.33% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [sofia] cause: [INVALID_PROFILE]
2022-06-23 05:39:33.178936 93.33% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 811 [INVALID_PROFILE]
TEST FAIL: test/test_sofia_funcs.c(223): status == SWITCH_STATUS_SUCCESS
TEST FAIL: test/test_sofia_funcs.c(224): session
FAIL ***
sofia_verify_identity_test_verified_attest_a_expired ..............2022-06-23 05:39:33.218946 93.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-23 05:39:33.218946 93.33% [ERR] mod_sofia.c:4926 Invalid Profile
2022-06-23 05:39:33.218946 93.33% [NOTICE] mod_sofia.c:5222 Close Channel N/A [CS_NEW]
2022-06-23 05:39:33.218946 93.33% [DEBUG] switch_core_state_machine.c:735 () Running State Change CS_DESTROY (Cur 0 Tot 8)
2022-06-23 05:39:33.218946 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY
2022-06-23 05:39:33.218946 93.33% [DEBUG] mod_sofia.c:379 N/A SOFIA DESTROY
2022-06-23 05:39:33.218946 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY going to sleep
2022-06-23 05:39:33.218946 93.33% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [sofia] cause: [INVALID_PROFILE]
2022-06-23 05:39:33.218946 93.33% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 811 [INVALID_PROFILE]
TEST FAIL: test/test_sofia_funcs.c(243): cause == SWITCH_CAUSE_CALL_REJECTED
FAIL ***
sofia_auth_identity_test_attest_a_date ............................2022-06-23 05:39:33.218946 93.33% [DEBUG] switch_ivr_originate.c:2281 Parsing global variables
2022-06-23 05:39:33.218946 93.33% [ERR] mod_sofia.c:4926 Invalid Profile
2022-06-23 05:39:33.218946 93.33% [NOTICE] mod_sofia.c:5222 Close Channel N/A [CS_NEW]
2022-06-23 05:39:33.238940 93.33% [DEBUG] switch_core_state_machine.c:735 () Running State Change CS_DESTROY (Cur 0 Tot 9)
2022-06-23 05:39:33.238940 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY
2022-06-23 05:39:33.238940 93.33% [DEBUG] mod_sofia.c:379 N/A SOFIA DESTROY
2022-06-23 05:39:33.238940 93.33% [DEBUG] switch_core_state_machine.c:745 (N/A) State DESTROY going to sleep
2022-06-23 05:39:33.238940 93.33% [NOTICE] switch_ivr_originate.c:3039 Cannot create outgoing channel of type [sofia] cause: [INVALID_PROFILE]
2022-06-23 05:39:33.238940 93.33% [DEBUG] switch_ivr_originate.c:4035 Originate Resulted in Error Cause: 811 [INVALID_PROFILE]
TEST FAIL: test/test_sofia_funcs.c(261): status == SWITCH_STATUS_SUCCESS
TEST FAIL: test/test_sofia_funcs.c(262): session
FAIL ***
----------------------------------------------------------------------------
FAILED TESTS
originate_test
test/test_sofia_funcs.c(107):
session
test/test_sofia_funcs.c(108):
status == SWITCH_STATUS_SUCCESS
sofia_verify_identity_test_no_identity
test/test_sofia_funcs.c(129):
cause == SWITCH_CAUSE_NO_IDENTITY
sofia_verify_identity_test_bad_identity
test/test_sofia_funcs.c(148):
cause == SWITCH_CAUSE_INVALID_IDENTITY
sofia_verify_identity_test_valid_identity_no_cert_available
test/test_sofia_funcs.c(167):
cause == SWITCH_CAUSE_INVALID_IDENTITY
sofia_auth_identity_test_attest_a
test/test_sofia_funcs.c(185):
status == SWITCH_STATUS_SUCCESS
test/test_sofia_funcs.c(186):
session
sofia_auth_identity_test_attest_b
test/test_sofia_funcs.c(204):
status == SWITCH_STATUS_SUCCESS
test/test_sofia_funcs.c(205):
session
sofia_auth_identity_test_attest_c
test/test_sofia_funcs.c(223):
status == SWITCH_STATUS_SUCCESS
test/test_sofia_funcs.c(224):
session
sofia_verify_identity_test_verified_attest_a_expired
test/test_sofia_funcs.c(243):
cause == SWITCH_CAUSE_CALL_REJECTED
sofia_auth_identity_test_attest_a_date
test/test_sofia_funcs.c(261):
status == SWITCH_STATUS_SUCCESS
test/test_sofia_funcs.c(262):
session
----------------------------------------------------------------------------
FAILED (1/10 tests in 0.384450s)