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

=== Config value:

    [{watchdog,<0.71231.0>},
     {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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.offline_SUITE.logs/run.2024-04-09_11.48.57/offline_suite.offline_message_is_stored_and_delivered_at_login.136067.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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.offline_SUITE.logs/run.2024-04-09_11.48.57/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{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_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_sic => #{iqdisc => one_queue},
        mod_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@528a5a4ce401.2024-04-09_11.36.09"

=== Started at 2024-04-09 11:48:57


*** CT 2024-04-09 11:48:57.930 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2530.html

*** User 2024-04-09 11:48:57.950 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_3013@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-09 11:48:57.951 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6ae3286b1289b93b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:48:57.951 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_3013@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-09 11:48:57.952 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX29mZmxpbmVfbWVzc2FnZV9pc19zdG9yZWRfYW5kX2RlbGl2ZXJlZF9hdF9sb2dpbl8zMDEzAG1hdHlncnlzYQ==</auth>



*** User 2024-04-09 11:48:57.953 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:48:57.953 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_3013@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-09 11:48:57.953 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d87f353cd2f955d5' from='domain.example.com' version='1.0' xml:lang='en' to='alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com'>

*** User 2024-04-09 11:48:57.953 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_3013@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-09 11:48:57.954 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 out
<iq type='set' id='0767ce6047a574beeb9cf230d8b7952a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:48:57.954 ***🔗
alicE_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
<iq id='0767ce6047a574beeb9cf230d8b7952a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:48:57.954 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 out
<iq type='set' id='b1fda24c563af537d63ed512cb7cad7f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:48:57.954 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1' id='b1fda24c563af537d63ed512cb7cad7f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:48:57.954 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 11:48:57.956 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
<presence from='alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1' to='alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1'/>



*** User 2024-04-09 11:48:57.957 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@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-09 11:48:57.957 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e98daab08f1109ae' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:48:57.958 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@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-09 11:48:57.958 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9vZmZsaW5lX21lc3NhZ2VfaXNfc3RvcmVkX2FuZF9kZWxpdmVyZWRfYXRfbG9naW5fMzAxMwBtYWtyb2xpa2E=</auth>



*** User 2024-04-09 11:48:57.959 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:48:57.959 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@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-09 11:48:57.959 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='110b18f1e7c303ab' from='domain.example.com' version='1.0' xml:lang='en' to='bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com'>

*** User 2024-04-09 11:48:57.959 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@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-09 11:48:57.959 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 out
<iq type='set' id='70cc3e3eb29c96e4b0243bb336415a7d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:48:57.960 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
<iq id='70cc3e3eb29c96e4b0243bb336415a7d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:48:57.960 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 out
<iq type='set' id='b15b72b39c5d85226367d256534f0374'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:48:57.960 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1' id='b15b72b39c5d85226367d256534f0374' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:48:57.960 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 11:48:57.975 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
<presence from='bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1' to='bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1'/>



*** User 2024-04-09 11:48:57.976 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 11:48:57.976 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-09 11:48:57.976 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 out
<message type='chat' to='bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1'>
	<body>msgtxt</body>
</message>



*** User 2024-04-09 11:48:58.079 ***🔗
waiting for timeout is done in 100 miliseconds

*** User 2024-04-09 11:48:58.080 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@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-09 11:48:58.080 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='620cb76bc5ad5593' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:48:58.080 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@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-09 11:48:58.080 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9vZmZsaW5lX21lc3NhZ2VfaXNfc3RvcmVkX2FuZF9kZWxpdmVyZWRfYXRfbG9naW5fMzAxMwBtYWtyb2xpa2E=</auth>



*** User 2024-04-09 11:48:58.082 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:48:58.082 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@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-09 11:48:58.082 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e36f1cafe6a5ad49' from='domain.example.com' version='1.0' xml:lang='en' to='bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com'>

*** User 2024-04-09 11:48:58.083 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@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-09 11:48:58.083 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session out
<iq type='set' id='a96ecfe700d665d6be066cb7efc1a8f0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>new-session</resource>
	</bind>
</iq>



*** User 2024-04-09 11:48:58.083 ***🔗
bOb_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session in
<iq id='a96ecfe700d665d6be066cb7efc1a8f0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session</jid>
	</bind>
</iq>



*** User 2024-04-09 11:48:58.083 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session out
<iq type='set' id='724dd162ed9ed279996d426473204cdd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:48:58.084 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session in
<iq from='domain.example.com' to='bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session' id='724dd162ed9ed279996d426473204cdd' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:48:58.084 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session out
<presence/>



*** User 2024-04-09 11:48:58.087 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session in
<message from='alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1' to='bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com' type='chat'>
	<body>msgtxt</body>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-09T11:48:57.979729Z' from='domain.example.com'>Offline Storage</delay>
</message>



*** User 2024-04-09 11:48:58.088 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session in
<presence from='bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session' to='bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session'/>



*** User 2024-04-09 11:48:58.088 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session out
</stream:stream>

*** User 2024-04-09 11:48:58.089 ***🔗
bob_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/new-session in
</stream:stream>

*** User 2024-04-09 11:48:58.089 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 11:48:58.090 ***🔗
alice_offline_message_is_stored_and_delivered_at_login_3013@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-09 11:48:58.092 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2531.html



=== Ended at 2024-04-09 11:48:58
=== successfully completed test case
=== === Returned value: ok