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

=== Config value:

    [{watchdog,<0.7286.2>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/offline_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@441570a56cc3.2024-04-23_06.45.55/big_tests.tests.offline_SUITE.logs/run.2024-04-23_06.57.19/offline_suite.offline_message_is_stored_and_delivered_at_login.220418.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@441570a56cc3.2024-04-23_06.45.55/big_tests.tests.offline_SUITE.logs/run.2024-04-23_06.57.19/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => rdbms,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@441570a56cc3.2024-04-23_06.45.55"

=== Started at 2024-04-23 06:57:19


*** CT 2024-04-23 06:57:19.247 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3651.html

*** User 2024-04-23 06:57:19.258 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:57:19.258 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b9f0f0883b709dae' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:57:19.258 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<stream:features>
	<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 06:57:19.258 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX29mZmxpbmVfbWVzc2FnZV9pc19zdG9yZWRfYW5kX2RlbGl2ZXJlZF9hdF9sb2dpbl8yODcxAG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 06:57:19.259 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 06:57:19.259 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:57:19.259 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='857d39227853e344' from='domain.example.com' version='1.0' xml:lang='en' to='alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com'>

*** User 2024-04-23 06:57:19.259 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<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 06:57:19.260 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<iq type='set' id='0a223410fb221d7e75a8ebb6042d4c66'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 06:57:19.260 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<iq id='0a223410fb221d7e75a8ebb6042d4c66' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 06:57:19.260 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<iq type='set' id='2b444702ef770d69d07cf49069f9c4cf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:57:19.260 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1' id='2b444702ef770d69d07cf49069f9c4cf' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:57:19.260 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 06:57:19.262 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<presence from='alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1' to='alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1'/>



*** User 2024-04-23 06:57:19.264 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:57:19.264 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2d96eee89757097' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:57:19.264 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<stream:features>
	<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 06:57:19.264 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9vZmZsaW5lX21lc3NhZ2VfaXNfc3RvcmVkX2FuZF9kZWxpdmVyZWRfYXRfbG9naW5fMjg3MQBtYWtyb2xpa2E=</auth>



*** User 2024-04-23 06:57:19.265 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 06:57:19.265 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:57:19.265 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c90841282e08cd75' from='domain.example.com' version='1.0' xml:lang='en' to='bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com'>

*** User 2024-04-23 06:57:19.265 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<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 06:57:19.265 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<iq type='set' id='919ef5bd1536d3e1d9f9f0103677ef05'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 06:57:19.266 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<iq id='919ef5bd1536d3e1d9f9f0103677ef05' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 06:57:19.266 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<iq type='set' id='c4299ccbd220d48f737066d6b4956249'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:57:19.266 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1' id='c4299ccbd220d48f737066d6b4956249' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:57:19.266 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 06:57:19.268 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
<presence from='bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1' to='bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1'/>



*** User 2024-04-23 06:57:19.269 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 06:57:19.269 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-23 06:57:19.269 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
<message to='bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1' type='chat'>
	<body>msgtxt</body>
</message>



*** User 2024-04-23 06:57:19.372 ***🔗
waiting for timeout is done in 100 miliseconds

*** User 2024-04-23 06:57:19.372 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:57:19.373 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b7ef06aaff6afc84' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:57:19.373 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session in
<stream:features>
	<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 06:57:19.373 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9vZmZsaW5lX21lc3NhZ2VfaXNfc3RvcmVkX2FuZF9kZWxpdmVyZWRfYXRfbG9naW5fMjg3MQBtYWtyb2xpa2E=</auth>



*** User 2024-04-23 06:57:19.374 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 06:57:19.374 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:57:19.374 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6148eb422a193a42' from='domain.example.com' version='1.0' xml:lang='en' to='bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com'>

*** User 2024-04-23 06:57:19.374 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<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 06:57:19.374 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session out
<iq type='set' id='e896b5887c3ddfc5c58b8930d5ae5436'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>new-session</resource>
	</bind>
</iq>



*** User 2024-04-23 06:57:19.375 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session in
<iq id='e896b5887c3ddfc5c58b8930d5ae5436' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session</jid>
	</bind>
</iq>



*** User 2024-04-23 06:57:19.375 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session out
<iq type='set' id='025f2d88aaa7574ec8ce9f0c62f2acff'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:57:19.375 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session in
<iq from='domain.example.com' to='bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session' id='025f2d88aaa7574ec8ce9f0c62f2acff' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:57:19.375 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session out
<presence/>



*** User 2024-04-23 06:57:19.377 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session in
<message from='alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1' to='bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com' type='chat'>
	<body>msgtxt</body>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-23T06:57:19.270267Z' from='domain.example.com'>Offline Storage</delay>
</message>



*** User 2024-04-23 06:57:19.377 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session in
<presence from='bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session' to='bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session'/>



*** User 2024-04-23 06:57:19.377 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session out
</stream:stream>

*** User 2024-04-23 06:57:19.377 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/new-session in
</stream:stream>

*** User 2024-04-23 06:57:19.378 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 06:57:19.378 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_2871@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-23 06:57:19.380 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3652.html



=== Ended at 2024-04-23 06:57:19
=== successfully completed test case
=== === Returned value: ok