=== Test case: pep_SUITE:delayed_receive_with_sm/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.delayed_receive_with_sm.210818.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.476 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4698.html

*** User 2024-02-22 12:53:54.521 ***🔗
alicE_delayed_receive_with_sm_2903@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.521 ***🔗
alicE_delayed_receive_with_sm_2903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='89ff49fd1747d4c8' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 12:53:54.522 ***🔗
alicE_delayed_receive_with_sm_2903@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.522 ***🔗
alicE_delayed_receive_with_sm_2903@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbGF5ZWRfcmVjZWl2ZV93aXRoX3NtXzI5MDMAbWF0eWdyeXNh</auth>



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



*** User 2024-02-22 12:53:54.566 ***🔗
alicE_delayed_receive_with_sm_2903@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.566 ***🔗
alicE_delayed_receive_with_sm_2903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8464d22fb2be40f1' from='localhost' version='1.0' xml:lang='en' to='alice_delayed_receive_with_sm_2903@localhost'>

*** User 2024-02-22 12:53:54.566 ***🔗
alicE_delayed_receive_with_sm_2903@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.566 ***🔗
alicE_delayed_receive_with_sm_2903@localhost/res1 out
<iq type='set' id='c98a51cb4a3f9ef4f51d459a1faea5bc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



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



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



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



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



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



*** User 2024-02-22 12:53:54.573 ***🔗
bOb_delayed_receive_with_sm_2903@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.573 ***🔗
bOb_delayed_receive_with_sm_2903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c172196faea946f1' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-22 12:53:54.574 ***🔗
bOb_delayed_receive_with_sm_2903@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.574 ***🔗
bOb_delayed_receive_with_sm_2903@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWxheWVkX3JlY2VpdmVfd2l0aF9zbV8yOTAzAG1ha3JvbGlrYQ==</auth>



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



*** User 2024-02-22 12:53:54.583 ***🔗
bOb_delayed_receive_with_sm_2903@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.583 ***🔗
bOb_delayed_receive_with_sm_2903@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='357a91ebd210e221' from='localhost' version='1.0' xml:lang='en' to='bob_delayed_receive_with_sm_2903@localhost'>

*** User 2024-02-22 12:53:54.583 ***🔗
bOb_delayed_receive_with_sm_2903@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.583 ***🔗
bOb_delayed_receive_with_sm_2903@localhost/res1 out
<iq type='set' id='d64f92ca86d02f26318ae566f9f48385'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



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



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



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



*** User 2024-02-22 12:53:54.584 ***🔗
bob_delayed_receive_with_sm_2903@localhost/res1 out
<presence>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.chatopus.com' ver='HOXbk2XfBZ+9uTXKk/5YgxGs1nI='/>
</presence>



*** User 2024-02-22 12:53:55.736 ***🔗
bob_delayed_receive_with_sm_2903@localhost/res1 in
<presence from='bob_delayed_receive_with_sm_2903@localhost/res1' to='bob_delayed_receive_with_sm_2903@localhost/res1'>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.chatopus.com' ver='HOXbk2XfBZ+9uTXKk/5YgxGs1nI='/>
</presence>



*** User 2024-02-22 12:53:55.736 ***🔗
bob_delayed_receive_with_sm_2903@localhost/res1 in
<iq from='localhost' to='bob_delayed_receive_with_sm_2903@localhost/res1' id='050f812f8891faf1_e135704322037137' type='get'>
	<query xmlns='http://jabber.org/protocol/disco#info' node='http://www.chatopus.com#HOXbk2XfBZ+9uTXKk/5YgxGs1nI='/>
</iq>



*** User 2024-02-22 12:53:55.737 ***🔗
bob_delayed_receive_with_sm_2903@localhost/res1 out
<iq to='localhost' id='050f812f8891faf1_e135704322037137' type='result'>
	<query xmlns='http://jabber.org/protocol/disco#info'>
		<identity category='client' name='Psi' type='pc'/>
		<feature var='http://jabber.org/protocol/disco#info'/>
		<feature var='http://jabber.org/protocol/disco#items'/>
		<feature var='http://jabber.org/protocol/geoloc'/>
		<feature var='http://jabber.org/protocol/geoloc+notify'/>
		<feature var='T40ybIeqVOLs3SIMF0lKkQ=='/>
		<feature var='T40ybIeqVOLs3SIMF0lKkQ==+notify'/>
	</query>
</iq>



*** User 2024-02-22 12:53:55.737 ***🔗
alice_delayed_receive_with_sm_2903@localhost/res1 out
<enable xmlns='urn:xmpp:sm:3'/>



*** User 2024-02-22 12:53:55.737 ***🔗
alice_delayed_receive_with_sm_2903@localhost/res1 in
<enabled xmlns='urn:xmpp:sm:3'/>



*** User 2024-02-22 12:53:55.737 ***🔗
bob_delayed_receive_with_sm_2903@localhost/res1 out
<enable xmlns='urn:xmpp:sm:3'/>


*** CT 2024-02-22 12:54:00.739 *** Stanza Log:🔗 delayed_receive_with_sm.xml

*** CT Error Notification 2024-02-22 12:54:00.740 ***🔗
escalus_client:wait_for_stanza failed on line 136
Reason: {timeout_when_waiting_for_stanza,[{escalus_client,...},{...}|...]}

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



=== Ended at 2024-02-22 12:54:00
=== Location: [{escalus_client,wait_for_stanza,136},
              {pep_SUITE,enable_sm,676},
              {pep_SUITE,delayed_receive_with_sm_story,378},
              {escalus_story,story,72},
              {test_server,ts_tc,1793},
              {test_server,run_test_case_eval1,1302},
              {test_server,run_test_case_eval,1234}]
=== === Reason: timeout_when_waiting_for_stanza
  in function  escalus_client:wait_for_stanza/2
     called as escalus_client:wait_for_stanza({client,
                                               <<"bob_delayed_receive_with_sm_2903@localhost/res1">>,
                                               escalus_tcp,<0.75839.0>,
                                               [{event_manager,<0.75804.0>},
                                                {server,<<"localhost">>},
                                                {username,
                                                 <<"bOb_delayed_receive_with_sm_2903">>},
                                                {resource,<<"res1">>}],
                                               [{event_client,
                                                 [{event_manager,<0.75804.0>},
                                                  {server,<<"localhost">>},
                                                  {username,
                                                   <<"bOb_delayed_receive_with_sm_2903">>},
                                                  {resource,<<"res1">>}]},
                                                {resource,<<"res1">>},
                                                {username,
                                                 <<"bob_delayed_receive_with_sm_2903">>},
                                                {server,<<"localhost">>},
                                                {host,<<"localhost">>},
                                                {port,5222},
                                                {auth,
                                                 {escalus_auth,auth_plain}},
                                                {wspath,undefined},
                                                {username,
                                                 <<"bOb_delayed_receive_with_sm_2903">>},
                                                {server,<<"localhost">>},
                                                {password,<<"makrolika">>},
                                                {stream_id,
                                                 <<"357a91ebd210e221">>}]},
                                              5000)
  in call from pep_SUITE:enable_sm/1 (/home/circleci/project/big_tests/tests/pep_SUITE.erl, line 676)
  in call from pep_SUITE:delayed_receive_with_sm_story/3 (/home/circleci/project/big_tests/tests/pep_SUITE.erl, line 378)
  in call from escalus_story:story/4 (/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl, line 72)
  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)
  in call from test_server:run_test_case_eval/9 (test_server.erl, line 1234)