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

=== Config value:

    [{watchdog,<0.31723.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/pep_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.pep_SUITE.logs/run.2022-02-03_16.38.16/pep_suite.delayed_receive_with_sm.59652.html"},
     {tc_group_properties,[{name,pep_tests},{repeat_until_all_ok,3},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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.pep_SUITE.logs/run.2022-02-03_16.38.16/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{users_can_see_hidden_services,false}],
        mod_muc_commands => [],mod_muc_light_commands => [],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@c0783a4ae5cf.2022-02-03_16.28.29"

=== Started at 2022-02-03 16:38:16


*** CT 2022-02-03 16:38:16.816 *** View log from node mongooseim@localhost when started mongooseim@localhost_5456.html
*** CT 2022-02-03 16:38:16.817 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2338.html

*** User 2022-02-03 16:38:16.852 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-03 16:38:16.853 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='17d7d3c589659362' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:38:16.853 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='FTVFMYuqeqtSmcsmBUvxNNw2aZI='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-02-03 16:38:16.853 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2RlbGF5ZWRfcmVjZWl2ZV93aXRoX3NtXzE4ODQAbWF0eWdyeXNh</auth>



*** User 2022-02-03 16:38:16.860 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-03 16:38:16.860 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-03 16:38:16.860 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0895901a470331ba' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:38:16.861 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='FTVFMYuqeqtSmcsmBUvxNNw2aZI='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-02-03 16:38:16.861 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 out
<iq type='set' id='9bdc01479249b464675fa97d54313868'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-03 16:38:16.861 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<iq id='9bdc01479249b464675fa97d54313868' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_delayed_receive_with_sm_1884@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-02-03 16:38:16.861 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 out
<iq type='set' id='1fbc77df9b5841736257504df714a661'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:38:16.862 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<iq type='result' id='1fbc77df9b5841736257504df714a661'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:38:16.862 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 out
<presence/>



*** User 2022-02-03 16:38:16.901 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<presence from='alicE_delayed_receive_with_sm_1884@localhost/res1' to='alice_delayed_receive_with_sm_1884@localhost/res1' xml:lang='en'/>



*** User 2022-02-03 16:38:16.902 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-03 16:38:16.902 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4c9d71bf8a3b60d5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:38:16.903 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='FTVFMYuqeqtSmcsmBUvxNNw2aZI='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-02-03 16:38:16.903 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9kZWxheWVkX3JlY2VpdmVfd2l0aF9zbV8xODg0AG1ha3JvbGlrYQ==</auth>



*** User 2022-02-03 16:38:16.905 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-03 16:38:16.905 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-03 16:38:16.905 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52dd3a75f3d8d5ad' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:38:16.906 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='https://www.erlang-solutions.com/products/mongooseim.html' ver='FTVFMYuqeqtSmcsmBUvxNNw2aZI='/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-02-03 16:38:16.906 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 out
<iq type='set' id='e3344bd8cc43d04d642d31273546164f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-03 16:38:16.906 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<iq id='e3344bd8cc43d04d642d31273546164f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_delayed_receive_with_sm_1884@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-02-03 16:38:16.906 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 out
<iq type='set' id='dc18513501fe7ffb0c9335b5256e45ac'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:38:16.907 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<iq type='result' id='dc18513501fe7ffb0c9335b5256e45ac'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:38:16.907 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 out
<presence>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.chatopus.com' ver='5pSNgzRT13FfW5ND8GkzKczo8L4='/>
</presence>



*** User 2022-02-03 16:38:16.909 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<iq from='localhost' to='bOb_delayed_receive_with_sm_1884@localhost/res1' id='64e7288b39c3e7f3' type='get'>
	<query xmlns='http://jabber.org/protocol/disco#info' node='http://www.chatopus.com#5pSNgzRT13FfW5ND8GkzKczo8L4='/>
</iq>



*** User 2022-02-03 16:38:16.909 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 out
<iq to='localhost' id='64e7288b39c3e7f3' 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='oPACqldQ2uv6SVR5zwUTQA=='/>
		<feature var='oPACqldQ2uv6SVR5zwUTQA==+notify'/>
	</query>
</iq>



*** User 2022-02-03 16:38:16.909 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<presence from='bOb_delayed_receive_with_sm_1884@localhost/res1' to='bob_delayed_receive_with_sm_1884@localhost/res1' xml:lang='en'>
	<c xmlns='http://jabber.org/protocol/caps' hash='sha-1' node='http://www.chatopus.com' ver='5pSNgzRT13FfW5ND8GkzKczo8L4='/>
</presence>



*** User 2022-02-03 16:38:16.909 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 out
<enable xmlns='urn:xmpp:sm:3'/>



*** User 2022-02-03 16:38:16.909 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<enabled xmlns='urn:xmpp:sm:3'/>



*** User 2022-02-03 16:38:16.909 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 out
<enable xmlns='urn:xmpp:sm:3'/>



*** User 2022-02-03 16:38:16.910 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<enabled xmlns='urn:xmpp:sm:3'/>



*** User 2022-02-03 16:38:16.910 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 out
<iq type='set' id='alicE_delayed_receive_with_sm_1884-pep-oPACqldQ2uv6SVR5zwUTQA==-publish' from='alicE_delayed_receive_with_sm_1884@localhost/res1'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<publish node='oPACqldQ2uv6SVR5zwUTQA=='>
			<item id='item2'>
				<entry xmlns='http://www.w3.org/2005/Atom'/>
			</item>
		</publish>
	</pubsub>
</iq>



*** User 2022-02-03 16:38:17.129 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<iq from='alicE_delayed_receive_with_sm_1884@localhost' to='alicE_delayed_receive_with_sm_1884@localhost/res1' id='alicE_delayed_receive_with_sm_1884-pep-oPACqldQ2uv6SVR5zwUTQA==-publish' type='result'>
	<pubsub xmlns='http://jabber.org/protocol/pubsub'>
		<publish node='oPACqldQ2uv6SVR5zwUTQA=='>
			<item id='item2'/>
		</publish>
	</pubsub>
</iq>



*** User 2022-02-03 16:38:17.129 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<r xmlns='urn:xmpp:sm:3'/>



*** User 2022-02-03 16:38:17.129 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 out
<presence type='subscribe' to='alicE_delayed_receive_with_sm_1884@localhost'/>



*** User 2022-02-03 16:38:17.129 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 out
<presence type='subscribed' to='bOb_delayed_receive_with_sm_1884@localhost'/>



*** User 2022-02-03 16:38:17.137 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<presence from='bOb_delayed_receive_with_sm_1884@localhost' to='alicE_delayed_receive_with_sm_1884@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-02-03 16:38:17.137 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
<r xmlns='urn:xmpp:sm:3'/>



*** User 2022-02-03 16:38:17.338 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<iq from='bOb_delayed_receive_with_sm_1884@localhost' to='bOb_delayed_receive_with_sm_1884@localhost/res1' id='pushecc393fc8a742537' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' jid='alice_delayed_receive_with_sm_1884@localhost'/>
	</query>
</iq>



*** User 2022-02-03 16:38:17.338 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<r xmlns='urn:xmpp:sm:3'/>



*** User 2022-02-03 16:38:17.338 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<message from='alice_delayed_receive_with_sm_1884@localhost' to='bob_delayed_receive_with_sm_1884@localhost/res1' type='headline'>
	<event xmlns='http://jabber.org/protocol/pubsub#event'>
		<items type='headline' node='oPACqldQ2uv6SVR5zwUTQA=='>
			<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_1884@localhost/res1' stamp='2022-02-03T16:38:17Z'/>
</message>



*** User 2022-02-03 16:38:17.338 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
<r xmlns='urn:xmpp:sm:3'/>



*** User 2022-02-03 16:38:17.540 ***
Message: {xmlel,<<"message">>,
             [{<<"from">>,<<"alice_delayed_receive_with_sm_1884@localhost">>},
              {<<"to">>,<<"bob_delayed_receive_with_sm_1884@localhost/res1">>},
              {<<"type">>,<<"headline">>}],
             [{xmlel,<<"event">>,
                  [{<<"xmlns">>,
                    <<"http://jabber.org/protocol/pubsub#event">>}],
                  [{xmlel,<<"items">>,
                       [{<<"type">>,<<"headline">>},
                        {<<"node">>,<<"oPACqldQ2uv6SVR5zwUTQA==">>}],
                       [{xmlel,<<"item">>,
                            [{<<"id">>,<<"item2">>}],
                            [{xmlel,<<"entry">>,
                                 [{<<"xmlns">>,
                                   <<"http://www.w3.org/2005/Atom">>}],
                                 []}]}]}]},
              {xmlel,<<"delay">>,
                  [{<<"xmlns">>,<<"urn:xmpp:delay">>},
                   {<<"from">>,
                    <<"alice_delayed_receive_with_sm_1884@localhost/res1">>},
                   {<<"stamp">>,<<"2022-02-03T16:38:17Z">>}],
                  []}]}

*** User 2022-02-03 16:38:17.540 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 out
</stream:stream>

*** User 2022-02-03 16:38:17.541 ***
bOb_delayed_receive_with_sm_1884@localhost/res1 in
</stream:stream>

*** User 2022-02-03 16:38:17.541 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 out
</stream:stream>

*** User 2022-02-03 16:38:17.541 ***
alicE_delayed_receive_with_sm_1884@localhost/res1 in
</stream:stream>
*** CT 2022-02-03 16:38:17.543 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2338.html
*** CT 2022-02-03 16:38:17.544 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5456.html



=== Ended at 2022-02-03 16:38:17
=== successfully completed test case
=== === Returned value: ok