Unexpected I/O


*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:38.784 ***
=ERROR REPORT==== 7-Mar-2022::09:42:38.784468 ===
Error in process <0.14426.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"greg-self-signed@localhost/">>,escalus_tcp,
                  <0.14427.2>,undefined,
                  [{username,<<"greg-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/greg-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/greg-self-signed_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"6ddbab054548bb20">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-self_signed_cert_fails_to_authenticate/2-fun-0-',3,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,315}]}]}



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:38.790 ***
=NOTICE REPORT==== 7-Mar-2022::09:42:38.789988 ===
TLS client: In state cipher received SERVER ALERT: Fatal - Bad Certificate



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:38.790 ***
=NOTICE REPORT==== 7-Mar-2022::09:42:38.790713 ===
TLS client: In state cipher received SERVER ALERT: Fatal - Bad Certificate



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:38.800 ***
=ERROR REPORT==== 7-Mar-2022::09:42:38.799759 ===
** State machine <0.14429.2> terminating
** Last event = {cast,{ws_send,<0.14428.2>,
                               #Ref<0.3265887635.1268252674.54411>,close}}
** When server state  = {connected,
                         {state,<0.14428.2>,
                          {up,#Ref<0.3265887635.1268252674.54314>},
                          "localhost",5285,<<"https">>,"localhost",5285,[],
                          #{protocols => [http],
                            tls_opts =>
                             [{certfile,
                               "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob_cert.pem"},
                              {keyfile,
                               "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob_key.pem"}],
                            transport => tls},
                          undefined,
                          {sslsocket,
                           {gen_tcp,#Port<0.8965>,tls_connection,undefined},
                           [<0.14469.2>,<0.14467.2>]},
                          gun_tls,true,
                          {ssl,ssl_closed,ssl_error},
                          gun_http,
                          {http_state,
                           {sslsocket,
                            {gen_tcp,#Port<0.8965>,tls_connection,undefined},
                            [<0.14469.2>,<0.14467.2>]},
                           gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                           head,
                           {0,0},
                           head},
                          undefined,gun_default_event_h,undefined}}
** Reason for termination = error:{'function not exported',
                                      {gun_http,ws_send,6}}
** Callback modules = [gun]
** Callback mode = state_functions
** Stacktrace =
**  [{gun,connected,3,
          [{file,"/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl"},
           {line,1301}]},
     {gen_statem,loop_state_callback,11,[{file,"gen_statem.erl"},{line,1166}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:38.800 ***
=CRASH REPORT==== 7-Mar-2022::09:42:38.800437 ===
  crasher:
    initial call: gun:init/1
    pid: <0.14429.2>
    registered_name: []
    exception error: undefined function gun_http:ws_send/6
      in function  gun:connected/3 (/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl, line 1301)
      in call from gen_statem:loop_state_callback/11 (gen_statem.erl, line 1166)
    ancestors: [gun_conns_sup,gun_sup,<0.1301.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.3265887635.1268252674.54314>,process,
                          <0.14428.2>,normal}]
    links: [<0.1303.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 10958
    stack_size: 28
    reductions: 52740
  neighbours:



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:38.801 ***
=SUPERVISOR REPORT==== 7-Mar-2022::09:42:38.800963 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,
                          {sslsocket,
                              {gen_tcp,#Port<0.8965>,tls_connection,undefined},
                              [<0.14469.2>,<0.14467.2>]},
                          gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                          head,
                          {0,0},
                          head},
                      #Ref<0.3265887635.1268252674.54411>,<0.14428.2>,
                      gun_default_event_h,undefined],
                     []},
                 {gun,connected,3,
                     [{file,
                          "/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl"},
                      {line,1301}]},
                 {gen_statem,loop_state_callback,11,
                     [{file,"gen_statem.erl"},{line,1166}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,226}]}]}
    offender: [{pid,<0.14429.2>},
               {id,gun},
               {mfargs,{gun,start_link,undefined}},
               {restart_type,temporary},
               {shutdown,5000},
               {child_type,worker}]



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:38.805 ***
=NOTICE REPORT==== 7-Mar-2022::09:42:38.805591 ===
TLS client: In state cipher received SERVER ALERT: Fatal - Bad Certificate



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:38.808 ***
=NOTICE REPORT==== 7-Mar-2022::09:42:38.808592 ===
TLS client: In state cipher received SERVER ALERT: Fatal - Bad Certificate



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:43.773 ***
=ERROR REPORT==== 7-Mar-2022::09:42:43.773587 ===
** Generic server <0.14432.2> terminating 
** Last message in was timeout
** When Server state == {state,
                            {"localhost",5285},
                            #{tls_opts =>
                                  [{certfile,
                                       "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/greg-self-signed_self_signed_cert.pem"},
                                   {keyfile,
                                       "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/greg-self-signed_key.pem"}],
                              transport => tls},
                            2,0,[],[],
                            {[],[]}}
** Reason for termination ==
** {{badmatch,{error,timeout}},
    [{escalus_bosh_gun,connect,2,
                       [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_bosh_gun.erl"},
                        {line,126}]},
     {escalus_bosh_gun,handle_info,2,
                       [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_bosh_gun.erl"},
                        {line,110}]},
     {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,680}]},
     {gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,756}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:43.775 ***
=CRASH REPORT==== 7-Mar-2022::09:42:43.774236 ===
  crasher:
    initial call: escalus_bosh_gun:init/1
    pid: <0.14432.2>
    registered_name: []
    exception error: no match of right hand side value {error,timeout}
      in function  escalus_bosh_gun:connect/2 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_bosh_gun.erl, line 126)
      in call from escalus_bosh_gun:handle_info/2 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_bosh_gun.erl, line 110)
      in call from gen_server:try_dispatch/4 (gen_server.erl, line 680)
      in call from gen_server:handle_msg/6 (gen_server.erl, line 756)
    ancestors: [<0.14431.2>,<0.14430.2>]
    message_queue_len: 1
    messages: [{'$gen_call',{<0.14437.2>,
                                #Ref<0.3265887635.1268776961.66948>},
                               get_client}]
    links: [<0.14431.2>]
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 10958
    stack_size: 28
    reductions: 11641
  neighbours:
    neighbour:
      pid: <0.14430.2>
      registered_name: []
      initial_call: {erlang,apply,2}
      current_function: {escalus_connection,do_receive_stanzas,3}
      ancestors: []
      message_queue_len: 0
      links: [<0.14431.2>]
      trap_exit: false
      status: waiting
      heap_size: 4185
      stack_size: 38
      reductions: 1611
      current_stacktrace: [{escalus_connection,do_receive_stanzas,3,
                      [{file,
                           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
                       {line,325}]},
                  {escalus_connection,receive_stanzas,3,
                      [{file,
                           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
                       {line,321}]},
                  {escalus_connection,receive_stanza,2,
                      [{file,
                           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
                       {line,295}]},
                  {escalus_connection,start_stream,1,
                      [{file,
                           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
                       {line,496}]},
                  {escalus_session,start_stream,1,
                      [{file,
                           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_session.erl"},
                       {line,65}]},
                  {escalus_session,start_stream,2,
                      [{file,
                           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_session.erl"},
                       {line,182}]},
                  {escalus_connection,connection_step,2,
                      [{file,
                           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
                       {line,160}]},
                  {lists,foldl,3,[{file,"lists.erl"},{line,1267}]}]
    neighbour:
      pid: <0.14431.2>
      registered_name: []
      initial call: escalus_bosh:init/1
      current_function: {gen_server,loop,7}
      ancestors: [<0.14430.2>]
      message_queue_len: 0
      links: [<0.14430.2>,<0.14432.2>]
      trap_exit: false
      status: waiting
      heap_size: 376
      stack_size: 12
      reductions: 252
      current_stacktrace: [{gen_server,loop,7,[{file,"gen_server.erl"},{line,437}]},
                  {proc_lib,init_p_do_apply,3,
                            [{file,"proc_lib.erl"},{line,226}]}]


*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:43.775 ***
=CRASH REPORT==== 7-Mar-2022::09:42:43.774639 ===
  crasher:
    initial call: escalus_bosh:'-prep_request/5-fun-0-'/0
    pid: <0.14437.2>
    registered_name: []
    exception error: no match of right hand side value {error,timeout}
      in function  escalus_bosh:'-prep_request/5-fun-0-'/6 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_bosh.erl, line 481)
    ancestors: [<0.14431.2>,<0.14430.2>]
    message_queue_len: 0
    messages: []
    links: []
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 28
    reductions: 191
  neighbours:



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:43.775 ***
=ERROR REPORT==== 7-Mar-2022::09:42:43.774789 ===
Error in process <0.14430.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,start_stream},
              {client,<<"greg-self-signed@localhost/">>,escalus_bosh,
                  <0.14431.2>,undefined,
                  [{username,<<"greg-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_bosh},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/greg-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/greg-self-signed_key.pem"}]},
                   {port,5285},
                   {ssl,true},
                   {port,5222}]},
              []},
             {timeout,stream_start}}}},
 [{sasl_external_SUITE,'-self_signed_cert_fails_to_authenticate/2-fun-0-',3,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,315}]}]}



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:43.776 ***
=ERROR REPORT==== 7-Mar-2022::09:42:43.775899 ===
Error in process <0.14439.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {{badmatch,{error,timeout}},
          [{escalus_ws,init,1,
               [{file,
                    "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_ws.erl"},
                {line,178}]},
           {gen_server,init_it,2,[{file,"gen_server.erl"},{line,417}]},
           {gen_server,init_it,6,[{file,"gen_server.erl"},{line,385}]},
           {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}}},
 [{escalus_ws,connect,1,
      [{file,
           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_ws.erl"},
       {line,52}]},
  {escalus_connection,connect,1,
      [{file,
           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
       {line,186}]},
  {escalus_connection,start,2,
      [{file,
           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
       {line,143}]},
  {sasl_external_SUITE,'-self_signed_cert_fails_to_authenticate/2-fun-0-',3,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,315}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:44.373 ***
=ERROR REPORT==== 7-Mar-2022::09:42:44.373027 ===
Error in process <0.14619.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"grace@localhost/">>,escalus_tcp,<0.14620.2>,
                  undefined,
                  [{requested_name,<<"grace@localhost">>},
                   {username,<<"grace">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/grace_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/grace_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"6578e5b9702e5674">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"Z3JhY2VAbG9jYWxob3N0">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:44.374 ***
=ERROR REPORT==== 7-Mar-2022::09:42:44.373686 ===
Error in process <0.14617.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"bob@localhost/">>,escalus_tcp,<0.14618.2>,undefined,
                  [{requested_name,<<"bob@localhost">>},
                   {username,<<"bob">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"dbe8e71f7365ac33">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"Ym9iQGxvY2FsaG9zdA==">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"invalid-authzid">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:44.375 ***
=ERROR REPORT==== 7-Mar-2022::09:42:44.374194 ===
Error in process <0.14623.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"john@localhost/">>,escalus_tcp,<0.14624.2>,
                  undefined,
                  [{requested_name,<<"john@localhost">>},
                   {username,<<"john">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"be001f874ced318d">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"am9obkBsb2NhbGhvc3Q=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:44.375 ***
=ERROR REPORT==== 7-Mar-2022::09:42:44.375579 ===
Error in process <0.14621.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"john@localhost/">>,escalus_tcp,<0.14622.2>,
                  undefined,
                  [{username,<<"john">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"7154e044d536bb78">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:44.376 ***
=ERROR REPORT==== 7-Mar-2022::09:42:44.376753 ===
Error in process <0.14629.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"bob@localhost/">>,escalus_tcp,<0.14630.2>,undefined,
                  [{requested_name,<<"bob@localhost">>},
                   {username,<<"bob">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"6608102045b8c94e">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"Ym9iQGxvY2FsaG9zdA==">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"invalid-authzid">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:44.381 ***
=ERROR REPORT==== 7-Mar-2022::09:42:44.380924 ===
Error in process <0.14634.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"not-alice@localhost/">>,escalus_tcp,<0.14636.2>,
                  undefined,
                  [{username,<<"not-alice">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-alice_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-alice_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"5519519ab6b59504">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"invalid-authzid">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during use_common_name in sasl_external_SUITE 2022-03-07 09:42:45.494 ***
=ERROR REPORT==== 7-Mar-2022::09:42:45.494214 ===
Error in process <0.14774.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"not-mike@localhost/">>,escalus_tcp,<0.14775.2>,
                  undefined,
                  [{requested_name,<<"mike@localhost">>},
                   {username,<<"not-mike">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-mike_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-mike_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"e58380b7bd1a964a">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"bWlrZUBsb2NhbGhvc3Q=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"invalid-authzid">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during demo_verification_module in sasl_external_SUITE 2022-03-07 09:42:46.683 ***
=ERROR REPORT==== 7-Mar-2022::09:42:46.683693 ===
Error in process <0.14933.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"john@localhost/">>,escalus_tcp,<0.14935.2>,
                  undefined,
                  [{username,<<"john">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"002be94323b64ea9">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during demo_verification_module in sasl_external_SUITE 2022-03-07 09:42:46.684 ***
=ERROR REPORT==== 7-Mar-2022::09:42:46.683780 ===
Error in process <0.14928.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"not-alice@localhost/">>,escalus_tcp,<0.14930.2>,
                  undefined,
                  [{username,<<"not-alice">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-alice_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-alice_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"4f44f6fbb48d7297">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:48.006 ***
=ERROR REPORT==== 7-Mar-2022::09:42:48.005957 ===
Error in process <0.15211.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"bob-self-signed@localhost/">>,escalus_tcp,
                  <0.15212.2>,undefined,
                  [{requested_name,<<"bob-self-signed@localhost">>},
                   {username,<<"bob-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob-self-signed_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"9ca53c1590dfd51c">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"Ym9iLXNlbGYtc2lnbmVkQGxvY2FsaG9zdA==">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"invalid-authzid">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:48.007 ***
=ERROR REPORT==== 7-Mar-2022::09:42:48.006489 ===
Error in process <0.15213.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"john-self-signed@localhost/">>,escalus_tcp,
                  <0.15214.2>,undefined,
                  [{requested_name,<<"john-self-signed@localhost">>},
                   {username,<<"john-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john-self-signed_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"5ed28759dcd14688">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"am9obi1zZWxmLXNpZ25lZEBsb2NhbGhvc3Q=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:48.012 ***
=ERROR REPORT==== 7-Mar-2022::09:42:48.011776 ===
Error in process <0.15215.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"john-self-signed@localhost/">>,escalus_tcp,
                  <0.15216.2>,undefined,
                  [{username,<<"john-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john-self-signed_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"8b0eaecbf6803a28">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:48.014 ***
=ERROR REPORT==== 7-Mar-2022::09:42:48.014588 ===
Error in process <0.15225.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"grace-self-signed@localhost/">>,escalus_tcp,
                  <0.15226.2>,undefined,
                  [{requested_name,<<"grace-self-signed@localhost">>},
                   {username,<<"grace-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/grace-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/grace-self-signed_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"d74c7244ad735860">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"Z3JhY2Utc2VsZi1zaWduZWRAbG9jYWxob3N0">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:48.016 ***
=ERROR REPORT==== 7-Mar-2022::09:42:48.016511 ===
Error in process <0.15233.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"not-alice-self-signed@localhost/">>,escalus_tcp,
                  <0.15234.2>,undefined,
                  [{username,<<"not-alice-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-alice-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-alice-self-signed_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"3b16f0e93e5ff8b1">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"invalid-authzid">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:48.018 ***
=ERROR REPORT==== 7-Mar-2022::09:42:48.018089 ===
Error in process <0.15231.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"bob-self-signed@localhost/">>,escalus_tcp,
                  <0.15232.2>,undefined,
                  [{requested_name,<<"bob-self-signed@localhost">>},
                   {username,<<"bob-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob-self-signed_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"cbe175e1a4c77dda">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"Ym9iLXNlbGYtc2lnbmVkQGxvY2FsaG9zdA==">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"invalid-authzid">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during use_common_name in sasl_external_SUITE 2022-03-07 09:42:49.113 ***
=ERROR REPORT==== 7-Mar-2022::09:42:49.113010 ===
Error in process <0.15368.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"not-mike-self-signed@localhost/">>,escalus_tcp,
                  <0.15369.2>,undefined,
                  [{requested_name,<<"mike@localhost">>},
                   {username,<<"not-mike-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-mike-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-mike-self-signed_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"65db318f6984b3d0">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"bWlrZUBsb2NhbGhvc3Q=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"invalid-authzid">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during demo_verification_module in sasl_external_SUITE 2022-03-07 09:42:50.318 ***
=ERROR REPORT==== 7-Mar-2022::09:42:50.318380 ===
Error in process <0.15525.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"john-self-signed@localhost/">>,escalus_tcp,
                  <0.15526.2>,undefined,
                  [{username,<<"john-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john-self-signed_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"23fddd8057c1e2e5">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during demo_verification_module in sasl_external_SUITE 2022-03-07 09:42:50.324 ***
=ERROR REPORT==== 7-Mar-2022::09:42:50.323904 ===
Error in process <0.15530.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"not-alice-self-signed@localhost/">>,escalus_tcp,
                  <0.15531.2>,undefined,
                  [{username,<<"not-alice-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-alice-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-alice-self-signed_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"93cab85f73b60a8d">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:51.088 ***
=ERROR REPORT==== 7-Mar-2022::09:42:51.088581 ===
Error in process <0.15668.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"greg-self-signed@localhost/">>,escalus_tcp,
                  <0.15669.2>,undefined,
                  [{username,<<"greg-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/greg-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/greg-self-signed_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"6d256531021e8003">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-self_signed_cert_fails_to_authenticate/2-fun-0-',3,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,315}]}]}



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:51.090 ***
=NOTICE REPORT==== 7-Mar-2022::09:42:51.090765 ===
TLS client: In state cipher received SERVER ALERT: Fatal - Bad Certificate



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:51.099 ***
=NOTICE REPORT==== 7-Mar-2022::09:42:51.099139 ===
TLS client: In state cipher received SERVER ALERT: Fatal - Bad Certificate



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:51.101 ***
=ERROR REPORT==== 7-Mar-2022::09:42:51.100742 ===
** State machine <0.15673.2> terminating
** Last event = {cast,{ws_send,<0.15672.2>,
                               #Ref<0.3265887635.1268252674.72918>,close}}
** When server state  = {connected,
                         {state,<0.15672.2>,
                          {up,#Ref<0.3265887635.1268252674.72839>},
                          "localhost",5285,<<"https">>,"localhost",5285,[],
                          #{protocols => [http],
                            tls_opts =>
                             [{certfile,
                               "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob_cert.pem"},
                              {keyfile,
                               "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob_key.pem"}],
                            transport => tls},
                          undefined,
                          {sslsocket,
                           {gen_tcp,#Port<0.9018>,tls_connection,undefined},
                           [<0.15706.2>,<0.15705.2>]},
                          gun_tls,true,
                          {ssl,ssl_closed,ssl_error},
                          gun_http,
                          {http_state,
                           {sslsocket,
                            {gen_tcp,#Port<0.9018>,tls_connection,undefined},
                            [<0.15706.2>,<0.15705.2>]},
                           gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                           head,
                           {0,0},
                           head},
                          undefined,gun_default_event_h,undefined}}
** Reason for termination = error:{'function not exported',
                                      {gun_http,ws_send,6}}
** Callback modules = [gun]
** Callback mode = state_functions
** Stacktrace =
**  [{gun,connected,3,
          [{file,"/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl"},
           {line,1301}]},
     {gen_statem,loop_state_callback,11,[{file,"gen_statem.erl"},{line,1166}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:51.101 ***
=CRASH REPORT==== 7-Mar-2022::09:42:51.101389 ===
  crasher:
    initial call: gun:init/1
    pid: <0.15673.2>
    registered_name: []
    exception error: undefined function gun_http:ws_send/6
      in function  gun:connected/3 (/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl, line 1301)
      in call from gen_statem:loop_state_callback/11 (gen_statem.erl, line 1166)
    ancestors: [gun_conns_sup,gun_sup,<0.1301.0>]
    message_queue_len: 1
    messages: [{'DOWN',#Ref<0.3265887635.1268252674.72839>,process,
                          <0.15672.2>,normal}]
    links: [<0.1303.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 10958
    stack_size: 28
    reductions: 51918
  neighbours:



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:51.102 ***
=SUPERVISOR REPORT==== 7-Mar-2022::09:42:51.101960 ===
    supervisor: {local,gun_conns_sup}
    errorContext: child_terminated
    reason: {undef,
                [{gun_http,ws_send,
                     [close,
                      {http_state,
                          {sslsocket,
                              {gen_tcp,#Port<0.9018>,tls_connection,undefined},
                              [<0.15706.2>,<0.15705.2>]},
                          gun_tls,#{},'HTTP/1.1',keepalive,<<>>,undefined,[],
                          head,
                          {0,0},
                          head},
                      #Ref<0.3265887635.1268252674.72918>,<0.15672.2>,
                      gun_default_event_h,undefined],
                     []},
                 {gun,connected,3,
                     [{file,
                          "/home/circleci/project/big_tests/_build/default/lib/gun/src/gun.erl"},
                      {line,1301}]},
                 {gen_statem,loop_state_callback,11,
                     [{file,"gen_statem.erl"},{line,1166}]},
                 {proc_lib,init_p_do_apply,3,
                     [{file,"proc_lib.erl"},{line,226}]}]}
    offender: [{pid,<0.15673.2>},
               {id,gun},
               {mfargs,{gun,start_link,undefined}},
               {restart_type,temporary},
               {shutdown,5000},
               {child_type,worker}]



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:51.103 ***
=NOTICE REPORT==== 7-Mar-2022::09:42:51.103543 ===
TLS client: In state cipher received SERVER ALERT: Fatal - Bad Certificate



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:51.117 ***
=NOTICE REPORT==== 7-Mar-2022::09:42:51.117532 ===
TLS client: In state cipher received SERVER ALERT: Fatal - Bad Certificate



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:56.080 ***
=ERROR REPORT==== 7-Mar-2022::09:42:56.080626 ===
** Generic server <0.15678.2> terminating 
** Last message in was timeout
** When Server state == {state,
                            {"localhost",5285},
                            #{tls_opts =>
                                  [{certfile,
                                       "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/greg-self-signed_self_signed_cert.pem"},
                                   {keyfile,
                                       "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/greg-self-signed_key.pem"}],
                              transport => tls},
                            2,0,[],[],
                            {[],[]}}
** Reason for termination ==
** {{badmatch,{error,timeout}},
    [{escalus_bosh_gun,connect,2,
                       [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_bosh_gun.erl"},
                        {line,126}]},
     {escalus_bosh_gun,handle_info,2,
                       [{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_bosh_gun.erl"},
                        {line,110}]},
     {gen_server,try_dispatch,4,[{file,"gen_server.erl"},{line,680}]},
     {gen_server,handle_msg,6,[{file,"gen_server.erl"},{line,756}]},
     {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:56.081 ***
=CRASH REPORT==== 7-Mar-2022::09:42:56.080636 ===
  crasher:
    initial call: escalus_bosh:'-prep_request/5-fun-0-'/0
    pid: <0.15680.2>
    registered_name: []
    exception error: no match of right hand side value {error,timeout}
      in function  escalus_bosh:'-prep_request/5-fun-0-'/6 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_bosh.erl, line 481)
    ancestors: [<0.15677.2>,<0.15675.2>]
    message_queue_len: 0
    messages: []
    links: []
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 28
    reductions: 191
  neighbours:



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:56.081 ***
=ERROR REPORT==== 7-Mar-2022::09:42:56.080866 ===
Error in process <0.15675.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,start_stream},
              {client,<<"greg-self-signed@localhost/">>,escalus_bosh,
                  <0.15677.2>,undefined,
                  [{username,<<"greg-self-signed">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_bosh},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/greg-self-signed_self_signed_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/greg-self-signed_key.pem"}]},
                   {port,5285},
                   {ssl,true},
                   {port,5222}]},
              []},
             {timeout,stream_start}}}},
 [{sasl_external_SUITE,'-self_signed_cert_fails_to_authenticate/2-fun-0-',3,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,315}]}]}



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:56.081 ***
=CRASH REPORT==== 7-Mar-2022::09:42:56.081243 ===
  crasher:
    initial call: escalus_bosh_gun:init/1
    pid: <0.15678.2>
    registered_name: []
    exception error: no match of right hand side value {error,timeout}
      in function  escalus_bosh_gun:connect/2 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_bosh_gun.erl, line 126)
      in call from escalus_bosh_gun:handle_info/2 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_bosh_gun.erl, line 110)
      in call from gen_server:try_dispatch/4 (gen_server.erl, line 680)
      in call from gen_server:handle_msg/6 (gen_server.erl, line 756)
    ancestors: [<0.15677.2>,<0.15675.2>]
    message_queue_len: 3
    messages: [{'$gen_call',{<0.15680.2>,
                                #Ref<0.3265887635.1267990531.104423>},
                               get_client},
                  {'$gen_cast',stop},
                  {'EXIT',<0.15677.2>,normal}]
    links: []
    dictionary: []
    trap_exit: true
    status: running
    heap_size: 10958
    stack_size: 28
    reductions: 11660
  neighbours:



*** System report during self_signed_certs_not_allowed in sasl_external_SUITE 2022-03-07 09:42:56.081 ***
=ERROR REPORT==== 7-Mar-2022::09:42:56.081743 ===
Error in process <0.15686.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {{badmatch,{error,timeout}},
          [{escalus_ws,init,1,
               [{file,
                    "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_ws.erl"},
                {line,178}]},
           {gen_server,init_it,2,[{file,"gen_server.erl"},{line,417}]},
           {gen_server,init_it,6,[{file,"gen_server.erl"},{line,385}]},
           {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,226}]}]}}},
 [{escalus_ws,connect,1,
      [{file,
           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_ws.erl"},
       {line,52}]},
  {escalus_connection,connect,1,
      [{file,
           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
       {line,186}]},
  {escalus_connection,start,2,
      [{file,
           "/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_connection.erl"},
       {line,143}]},
  {sasl_external_SUITE,'-self_signed_cert_fails_to_authenticate/2-fun-0-',3,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,315}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:56.655 ***
=ERROR REPORT==== 7-Mar-2022::09:42:56.654778 ===
Error in process <0.15853.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"john@localhost/">>,escalus_tcp,<0.15854.2>,
                  undefined,
                  [{username,<<"john">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"8fdd0a13957ebf0a">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:56.655 ***
=ERROR REPORT==== 7-Mar-2022::09:42:56.655563 ===
Error in process <0.15851.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"john@localhost/">>,escalus_tcp,<0.15852.2>,
                  undefined,
                  [{requested_name,<<"john@localhost">>},
                   {username,<<"john">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"0d8fe2941ddd6889">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"am9obkBsb2NhbGhvc3Q=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:56.659 ***
=ERROR REPORT==== 7-Mar-2022::09:42:56.658669 ===
Error in process <0.15856.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"bob@localhost/">>,escalus_tcp,<0.15857.2>,undefined,
                  [{requested_name,<<"bob@localhost">>},
                   {username,<<"bob">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"fca5ffb48daea2df">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"Ym9iQGxvY2FsaG9zdA==">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"invalid-authzid">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:56.660 ***
=ERROR REPORT==== 7-Mar-2022::09:42:56.659862 ===
Error in process <0.15862.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"bob@localhost/">>,escalus_tcp,<0.15863.2>,undefined,
                  [{requested_name,<<"bob@localhost">>},
                   {username,<<"bob">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/bob_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"c84cbd8722471e32">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"Ym9iQGxvY2FsaG9zdA==">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"invalid-authzid">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:56.660 ***
=ERROR REPORT==== 7-Mar-2022::09:42:56.660024 ===
Error in process <0.15866.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"not-alice@localhost/">>,escalus_tcp,<0.15867.2>,
                  undefined,
                  [{username,<<"not-alice">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-alice_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-alice_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"9f456ef34124a024">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"invalid-authzid">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during standard in sasl_external_SUITE 2022-03-07 09:42:56.664 ***
=ERROR REPORT==== 7-Mar-2022::09:42:56.664283 ===
Error in process <0.15871.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"grace@localhost/">>,escalus_tcp,<0.15872.2>,
                  undefined,
                  [{requested_name,<<"grace@localhost">>},
                   {username,<<"grace">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/grace_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/grace_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"b10114626824d432">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"Z3JhY2VAbG9jYWxob3N0">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during use_common_name in sasl_external_SUITE 2022-03-07 09:42:57.765 ***
=ERROR REPORT==== 7-Mar-2022::09:42:57.765411 ===
Error in process <0.16009.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"not-mike@localhost/">>,escalus_tcp,<0.16010.2>,
                  undefined,
                  [{requested_name,<<"mike@localhost">>},
                   {username,<<"not-mike">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-mike_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-mike_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"1c733a46742a25bb">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"bWlrZUBsb2NhbGhvc3Q=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"invalid-authzid">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during demo_verification_module in sasl_external_SUITE 2022-03-07 09:42:58.869 ***
=ERROR REPORT==== 7-Mar-2022::09:42:58.868860 ===
Error in process <0.16163.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"not-alice@localhost/">>,escalus_tcp,<0.16164.2>,
                  undefined,
                  [{username,<<"not-alice">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-alice_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/not-alice_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"2a48577dbbb06ec6">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}



*** System report during demo_verification_module in sasl_external_SUITE 2022-03-07 09:42:58.872 ***
=ERROR REPORT==== 7-Mar-2022::09:42:58.872589 ===
Error in process <0.16167.2> on node test@b90e3713176e with exit value:
{{badmatch,
     {error,
         {connection_step_failed,
             {{escalus_session,authenticate},
              {client,<<"john@localhost/">>,escalus_tcp,<0.16168.2>,
                  undefined,
                  [{username,<<"john">>},
                   {server,<<"localhost">>},
                   {host,<<"localhost">>},
                   {password,<<"break_me">>},
                   {resource,<<>>},
                   {auth,{escalus_auth,auth_sasl_external}},
                   {transport,escalus_tcp},
                   {ssl_opts,
                       [{certfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john_cert.pem"},
                        {keyfile,
                            "/home/circleci/project/big_tests/ct_report/ct_run.test@b90e3713176e.2022-03-07_09.29.55/big_tests.tests.sasl_external_SUITE.logs/run.2022-03-07_09.42.35/log_private/john_key.pem"}]},
                   {starttls,required},
                   {port,5222},
                   {stream_id,<<"6a26085102e48249">>}]},
              [{compression,[<<"zlib">>]},
               {starttls,false},
               {stream_management,true},
               {advanced_message_processing,true},
               {client_state_indication,false},
               {sasl_mechanisms,[<<"EXTERNAL">>]},
               {caps,undefined}]},
             {auth_failed,
                 {xmlcdata,<<"=">>},
                 {xmlel,<<"failure">>,
                     [{<<"xmlns">>,<<"urn:ietf:params:xml:ns:xmpp-sasl">>}],
                     [{xmlel,<<"not-authorized">>,[],[]}]}}}}},
 [{sasl_external_SUITE,'-cert_fails_to_authenticate/1-fun-0-',2,
      [{file,"/home/circleci/project/big_tests/tests/sasl_external_SUITE.erl"},
       {line,293}]}]}





Test run history | Top level test index | Latest test result