=== Test case: pep_SUITE:unsubscribe_after_presence_unsubscription/1 (click for source code)

=== Config value:

    [{watchdog,<0.75670.0>},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/pep_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.pep_SUITE.logs/run.2024-02-22_12.53.54/pep_suite.unsubscribe_after_presence_unsubscription.89220.html"},
     {tc_group_properties,[{name,pep_tests},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/pep_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@fb43d4252d17.2024-02-22_12.37.44/big_tests.tests.pep_SUITE.logs/run.2024-02-22_12.53.54/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,iqdisc => parallel,backend => rdbms},
        mod_roster =>
            #{iqdisc => one_queue,backend => rdbms,versioning => false,
              store_current_id => false},
        mod_amp => #{},
        mod_register =>
            #{access => register,iqdisc => one_queue,
              registration_watchers => [],password_strength => 0,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
        mod_sic => #{iqdisc => one_queue},
        mod_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,server_info => [],extra_domains => [],
              users_can_see_hidden_services => false},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              buffer_max => 100,ack_freq => 1,resume_timeout => 600},
        mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@fb43d4252d17.2024-02-22_12.37.44"

=== Started at 2024-02-22 12:53:54


*** CT 2024-02-22 12:53:54.484 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4698.html

*** User 2024-02-22 12:53:54.572 ***🔗
alicE_unsubscribe_after_presence_unsubscription_2905@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-22 12:53:54.572 ***🔗
alicE_unsubscribe_after_presence_unsubscription_2905@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2bb2474d2a1b329d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 12:53:54.573 ***🔗
alicE_unsubscribe_after_presence_unsubscription_2905@localhost/res1 in
<stream:features>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='dqxX/mZCZkRsVzoQiufzBqY3zqI='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-22 12:53:54.573 ***🔗
alicE_unsubscribe_after_presence_unsubscription_2905@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlX2FmdGVyX3ByZXNlbmNlX3Vuc3Vic2NyaXB0aW9uXzI5MDUAbWF0eWdyeXNh</auth>



*** User 2024-02-22 12:53:54.577 ***🔗
alicE_unsubscribe_after_presence_unsubscription_2905@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-22 12:53:54.577 ***🔗
alicE_unsubscribe_after_presence_unsubscription_2905@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-22 12:53:54.577 ***🔗
alicE_unsubscribe_after_presence_unsubscription_2905@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1bece7e493edfcbb' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_after_presence_unsubscription_2905@localhost'>

*** User 2024-02-22 12:53:54.578 ***🔗
alicE_unsubscribe_after_presence_unsubscription_2905@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='dqxX/mZCZkRsVzoQiufzBqY3zqI='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-22 12:53:54.578 ***🔗
alicE_unsubscribe_after_presence_unsubscription_2905@localhost/res1 out
<iq type='set' id='c7365e5529a6947c5c86a2f6e9bf1c38'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-22 12:53:54.579 ***🔗
alicE_unsubscribe_after_presence_unsubscription_2905@localhost/res1 in
<iq id='c7365e5529a6947c5c86a2f6e9bf1c38' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_after_presence_unsubscription_2905@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-22 12:53:54.579 ***🔗
alice_unsubscribe_after_presence_unsubscription_2905@localhost/res1 out
<iq type='set' id='6e6ace32356fa7d28e0705893ba04ce2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:53:54.579 ***🔗
alice_unsubscribe_after_presence_unsubscription_2905@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_after_presence_unsubscription_2905@localhost/res1' id='6e6ace32356fa7d28e0705893ba04ce2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-22 12:53:54.579 ***🔗
alice_unsubscribe_after_presence_unsubscription_2905@localhost/res1 out
<presence/>



*** User 2024-02-22 12:53:54.581 ***🔗
alice_unsubscribe_after_presence_unsubscription_2905@localhost/res1 in
<presence from='alice_unsubscribe_after_presence_unsubscription_2905@localhost/res1' to='alice_unsubscribe_after_presence_unsubscription_2905@localhost/res1'/>



*** User 2024-02-22 12:53:54.582 ***🔗
bOb_unsubscribe_after_presence_unsubscription_2905@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-22 12:53:54.582 ***🔗
bOb_unsubscribe_after_presence_unsubscription_2905@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d78d421543bc937' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 12:53:54.583 ***🔗
bOb_unsubscribe_after_presence_unsubscription_2905@localhost/res1 in
<stream:features>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='dqxX/mZCZkRsVzoQiufzBqY3zqI='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-02-22 12:53:54.583 ***🔗
bOb_unsubscribe_after_presence_unsubscription_2905@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV9hZnRlcl9wcmVzZW5jZV91bnN1YnNjcmlwdGlvbl8yOTA1AG1ha3JvbGlrYQ==</auth>


*** CT 2024-02-22 12:53:59.584 *** Stanza Log:🔗 unsubscribe_after_presence_unsubscription.xml

*** CT Error Notification 2024-02-22 12:53:59.585 ***🔗
escalus_story:'-start_ready_clients/2-fun-0-' failed on line 131
Reason: {badmatch,{error,{connection_step_failed,{{escalus_session,a...}

Full error description and stacktrace
*** CT 2024-02-22 12:53:59.597 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4698.html



=== Ended at 2024-02-22 12:53:59
=== Location: [{escalus_story,'-start_ready_clients/2-fun-0-',131},
              {lists,foldl,1594},
              {escalus_story,start_ready_clients,128},
              {lists,flatmap_1,1579},
              {lists,flatmap_1,1579},
              {escalus_story,story,69},
              {test_server,ts_tc,1793},
              {test_server,run_test_case_eval1,1302}]
=== === Reason: no match of right hand side value 
                 {error,
                  {connection_step_failed,
                   {{escalus_session,authenticate},
                    {client,
                     <<"bOb_unsubscribe_after_presence_unsubscription_2905@localhost/res1">>,
                     escalus_tcp,<0.75844.0>,undefined,
                     [{event_client,
                       [{event_manager,<0.75814.0>},
                        {server,<<"localhost">>},
                        {username,
                         <<"bOb_unsubscribe_after_presence_unsubscription_2905">>},
                        {resource,<<"res1">>}]},
                      {resource,<<"res1">>},
                      {username,
                       <<"bOb_unsubscribe_after_presence_unsubscription_2905">>},
                      {server,<<"localhost">>},
                      {host,<<"localhost">>},
                      {port,5222},
                      {auth,{escalus_auth,auth_plain}},
                      {wspath,undefined},
                      {username,
                       <<"bOb_unsubscribe_after_presence_unsubscription_2905">>},
                      {server,<<"localhost">>},
                      {password,<<"makrolika">>},
                      {stream_id,<<"7d78d421543bc937">>}]},
                    [{compression,false},
                     {starttls,true},
                     {stream_management,true},
                     {advanced_message_processing,true},
                     {client_state_indication,false},
                     {sasl_mechanisms,[<<"SCRAM-SHA-256">>,<<"PLAIN">>]},
                     {caps,
                      #{<<"hash">> => <<"sha-1">>,
                        <<"node">> =>
                         <<"https://www.erlang-solutions.com/products/mongooseim.html">>,
                        <<"ver">> => <<"dqxX/mZCZkRsVzoQiufzBqY3zqI=">>,
                        <<"xmlns">> =>
                         <<"http://jabber.org/protocol/caps">>}}]},
                   {timeout,auth_reply}}}
  in function  escalus_story:'-start_ready_clients/2-fun-0-'/3 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl, line 131)
  in call from lists:foldl/3 (lists.erl, line 1594)
  in call from escalus_story:start_ready_clients/2 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl, line 128)
  in call from lists:flatmap_1/2 (lists.erl, line 1579)
  in call from lists:flatmap_1/2 (lists.erl, line 1579)
  in call from escalus_story:story/4 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl, line 69)
  in call from test_server:ts_tc/3 (test_server.erl, line 1793)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1302)