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

=== Config value:

    [{watchdog,<0.78116.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@de4ca8ebb296.2024-04-16_12.16.15/big_tests.tests.offline_SUITE.logs/run.2024-04-16_12.30.52/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@de4ca8ebb296.2024-04-16_12.16.15/big_tests.tests.offline_SUITE.logs/run.2024-04-16_12.30.52/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_amp => #{},
        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_offline =>
            #{backend => rdbms,
              access_max_user_messages => max_user_offline_messages,
              store_groupchat_messages => false},
        mod_disco =>
            #{users_can_see_hidden_services => false,iqdisc => one_queue,
              server_info => [],extra_domains => []},
        mod_presence => #{},
        mod_stream_management =>
            #{buffer => true,ack => true,backend => mnesia,buffer_max => 100,
              stale_h =>
                  #{enabled => false,repeat_after => 1800,geriatric => 3600},
              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@de4ca8ebb296.2024-04-16_12.16.15"

=== Started at 2024-04-16 12:31:06


*** CT 2024-04-16 12:31:06.661 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5529.html

*** User 2024-04-16 12:31:06.671 ***🔗
alicE_groupchat_message_is_stored_2980@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-04-16 12:31:06.671 ***🔗
alicE_groupchat_message_is_stored_2980@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e26420cbc9d4b997' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:31:06.671 ***🔗
alicE_groupchat_message_is_stored_2980@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-04-16 12:31:06.671 ***🔗
alicE_groupchat_message_is_stored_2980@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2dyb3VwY2hhdF9tZXNzYWdlX2lzX3N0b3JlZF8yOTgwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 12:31:06.673 ***🔗
alicE_groupchat_message_is_stored_2980@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:31:06.673 ***🔗
alicE_groupchat_message_is_stored_2980@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-04-16 12:31:06.673 ***🔗
alicE_groupchat_message_is_stored_2980@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2073eb71494564e1' from='localhost' version='1.0' xml:lang='en' to='alice_groupchat_message_is_stored_2980@localhost'>

*** User 2024-04-16 12:31:06.674 ***🔗
alicE_groupchat_message_is_stored_2980@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-04-16 12:31:06.674 ***🔗
alicE_groupchat_message_is_stored_2980@localhost/res1 out
<iq type='set' id='cc09645f08c15b1bf831d6f6c18acdcc'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:31:06.674 ***🔗
alicE_groupchat_message_is_stored_2980@localhost/res1 in
<iq id='cc09645f08c15b1bf831d6f6c18acdcc' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_groupchat_message_is_stored_2980@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:31:06.674 ***🔗
alice_groupchat_message_is_stored_2980@localhost/res1 out
<iq type='set' id='9bc9bf72a6fcd4ec887b109c195efdc6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:31:06.675 ***🔗
alice_groupchat_message_is_stored_2980@localhost/res1 in
<iq from='localhost' to='alice_groupchat_message_is_stored_2980@localhost/res1' id='9bc9bf72a6fcd4ec887b109c195efdc6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:31:06.675 ***🔗
alice_groupchat_message_is_stored_2980@localhost/res1 out
<presence/>



*** User 2024-04-16 12:31:06.678 ***🔗
alice_groupchat_message_is_stored_2980@localhost/res1 in
<presence from='alice_groupchat_message_is_stored_2980@localhost/res1' to='alice_groupchat_message_is_stored_2980@localhost/res1'/>



*** User 2024-04-16 12:31:06.678 ***🔗
bOb_groupchat_message_is_stored_2980@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-04-16 12:31:06.679 ***🔗
bOb_groupchat_message_is_stored_2980@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2e12a6ca25859b57' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:31:06.679 ***🔗
bOb_groupchat_message_is_stored_2980@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-04-16 12:31:06.679 ***🔗
bOb_groupchat_message_is_stored_2980@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ncm91cGNoYXRfbWVzc2FnZV9pc19zdG9yZWRfMjk4MABtYWtyb2xpa2E=</auth>



*** User 2024-04-16 12:31:06.680 ***🔗
bOb_groupchat_message_is_stored_2980@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:31:06.681 ***🔗
bOb_groupchat_message_is_stored_2980@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-04-16 12:31:06.681 ***🔗
bOb_groupchat_message_is_stored_2980@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='962ab9bc2de7366c' from='localhost' version='1.0' xml:lang='en' to='bob_groupchat_message_is_stored_2980@localhost'>

*** User 2024-04-16 12:31:06.681 ***🔗
bOb_groupchat_message_is_stored_2980@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-04-16 12:31:06.681 ***🔗
bOb_groupchat_message_is_stored_2980@localhost/res1 out
<iq type='set' id='d515258698bc5d5874295a394e127b01'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:31:06.682 ***🔗
bOb_groupchat_message_is_stored_2980@localhost/res1 in
<iq id='d515258698bc5d5874295a394e127b01' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_groupchat_message_is_stored_2980@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:31:06.682 ***🔗
bob_groupchat_message_is_stored_2980@localhost/res1 out
<iq type='set' id='f7fd4e80b2adb1404a4973b4b2aab23d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:31:06.682 ***🔗
bob_groupchat_message_is_stored_2980@localhost/res1 in
<iq from='localhost' to='bob_groupchat_message_is_stored_2980@localhost/res1' id='f7fd4e80b2adb1404a4973b4b2aab23d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:31:06.682 ***🔗
bob_groupchat_message_is_stored_2980@localhost/res1 out
<presence/>



*** User 2024-04-16 12:31:06.686 ***🔗
bob_groupchat_message_is_stored_2980@localhost/res1 in
<presence from='bob_groupchat_message_is_stored_2980@localhost/res1' to='bob_groupchat_message_is_stored_2980@localhost/res1'/>



*** User 2024-04-16 12:31:06.687 ***🔗
bob_groupchat_message_is_stored_2980@localhost/res1 out
</stream:stream>

*** User 2024-04-16 12:31:06.687 ***🔗
bob_groupchat_message_is_stored_2980@localhost/res1 in
</stream:stream>

*** User 2024-04-16 12:31:06.688 ***🔗
alice_groupchat_message_is_stored_2980@localhost/res1 out
<iq type='set' id='9d99a73afbf9d7f208f576fdfec50386' to='muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob_groupchat_message_is_stored_2980@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2024-04-16 12:31:06.693 ***🔗
alice_groupchat_message_is_stored_2980@localhost/res1 in
<message from='1713-270666-689754@muclight.localhost' to='alice_groupchat_message_is_stored_2980@localhost' id='9d99a73afbf9d7f208f576fdfec50386' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-270666-689743</version>
		<user affiliation='owner'>alice_groupchat_message_is_stored_2980@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-04-16 12:31:06.693 ***🔗
alice_groupchat_message_is_stored_2980@localhost/res1 out
<message type='groupchat' to='1713-270666-689754@muclight.localhost'>
	<body>msgtxt</body>
</message>



*** User 2024-04-16 12:31:06.796 ***🔗
waiting for timeout is done in 100 miliseconds

*** User 2024-04-16 12:31:06.797 ***🔗
bOb_groupchat_message_is_stored_2980@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-04-16 12:31:06.798 ***🔗
bOb_groupchat_message_is_stored_2980@localhost/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e6e37b3715d502b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:31:06.798 ***🔗
bOb_groupchat_message_is_stored_2980@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-04-16 12:31:06.798 ***🔗
bOb_groupchat_message_is_stored_2980@localhost/new-session out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ncm91cGNoYXRfbWVzc2FnZV9pc19zdG9yZWRfMjk4MABtYWtyb2xpa2E=</auth>



*** User 2024-04-16 12:31:06.800 ***🔗
bOb_groupchat_message_is_stored_2980@localhost/new-session in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:31:06.800 ***🔗
bOb_groupchat_message_is_stored_2980@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-04-16 12:31:06.800 ***🔗
bOb_groupchat_message_is_stored_2980@localhost/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7eece3b384f983db' from='localhost' version='1.0' xml:lang='en' to='bob_groupchat_message_is_stored_2980@localhost'>

*** User 2024-04-16 12:31:06.800 ***🔗
bOb_groupchat_message_is_stored_2980@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-04-16 12:31:06.800 ***🔗
bOb_groupchat_message_is_stored_2980@localhost/new-session out
<iq type='set' id='669c52f3540db2204ea232dcf2af72b7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>new-session</resource>
	</bind>
</iq>



*** User 2024-04-16 12:31:06.801 ***🔗
bOb_groupchat_message_is_stored_2980@localhost/new-session in
<iq id='669c52f3540db2204ea232dcf2af72b7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_groupchat_message_is_stored_2980@localhost/new-session</jid>
	</bind>
</iq>



*** User 2024-04-16 12:31:06.801 ***🔗
bob_groupchat_message_is_stored_2980@localhost/new-session out
<iq type='set' id='e24e36e5163a17661155953f00b2830d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:31:06.801 ***🔗
bob_groupchat_message_is_stored_2980@localhost/new-session in
<iq from='localhost' to='bob_groupchat_message_is_stored_2980@localhost/new-session' id='e24e36e5163a17661155953f00b2830d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:31:06.802 ***🔗
bob_groupchat_message_is_stored_2980@localhost/new-session out
<presence/>



*** User 2024-04-16 12:31:06.804 ***🔗
bob_groupchat_message_is_stored_2980@localhost/new-session in
<message from='1713-270666-689754@muclight.localhost' to='bob_groupchat_message_is_stored_2980@localhost' id='9d99a73afbf9d7f208f576fdfec50386' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1713-270666-689743</version>
		<user affiliation='member'>bob_groupchat_message_is_stored_2980@localhost</user>
	</x>
	<body/>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T12:31:06.693188Z' from='localhost'>Offline Storage</delay>
</message>



*** User 2024-04-16 12:31:06.804 ***🔗
bob_groupchat_message_is_stored_2980@localhost/new-session in
<message from='1713-270666-689754@muclight.localhost/alice_groupchat_message_is_stored_2980@localhost' to='bob_groupchat_message_is_stored_2980@localhost' id='1713-270666-694343' type='groupchat'>
	<body>msgtxt</body>
	<delay xmlns='urn:xmpp:delay' stamp='2024-04-16T12:31:06.695360Z' from='localhost'>Offline Storage</delay>
</message>



*** User 2024-04-16 12:31:06.804 ***🔗
bob_groupchat_message_is_stored_2980@localhost/new-session in
<presence from='bob_groupchat_message_is_stored_2980@localhost/new-session' to='bob_groupchat_message_is_stored_2980@localhost/new-session'/>



*** User 2024-04-16 12:31:06.804 ***🔗
bob_groupchat_message_is_stored_2980@localhost/new-session out
</stream:stream>

*** User 2024-04-16 12:31:06.805 ***🔗
bob_groupchat_message_is_stored_2980@localhost/new-session in
</stream:stream>

*** User 2024-04-16 12:31:06.805 ***🔗
alice_groupchat_message_is_stored_2980@localhost/res1 out
</stream:stream>

*** User 2024-04-16 12:31:06.805 ***🔗
alice_groupchat_message_is_stored_2980@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 12:31:06.809 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5529.html



=== Ended at 2024-04-16 12:31:06
=== successfully completed test case
=== === Returned value: ok


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