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

=== Config value:

    [{watchdog,<0.4296.1>},
     {backend,mnesia},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/offline_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.offline_SUITE.logs/run.2022-03-03_10.36.14/offline_suite.offline_message_is_stored_and_delivered_at_login.36483.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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.offline_SUITE.logs/run.2022-03-03_10.36.14/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 => [],mod_sic => [],mod_stream_management => [],
        mod_vcard =>
            [{backend,ldap},
             {host,{prefix,<<"vjud.">>}},
             {ldap_base,"ou=Users,dc=esl,dc=com"},
             {ldap_filter,<<"(objectClass=inetOrgPerson)">>}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:36:15


*** CT 2022-03-03 10:36:15.041 *** View log from node mongooseim@localhost when started mongooseim@localhost_4506.html
*** CT 2022-03-03 10:36:15.041 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2305.html

*** User 2022-03-03 10:36:15.054 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@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-03-03 10:36:15.054 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2173b5d7509279cb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:15.054 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@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>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-03-03 10:36:15.055 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX29mZmxpbmVfbWVzc2FnZV9pc19zdG9yZWRfYW5kX2RlbGl2ZXJlZF9hdF9sb2dpbl85NzAAbWF0eWdyeXNh</auth>



*** User 2022-03-03 10:36:15.056 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:15.056 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@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-03-03 10:36:15.057 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='750e63930335567c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:15.057 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@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-03-03 10:36:15.057 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 out
<iq type='set' id='3d3ba2a81a35d1d6c087d3e22fbbdfe7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:15.057 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
<iq id='3d3ba2a81a35d1d6c087d3e22fbbdfe7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:15.057 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 out
<iq type='set' id='b77fe8daef47dcf298bfbe15f4d51404'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:15.058 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
<iq type='result' id='b77fe8daef47dcf298bfbe15f4d51404'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:15.058 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:15.059 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
<presence from='alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1' to='alice_offline_message_is_stored_and_delivered_at_login_970@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:15.060 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@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-03-03 10:36:15.060 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='69dc381777ad8b42' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:15.060 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@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>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-03-03 10:36:15.060 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9vZmZsaW5lX21lc3NhZ2VfaXNfc3RvcmVkX2FuZF9kZWxpdmVyZWRfYXRfbG9naW5fOTcwAG1ha3JvbGlrYQ==</auth>



*** User 2022-03-03 10:36:15.062 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:15.062 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@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-03-03 10:36:15.062 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='114cdc5b92e9f9cd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:15.063 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@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-03-03 10:36:15.063 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 out
<iq type='set' id='ab3a30746b2d3b88b16dbd533a2587ae'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:15.063 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
<iq id='ab3a30746b2d3b88b16dbd533a2587ae' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:15.063 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 out
<iq type='set' id='aafe18796983fbef8725b91b3b45f438'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:15.063 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
<iq type='result' id='aafe18796983fbef8725b91b3b45f438'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:15.064 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 out
<presence/>



*** User 2022-03-03 10:36:15.065 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
<presence from='bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1' to='bob_offline_message_is_stored_and_delivered_at_login_970@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:36:15.065 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:15.065 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:36:15.066 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 out
<message to='bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1' type='chat'>
	<body>msgtxt</body>
</message>



*** User 2022-03-03 10:36:15.066 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@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-03-03 10:36:15.067 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9509b7c7bf08e2c3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:15.067 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@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>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-03-03 10:36:15.067 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9vZmZsaW5lX21lc3NhZ2VfaXNfc3RvcmVkX2FuZF9kZWxpdmVyZWRfYXRfbG9naW5fOTcwAG1ha3JvbGlrYQ==</auth>



*** User 2022-03-03 10:36:15.069 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:36:15.069 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@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-03-03 10:36:15.069 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8c26326a382bd304' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:36:15.069 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@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-03-03 10:36:15.069 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session out
<iq type='set' id='d190402b8eb1c53e162fa66f999e0d09'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>new-session</resource>
	</bind>
</iq>



*** User 2022-03-03 10:36:15.070 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session in
<iq id='d190402b8eb1c53e162fa66f999e0d09' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session</jid>
	</bind>
</iq>



*** User 2022-03-03 10:36:15.070 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session out
<iq type='set' id='8578c3d2b0b25c9e207a6f4445360058'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:15.070 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session in
<iq type='result' id='8578c3d2b0b25c9e207a6f4445360058'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:36:15.070 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session out
<presence/>



*** User 2022-03-03 10:36:15.072 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session in
<message from='alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1' to='bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/res1' xml:lang='en' type='chat'>
	<body>msgtxt</body>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-03T10:36:15.067781Z' from='localhost'>Offline Storage</delay>
</message>



*** User 2022-03-03 10:36:15.072 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session in
<presence from='bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session' to='bob_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session' xml:lang='en'/>



*** User 2022-03-03 10:36:15.072 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session out
</stream:stream>

*** User 2022-03-03 10:36:15.072 ***
bOb_offline_message_is_stored_and_delivered_at_login_970@localhost/new-session in
</stream:stream>

*** User 2022-03-03 10:36:15.072 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:36:15.072 ***
alicE_offline_message_is_stored_and_delivered_at_login_970@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:36:15.075 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2305.html
*** CT 2022-03-03 10:36:15.076 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4506.html



=== Ended at 2022-03-03 10:36:15
=== successfully completed test case
=== === Returned value: ok