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

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

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



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



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

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



*** User 2024-02-22 12:53:54.565 ***🔗
alicE_delayed_receive_2902@localhost/res1 in
<iq id='0ed6633e7ff6565ff646be24826f213d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_delayed_receive_2902@localhost/res1</jid>
	</bind>
</iq>



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



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



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



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



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

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



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



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

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



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



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



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



*** User 2024-02-22 12:53:54.584 ***🔗
bob_delayed_receive_2902@localhost/res1 out
<presence>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.chatopus.com' ver='6E/0W8ptmQfR7n7LVRou3F3bZlg='/>
</presence>



*** User 2024-02-22 12:53:55.733 ***🔗
bob_delayed_receive_2902@localhost/res1 in
<presence from='bob_delayed_receive_2902@localhost/res1' to='bob_delayed_receive_2902@localhost/res1'>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.chatopus.com' ver='6E/0W8ptmQfR7n7LVRou3F3bZlg='/>
</presence>



*** User 2024-02-22 12:53:55.733 ***🔗
bob_delayed_receive_2902@localhost/res1 in
<iq from='localhost' to='bob_delayed_receive_2902@localhost/res1' id='050f812f8891faf1_9789ca560d15915e' type='get'>
	<query xmlns='http://jabber.org/protocol/disco#info' node='http://www.chatopus.com#6E/0W8ptmQfR7n7LVRou3F3bZlg='/>
</iq>



*** User 2024-02-22 12:53:55.733 ***🔗
bob_delayed_receive_2902@localhost/res1 out
<iq to='localhost' id='050f812f8891faf1_9789ca560d15915e' 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='zK+p54oMp2lQcrTvyeg/2Q=='/>
		<feature var='zK+p54oMp2lQcrTvyeg/2Q==+notify'/>
	</query>
</iq>



*** User 2024-02-22 12:53:55.733 ***🔗
alice_delayed_receive_2902@localhost/res1 out
<iq type='set' id='alice_delayed_receive_2902-pep-zK+p54oMp2lQcrTvyeg/2Q==-publish' from='alice_delayed_receive_2902@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<publish node='zK+p54oMp2lQcrTvyeg/2Q=='>
			<item id='item2'>
				<entry xmlns='http://www.w3.org/2005/Atom'/>
			</item>
		</publish>
	</pubsub>
</iq>


*** CT 2024-02-22 12:54:00.735 *** Stanza Log:🔗 delayed_receive.xml

*** CT Error Notification 2024-02-22 12:54:00.736 ***🔗
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.738 *** 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},
              {pubsub_tools,receive_response,433},
              {pubsub_tools,receive_and_check_response,424},
              {pep_SUITE,delayed_receive_story,359},
              {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,
                                               <<"alice_delayed_receive_2902@localhost/res1">>,
                                               escalus_tcp,<0.75829.0>,
                                               [{event_manager,<0.75799.0>},
                                                {server,<<"localhost">>},
                                                {username,
                                                 <<"alicE_delayed_receive_2902">>},
                                                {resource,<<"res1">>}],
                                               [{event_client,
                                                 [{event_manager,<0.75799.0>},
                                                  {server,<<"localhost">>},
                                                  {username,
                                                   <<"alicE_delayed_receive_2902">>},
                                                  {resource,<<"res1">>}]},
                                                {resource,<<"res1">>},
                                                {username,
                                                 <<"alice_delayed_receive_2902">>},
                                                {server,<<"localhost">>},
                                                {host,<<"localhost">>},
                                                {port,5222},
                                                {auth,
                                                 {escalus_auth,auth_plain}},
                                                {wspath,undefined},
                                                {username,
                                                 <<"alicE_delayed_receive_2902">>},
                                                {server,<<"localhost">>},
                                                {password,<<"matygrysa">>},
                                                {stream_id,
                                                 <<"c081d00a173e848c">>}]},
                                              5000)
  in call from pubsub_tools:receive_response/3 (/home/circleci/project/big_tests/tests/pubsub_tools.erl, line 433)
  in call from pubsub_tools:receive_and_check_response/4 (/home/circleci/project/big_tests/tests/pubsub_tools.erl, line 424)
  in call from pep_SUITE:delayed_receive_story/3 (/home/circleci/project/big_tests/tests/pep_SUITE.erl, line 359)
  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)