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

=== Config value:

    [{watchdog,<0.76125.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@549f635c4ac9.2024-03-11_11.28.53/big_tests.tests.offline_SUITE.logs/run.2024-03-11_11.42.47/offline_suite.groupchat_message_is_stored.html"},
     {tc_group_properties,[{name,with_groupchat},{repeat_until_all_ok,3}]},
     {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@549f635c4ac9.2024-03-11_11.28.53/big_tests.tests.offline_SUITE.logs/run.2024-03-11_11.42.47/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_vcard =>
            #{matches => 30,
              host => {prefix,<<"vjud.">>},
              search => true,backend => rdbms,iqdisc => parallel},
        mod_roster =>
            #{backend => rdbms,iqdisc => one_queue,versioning => false,
              store_current_id => false},
        mod_sic => #{iqdisc => one_queue},
        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_amp => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_offline =>
            #{backend => rdbms,
              access_max_user_messages => max_user_offline_messages,
              store_groupchat_messages => false},
        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_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@549f635c4ac9.2024-03-11_11.28.53"

=== Started at 2024-03-11 11:43:01


*** CT 2024-03-11 11:43:01.850 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4719.html

*** User 2024-03-11 11:43:01.859 ***🔗
alicE_groupchat_message_is_stored_2895@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:43:01.859 ***🔗
alicE_groupchat_message_is_stored_2895@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1f398b880fe6560a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:43:01.860 ***🔗
alicE_groupchat_message_is_stored_2895@localhost/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-03-11 11:43:01.860 ***🔗
alicE_groupchat_message_is_stored_2895@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2dyb3VwY2hhdF9tZXNzYWdlX2lzX3N0b3JlZF8yODk1AG1hdHlncnlzYQ==</auth>



*** User 2024-03-11 11:43:01.861 ***🔗
alicE_groupchat_message_is_stored_2895@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:43:01.861 ***🔗
alicE_groupchat_message_is_stored_2895@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:43:01.862 ***🔗
alicE_groupchat_message_is_stored_2895@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5bd0eb1325b6797e' from='localhost' version='1.0' xml:lang='en' to='alice_groupchat_message_is_stored_2895@localhost'>

*** User 2024-03-11 11:43:01.862 ***🔗
alicE_groupchat_message_is_stored_2895@localhost/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-03-11 11:43:01.862 ***🔗
alicE_groupchat_message_is_stored_2895@localhost/res1 out
<iq type='set' id='a55bcd0e835809d4c7c09917dd3051b7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:43:01.862 ***🔗
alicE_groupchat_message_is_stored_2895@localhost/res1 in
<iq id='a55bcd0e835809d4c7c09917dd3051b7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_groupchat_message_is_stored_2895@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:43:01.863 ***🔗
alice_groupchat_message_is_stored_2895@localhost/res1 out
<iq type='set' id='1c6b780e799798ec459b157d713a1be9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:43:01.863 ***🔗
alice_groupchat_message_is_stored_2895@localhost/res1 in
<iq from='localhost' to='alice_groupchat_message_is_stored_2895@localhost/res1' id='1c6b780e799798ec459b157d713a1be9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:43:01.863 ***🔗
alice_groupchat_message_is_stored_2895@localhost/res1 out
<presence/>



*** User 2024-03-11 11:43:01.866 ***🔗
alice_groupchat_message_is_stored_2895@localhost/res1 in
<presence from='alice_groupchat_message_is_stored_2895@localhost/res1' to='alice_groupchat_message_is_stored_2895@localhost/res1'/>



*** User 2024-03-11 11:43:01.866 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:43:01.867 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dfcb9a25c1421182' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:43:01.867 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/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-03-11 11:43:01.867 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ncm91cGNoYXRfbWVzc2FnZV9pc19zdG9yZWRfMjg5NQBtYWtyb2xpa2E=</auth>



*** User 2024-03-11 11:43:01.874 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:43:01.874 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-11 11:43:01.875 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3ffa71c1eaa714c5' from='localhost' version='1.0' xml:lang='en' to='bob_groupchat_message_is_stored_2895@localhost'>

*** User 2024-03-11 11:43:01.875 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/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-03-11 11:43:01.875 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/res1 out
<iq type='set' id='ba861c96eba75aa24fb36c7d24c9b3f3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:43:01.875 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/res1 in
<iq id='ba861c96eba75aa24fb36c7d24c9b3f3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_groupchat_message_is_stored_2895@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:43:01.875 ***🔗
bob_groupchat_message_is_stored_2895@localhost/res1 out
<iq type='set' id='33568b07b0fb966c22f6bd91bba941f5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:43:01.876 ***🔗
bob_groupchat_message_is_stored_2895@localhost/res1 in
<iq from='localhost' to='bob_groupchat_message_is_stored_2895@localhost/res1' id='33568b07b0fb966c22f6bd91bba941f5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:43:01.876 ***🔗
bob_groupchat_message_is_stored_2895@localhost/res1 out
<presence/>



*** User 2024-03-11 11:43:01.879 ***🔗
bob_groupchat_message_is_stored_2895@localhost/res1 in
<presence from='bob_groupchat_message_is_stored_2895@localhost/res1' to='bob_groupchat_message_is_stored_2895@localhost/res1'/>



*** User 2024-03-11 11:43:01.880 ***🔗
bob_groupchat_message_is_stored_2895@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:43:01.880 ***🔗
bob_groupchat_message_is_stored_2895@localhost/res1 in
</stream:stream>

*** User 2024-03-11 11:43:01.881 ***🔗
alice_groupchat_message_is_stored_2895@localhost/res1 out
<iq type='set' id='118122b1027f02d84cf40803d25432bb' to='muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob_groupchat_message_is_stored_2895@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2024-03-11 11:43:01.886 ***🔗
alice_groupchat_message_is_stored_2895@localhost/res1 in
<message from='1710-157381-882497@muclight.localhost' to='alice_groupchat_message_is_stored_2895@localhost' id='118122b1027f02d84cf40803d25432bb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1710-157381-882486</version>
		<user affiliation='owner'>alice_groupchat_message_is_stored_2895@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-03-11 11:43:01.887 ***🔗
alice_groupchat_message_is_stored_2895@localhost/res1 out
<message type='groupchat' to='1710-157381-882497@muclight.localhost'>
	<body>msgtxt</body>
</message>



*** User 2024-03-11 11:43:01.990 ***🔗
waiting for timeout is done in 100 miliseconds

*** User 2024-03-11 11:43:01.990 ***🔗
bOb_groupchat_message_is_stored_2895@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 2024-03-11 11:43:01.991 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3293358636739d54' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:43:01.991 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/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-03-11 11:43:01.992 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/new-session out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ncm91cGNoYXRfbWVzc2FnZV9pc19zdG9yZWRfMjg5NQBtYWtyb2xpa2E=</auth>



*** User 2024-03-11 11:43:01.993 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/new-session in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:43:01.993 ***🔗
bOb_groupchat_message_is_stored_2895@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 2024-03-11 11:43:01.993 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de1c0c371d8da41d' from='localhost' version='1.0' xml:lang='en' to='bob_groupchat_message_is_stored_2895@localhost'>

*** User 2024-03-11 11:43:01.993 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/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-03-11 11:43:01.994 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/new-session out
<iq type='set' id='2f3264eb3fb5cca80e0462f78b5d585c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>new-session</resource>
	</bind>
</iq>



*** User 2024-03-11 11:43:01.994 ***🔗
bOb_groupchat_message_is_stored_2895@localhost/new-session in
<iq id='2f3264eb3fb5cca80e0462f78b5d585c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_groupchat_message_is_stored_2895@localhost/new-session</jid>
	</bind>
</iq>



*** User 2024-03-11 11:43:01.994 ***🔗
bob_groupchat_message_is_stored_2895@localhost/new-session out
<iq type='set' id='da0b775459e6525828940c95576ffde2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:43:01.995 ***🔗
bob_groupchat_message_is_stored_2895@localhost/new-session in
<iq from='localhost' to='bob_groupchat_message_is_stored_2895@localhost/new-session' id='da0b775459e6525828940c95576ffde2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:43:01.995 ***🔗
bob_groupchat_message_is_stored_2895@localhost/new-session out
<presence/>



*** User 2024-03-11 11:43:01.999 ***🔗
bob_groupchat_message_is_stored_2895@localhost/new-session in
<message from='1710-157381-882497@muclight.localhost' to='bob_groupchat_message_is_stored_2895@localhost' id='118122b1027f02d84cf40803d25432bb' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1710-157381-882486</version>
		<user affiliation='member'>bob_groupchat_message_is_stored_2895@localhost</user>
	</x>
	<body/>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-11T11:43:01.886504Z' from='localhost'>Offline Storage</delay>
</message>



*** User 2024-03-11 11:43:01.999 ***🔗
bob_groupchat_message_is_stored_2895@localhost/new-session in
<message from='1710-157381-882497@muclight.localhost/alice_groupchat_message_is_stored_2895@localhost' to='bob_groupchat_message_is_stored_2895@localhost' id='1710-157381-887521' type='groupchat'>
	<body>msgtxt</body>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-11T11:43:01.889982Z' from='localhost'>Offline Storage</delay>
</message>



*** User 2024-03-11 11:43:01.999 ***🔗
bob_groupchat_message_is_stored_2895@localhost/new-session in
<presence from='bob_groupchat_message_is_stored_2895@localhost/new-session' to='bob_groupchat_message_is_stored_2895@localhost/new-session'/>



*** User 2024-03-11 11:43:01.999 ***🔗
bob_groupchat_message_is_stored_2895@localhost/new-session out
</stream:stream>

*** User 2024-03-11 11:43:01.999 ***🔗
bob_groupchat_message_is_stored_2895@localhost/new-session in
</stream:stream>

*** User 2024-03-11 11:43:02.000 ***🔗
alice_groupchat_message_is_stored_2895@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:43:02.000 ***🔗
alice_groupchat_message_is_stored_2895@localhost/res1 in
</stream:stream>
*** CT 2024-03-11 11:43:02.005 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4719.html



=== Ended at 2024-03-11 11:43:02
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result