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

=== Config value:

    [{watchdog,<0.77238.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@96ddc50d3205.2024-04-23_10.53.40/big_tests.tests.pep_SUITE.logs/run.2024-04-23_11.10.36/pep_suite.delayed_receive_with_sm.226178.html"},
     {tc_group_properties,[{name,cache_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@96ddc50d3205.2024-04-23_10.53.40/big_tests.tests.pep_SUITE.logs/run.2024-04-23_11.10.36/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_sic => #{iqdisc => one_queue},
        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_amp => #{},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@96ddc50d3205.2024-04-23_10.53.40"

=== Started at 2024-04-23 11:10:37


*** CT 2024-04-23 11:10:37.816 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4744.html

*** User 2024-04-23 11:10:37.828 ***🔗
alicE_delayed_receive_with_sm_3024@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-04-23 11:10:37.829 ***🔗
alicE_delayed_receive_with_sm_3024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='654fc09b1c081c70' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:10:37.829 ***🔗
alicE_delayed_receive_with_sm_3024@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-04-23 11:10:37.829 ***🔗
alicE_delayed_receive_with_sm_3024@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbGF5ZWRfcmVjZWl2ZV93aXRoX3NtXzMwMjQAbWF0eWdyeXNh</auth>



*** User 2024-04-23 11:10:37.831 ***🔗
alicE_delayed_receive_with_sm_3024@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:10:37.831 ***🔗
alicE_delayed_receive_with_sm_3024@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-04-23 11:10:37.831 ***🔗
alicE_delayed_receive_with_sm_3024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b800469cce42e3d1' from='localhost' version='1.0' xml:lang='en' to='alice_delayed_receive_with_sm_3024@localhost'>

*** User 2024-04-23 11:10:37.831 ***🔗
alicE_delayed_receive_with_sm_3024@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-04-23 11:10:37.832 ***🔗
alicE_delayed_receive_with_sm_3024@localhost/res1 out
<iq type='set' id='e67d0cdaefc1018a1dffcb3fd006d71d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:10:37.832 ***🔗
alicE_delayed_receive_with_sm_3024@localhost/res1 in
<iq id='e67d0cdaefc1018a1dffcb3fd006d71d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_delayed_receive_with_sm_3024@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:10:37.832 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 out
<iq type='set' id='62fa60d54ce1b8f7c166493462c9da71'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:10:37.833 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 in
<iq from='localhost' to='alice_delayed_receive_with_sm_3024@localhost/res1' id='62fa60d54ce1b8f7c166493462c9da71' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:10:37.833 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 out
<presence/>



*** User 2024-04-23 11:10:37.835 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 in
<presence from='alice_delayed_receive_with_sm_3024@localhost/res1' to='alice_delayed_receive_with_sm_3024@localhost/res1'/>



*** User 2024-04-23 11:10:37.836 ***🔗
bOb_delayed_receive_with_sm_3024@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-04-23 11:10:37.836 ***🔗
bOb_delayed_receive_with_sm_3024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='58d67e0be129a5bf' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:10:37.837 ***🔗
bOb_delayed_receive_with_sm_3024@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-04-23 11:10:37.837 ***🔗
bOb_delayed_receive_with_sm_3024@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWxheWVkX3JlY2VpdmVfd2l0aF9zbV8zMDI0AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 11:10:37.839 ***🔗
bOb_delayed_receive_with_sm_3024@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:10:37.839 ***🔗
bOb_delayed_receive_with_sm_3024@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-04-23 11:10:37.840 ***🔗
bOb_delayed_receive_with_sm_3024@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f2a5f7c1c90629bd' from='localhost' version='1.0' xml:lang='en' to='bob_delayed_receive_with_sm_3024@localhost'>

*** User 2024-04-23 11:10:37.840 ***🔗
bOb_delayed_receive_with_sm_3024@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-04-23 11:10:37.840 ***🔗
bOb_delayed_receive_with_sm_3024@localhost/res1 out
<iq type='set' id='0f051038b0a625b7125856abfa538a57'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:10:37.841 ***🔗
bOb_delayed_receive_with_sm_3024@localhost/res1 in
<iq id='0f051038b0a625b7125856abfa538a57' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_delayed_receive_with_sm_3024@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:10:37.841 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 out
<iq type='set' id='16ef47554d437198022358c7c33bf63b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:10:37.841 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<iq from='localhost' to='bob_delayed_receive_with_sm_3024@localhost/res1' id='16ef47554d437198022358c7c33bf63b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:10:37.842 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 out
<presence>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.chatopus.com' ver='dqWo0QyPirPLmQPyuyIoWYqPgg0='/>
</presence>



*** User 2024-04-23 11:10:37.850 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<presence from='bob_delayed_receive_with_sm_3024@localhost/res1' to='bob_delayed_receive_with_sm_3024@localhost/res1'>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.chatopus.com' ver='dqWo0QyPirPLmQPyuyIoWYqPgg0='/>
</presence>



*** User 2024-04-23 11:10:37.850 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<iq from='localhost' to='bob_delayed_receive_with_sm_3024@localhost/res1' id='93edf351ff5de2cf_9d4c865bb84b595c' type='get'>
	<query xmlns='http://jabber.org/protocol/disco#info' node='http://www.chatopus.com#dqWo0QyPirPLmQPyuyIoWYqPgg0='/>
</iq>



*** User 2024-04-23 11:10:37.851 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 out
<iq to='localhost' id='93edf351ff5de2cf_9d4c865bb84b595c' 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='hVjsY7px9EBhDYr2yvho7A=='/>
		<feature var='hVjsY7px9EBhDYr2yvho7A==+notify'/>
	</query>
</iq>



*** User 2024-04-23 11:10:37.851 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 out
<enable xmlns='urn:xmpp:sm:3'/>



*** User 2024-04-23 11:10:37.851 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 in
<enabled xmlns='urn:xmpp:sm:3'/>



*** User 2024-04-23 11:10:37.851 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 out
<enable xmlns='urn:xmpp:sm:3'/>



*** User 2024-04-23 11:10:37.853 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<enabled xmlns='urn:xmpp:sm:3'/>



*** User 2024-04-23 11:10:37.853 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 out
<iq type='set' id='alice_delayed_receive_with_sm_3024-pep-hVjsY7px9EBhDYr2yvho7A==-publish' from='alice_delayed_receive_with_sm_3024@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<publish node='hVjsY7px9EBhDYr2yvho7A=='>
			<item id='item2'>
				<entry xmlns='http://www.w3.org/2005/Atom'/>
			</item>
		</publish>
	</pubsub>
</iq>



*** User 2024-04-23 11:10:37.957 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 in
<iq from='alice_delayed_receive_with_sm_3024@localhost' to='alice_delayed_receive_with_sm_3024@localhost/res1' id='alice_delayed_receive_with_sm_3024-pep-hVjsY7px9EBhDYr2yvho7A==-publish' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<publish node='hVjsY7px9EBhDYr2yvho7A=='>
			<item id='item2'/>
		</publish>
	</pubsub>
</iq>



*** User 2024-04-23 11:10:37.957 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 in
<r xmlns='urn:xmpp:sm:3'/>



*** User 2024-04-23 11:10:37.957 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 out
<presence type='subscribe' to='alice_delayed_receive_with_sm_3024@localhost'/>



*** User 2024-04-23 11:10:38.000 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<iq from='bob_delayed_receive_with_sm_3024@localhost' to='bob_delayed_receive_with_sm_3024@localhost/res1' id='push1c572cd96444a161' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' jid='alice_delayed_receive_with_sm_3024@localhost' subscription='none'/>
	</query>
</iq>



*** User 2024-04-23 11:10:38.001 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<r xmlns='urn:xmpp:sm:3'/>



*** User 2024-04-23 11:10:38.001 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 in
<presence from='bob_delayed_receive_with_sm_3024@localhost' to='alice_delayed_receive_with_sm_3024@localhost/res1' type='subscribe'/>



*** User 2024-04-23 11:10:38.001 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 in
<r xmlns='urn:xmpp:sm:3'/>



*** User 2024-04-23 11:10:38.001 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 out
<presence type='subscribed' to='bob_delayed_receive_with_sm_3024@localhost'/>



*** User 2024-04-23 11:10:38.017 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 in
<iq from='alice_delayed_receive_with_sm_3024@localhost' to='alice_delayed_receive_with_sm_3024@localhost/res1' id='push5a4087333b101cdf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_delayed_receive_with_sm_3024@localhost' subscription='from'/>
	</query>
</iq>



*** User 2024-04-23 11:10:38.017 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 in
<r xmlns='urn:xmpp:sm:3'/>



*** User 2024-04-23 11:10:38.017 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<iq from='bob_delayed_receive_with_sm_3024@localhost' to='bob_delayed_receive_with_sm_3024@localhost/res1' id='pusha3b98c4bfd45ea51' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_delayed_receive_with_sm_3024@localhost' subscription='to'/>
	</query>
</iq>



*** User 2024-04-23 11:10:38.017 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<r xmlns='urn:xmpp:sm:3'/>



*** User 2024-04-23 11:10:38.017 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<presence from='alice_delayed_receive_with_sm_3024@localhost' to='bob_delayed_receive_with_sm_3024@localhost/res1' type='subscribed'/>



*** User 2024-04-23 11:10:38.017 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<r xmlns='urn:xmpp:sm:3'/>



*** User 2024-04-23 11:10:38.017 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<presence from='alice_delayed_receive_with_sm_3024@localhost/res1' to='bob_delayed_receive_with_sm_3024@localhost/res1'/>



*** User 2024-04-23 11:10:38.017 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<r xmlns='urn:xmpp:sm:3'/>



*** User 2024-04-23 11:10:38.019 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<message from='alice_delayed_receive_with_sm_3024@localhost' to='bob_delayed_receive_with_sm_3024@localhost/res1' type='headline'>
	<event xmlns='http://jabber.org/protocol/pubsub#event'>
		<items type='headline' node='hVjsY7px9EBhDYr2yvho7A=='>
			<item id='item2'>
				<entry xmlns='http://www.w3.org/2005/Atom'/>
			</item>
		</items>
	</event>
	<delay xmlns='urn:xmpp:delay' from='alice_delayed_receive_with_sm_3024@localhost' stamp='2024-04-23T11:10:37Z'/>
</message>



*** User 2024-04-23 11:10:38.020 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
<r xmlns='urn:xmpp:sm:3'/>



*** User 2024-04-23 11:10:38.020 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:10:38.020 ***🔗
bob_delayed_receive_with_sm_3024@localhost/res1 in
</stream:stream>

*** User 2024-04-23 11:10:38.021 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 out
</stream:stream>

*** User 2024-04-23 11:10:38.021 ***🔗
alice_delayed_receive_with_sm_3024@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 11:10:38.024 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4744.html



=== Ended at 2024-04-23 11:10:38
=== successfully completed test case
=== === Returned value: ok