=== Test case: offline_SUITE:offline_message_is_stored_and_delivered_at_login/1 (click for source code)

=== Config value:

    [{watchdog,<0.30155.1>},
     {backend,rdbms},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/offline_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.offline_SUITE.logs/run.2022-01-25_16.32.01/offline_suite.offline_message_is_stored_and_delivered_at_login.123778.html"},
     {tc_group_properties,[{name,mod_offline_tests},
                           {repeat_until_all_ok,3},
                           parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/offline_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.offline_SUITE.logs/run.2022-01-25_16.32.01/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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:32:01


*** CT 2022-01-25 16:32:01.848 *** View log from node mongooseim@localhost when started mongooseim@localhost_5418.html
*** CT 2022-01-25 16:32:01.850 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2339.html

*** User 2022-01-25 16:32:01.890 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@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-01-25 16:32:01.891 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b314a3e55699586b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:01.891 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@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>
	<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-01-25 16:32:01.891 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX29mZmxpbmVfbWVzc2FnZV9pc19zdG9yZWRfYW5kX2RlbGl2ZXJlZF9hdF9sb2dpbl8xODc4AG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:32:01.894 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:01.894 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@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-01-25 16:32:01.894 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='797dbd0d787d7d1f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:01.894 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@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'/>
	<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-01-25 16:32:01.895 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 out
<iq type='set' id='bf0c2afe7c5d6cff05588da545e78b89'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:01.895 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
<iq id='bf0c2afe7c5d6cff05588da545e78b89' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:01.895 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 out
<iq type='set' id='471ebfb15721dc642f52641b60c2f2bb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:01.895 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
<iq type='result' id='471ebfb15721dc642f52641b60c2f2bb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:01.895 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:01.902 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
<presence from='alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1' to='alice_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:01.903 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@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-01-25 16:32:01.903 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e76997458d66c64d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:01.903 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@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>
	<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-01-25 16:32:01.903 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9vZmZsaW5lX21lc3NhZ2VfaXNfc3RvcmVkX2FuZF9kZWxpdmVyZWRfYXRfbG9naW5fMTg3OABtYWtyb2xpa2E=</auth>



*** User 2022-01-25 16:32:01.904 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:01.904 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@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-01-25 16:32:01.905 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2a29cfdbfc00ca89' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:01.905 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@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'/>
	<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-01-25 16:32:01.905 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 out
<iq type='set' id='28a7bbfa0ccff6ce3d92c6da2648a7e5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:01.905 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
<iq id='28a7bbfa0ccff6ce3d92c6da2648a7e5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:01.905 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 out
<iq type='set' id='fb674da006f0c35c15e3e6237f06c940'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:01.905 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
<iq type='result' id='fb674da006f0c35c15e3e6237f06c940'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:01.905 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:01.910 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
<presence from='bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1' to='bob_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:01.910 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:01.911 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:32:01.911 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 out
<message to='bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1' type='chat'>
	<body>msgtxt</body>
</message>



*** User 2022-01-25 16:32:01.911 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-25 16:32:01.912 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='07599365868a180c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:01.912 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session 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>
	<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-01-25 16:32:01.912 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9vZmZsaW5lX21lc3NhZ2VfaXNfc3RvcmVkX2FuZF9kZWxpdmVyZWRfYXRfbG9naW5fMTg3OABtYWtyb2xpa2E=</auth>



*** User 2022-01-25 16:32:01.914 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:01.914 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-25 16:32:01.929 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='53739a862c10e1ad' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:01.929 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session 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'/>
	<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-01-25 16:32:01.929 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session out
<iq type='set' id='e54d31054913d0f2167bd3a656db80cd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>new-session</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:01.930 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session in
<iq id='e54d31054913d0f2167bd3a656db80cd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:01.930 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session out
<iq type='set' id='41ff660e0042420692b766d3ab01072b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:01.930 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session in
<iq type='result' id='41ff660e0042420692b766d3ab01072b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:01.930 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session out
<presence/>



*** User 2022-01-25 16:32:01.949 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session in
<message from='alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1' to='bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost' xml:lang='en' type='chat'>
	<body>msgtxt</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T16:32:01.912727Z' from='localhost'>Offline Storage</delay>
</message>



*** User 2022-01-25 16:32:01.949 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session in
<presence from='bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session' to='bob_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session' xml:lang='en'/>



*** User 2022-01-25 16:32:01.949 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session out
</stream:stream>

*** User 2022-01-25 16:32:01.950 ***
bOb_offline_message_is_stored_and_delivered_at_login_1878@localhost/new-session in
</stream:stream>

*** User 2022-01-25 16:32:01.950 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:01.950 ***
alicE_offline_message_is_stored_and_delivered_at_login_1878@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:32:01.953 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2339.html
*** CT 2022-01-25 16:32:01.953 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5419.html



=== Ended at 2022-01-25 16:32:01
=== successfully completed test case
=== === Returned value: ok