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

=== Config value:

    [{watchdog,<0.76922.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@302a0ef612d0.2024-03-27_08.07.40/big_tests.tests.offline_SUITE.logs/run.2024-03-27_08.22.33/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@302a0ef612d0.2024-03-27_08.07.40/big_tests.tests.offline_SUITE.logs/run.2024-03-27_08.22.33/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_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_presence => #{},
        mod_disco =>
            #{iqdisc => one_queue,users_can_see_hidden_services => false,
              server_info => [],extra_domains => []},
        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_cache_users =>
            #{strategy => fifo,number_of_segments => 5,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@302a0ef612d0.2024-03-27_08.07.40"

=== Started at 2024-03-27 08:22:47


*** CT 2024-03-27 08:22:47.196 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4757.html

*** User 2024-03-27 08:22:47.205 ***🔗
alicE_groupchat_message_is_stored_2994@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-27 08:22:47.206 ***🔗
alicE_groupchat_message_is_stored_2994@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='186fa0c2881dde1d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-27 08:22:47.206 ***🔗
alicE_groupchat_message_is_stored_2994@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-27 08:22:47.206 ***🔗
alicE_groupchat_message_is_stored_2994@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2dyb3VwY2hhdF9tZXNzYWdlX2lzX3N0b3JlZF8yOTk0AG1hdHlncnlzYQ==</auth>



*** User 2024-03-27 08:22:47.207 ***🔗
alicE_groupchat_message_is_stored_2994@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-27 08:22:47.207 ***🔗
alicE_groupchat_message_is_stored_2994@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-27 08:22:47.208 ***🔗
alicE_groupchat_message_is_stored_2994@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0641861f5a8703f3' from='localhost' version='1.0' xml:lang='en' to='alice_groupchat_message_is_stored_2994@localhost'>

*** User 2024-03-27 08:22:47.208 ***🔗
alicE_groupchat_message_is_stored_2994@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-27 08:22:47.208 ***🔗
alicE_groupchat_message_is_stored_2994@localhost/res1 out
<iq type='set' id='9ca1b708912a620e46e5d203cd1f6865'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-27 08:22:47.208 ***🔗
alicE_groupchat_message_is_stored_2994@localhost/res1 in
<iq id='9ca1b708912a620e46e5d203cd1f6865' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_groupchat_message_is_stored_2994@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-27 08:22:47.209 ***🔗
alice_groupchat_message_is_stored_2994@localhost/res1 out
<iq type='set' id='11c51abb2c6d3231042371faca687681'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-27 08:22:47.209 ***🔗
alice_groupchat_message_is_stored_2994@localhost/res1 in
<iq from='localhost' to='alice_groupchat_message_is_stored_2994@localhost/res1' id='11c51abb2c6d3231042371faca687681' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-27 08:22:47.209 ***🔗
alice_groupchat_message_is_stored_2994@localhost/res1 out
<presence/>



*** User 2024-03-27 08:22:47.214 ***🔗
alice_groupchat_message_is_stored_2994@localhost/res1 in
<presence from='alice_groupchat_message_is_stored_2994@localhost/res1' to='alice_groupchat_message_is_stored_2994@localhost/res1'/>



*** User 2024-03-27 08:22:47.215 ***🔗
bOb_groupchat_message_is_stored_2994@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-27 08:22:47.215 ***🔗
bOb_groupchat_message_is_stored_2994@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bbdbdeea405b8e43' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-27 08:22:47.216 ***🔗
bOb_groupchat_message_is_stored_2994@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-27 08:22:47.216 ***🔗
bOb_groupchat_message_is_stored_2994@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ncm91cGNoYXRfbWVzc2FnZV9pc19zdG9yZWRfMjk5NABtYWtyb2xpa2E=</auth>



*** User 2024-03-27 08:22:47.218 ***🔗
bOb_groupchat_message_is_stored_2994@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-27 08:22:47.218 ***🔗
bOb_groupchat_message_is_stored_2994@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-27 08:22:47.218 ***🔗
bOb_groupchat_message_is_stored_2994@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cd34307364832a01' from='localhost' version='1.0' xml:lang='en' to='bob_groupchat_message_is_stored_2994@localhost'>

*** User 2024-03-27 08:22:47.218 ***🔗
bOb_groupchat_message_is_stored_2994@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-27 08:22:47.218 ***🔗
bOb_groupchat_message_is_stored_2994@localhost/res1 out
<iq type='set' id='2251a8f136c7d2908889942b5f74acbf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-27 08:22:47.219 ***🔗
bOb_groupchat_message_is_stored_2994@localhost/res1 in
<iq id='2251a8f136c7d2908889942b5f74acbf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_groupchat_message_is_stored_2994@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-27 08:22:47.219 ***🔗
bob_groupchat_message_is_stored_2994@localhost/res1 out
<iq type='set' id='e3fa4803a8072af476afd62c1c87f764'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-27 08:22:47.220 ***🔗
bob_groupchat_message_is_stored_2994@localhost/res1 in
<iq from='localhost' to='bob_groupchat_message_is_stored_2994@localhost/res1' id='e3fa4803a8072af476afd62c1c87f764' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-27 08:22:47.220 ***🔗
bob_groupchat_message_is_stored_2994@localhost/res1 out
<presence/>



*** User 2024-03-27 08:22:47.223 ***🔗
bob_groupchat_message_is_stored_2994@localhost/res1 in
<presence from='bob_groupchat_message_is_stored_2994@localhost/res1' to='bob_groupchat_message_is_stored_2994@localhost/res1'/>



*** User 2024-03-27 08:22:47.223 ***🔗
bob_groupchat_message_is_stored_2994@localhost/res1 out
</stream:stream>

*** User 2024-03-27 08:22:47.224 ***🔗
bob_groupchat_message_is_stored_2994@localhost/res1 in
</stream:stream>

*** User 2024-03-27 08:22:47.225 ***🔗
alice_groupchat_message_is_stored_2994@localhost/res1 out
<iq type='set' id='abd6e8be32c4fb7e97e7c164c6b722d8' to='muclight.localhost'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob_groupchat_message_is_stored_2994@localhost</user>
		</occupants>
	</query>
</iq>



*** User 2024-03-27 08:22:47.231 ***🔗
alice_groupchat_message_is_stored_2994@localhost/res1 in
<message from='1711-527767-227389@muclight.localhost' to='alice_groupchat_message_is_stored_2994@localhost' id='abd6e8be32c4fb7e97e7c164c6b722d8' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1711-527767-227360</version>
		<user affiliation='owner'>alice_groupchat_message_is_stored_2994@localhost</user>
	</x>
	<body/>
</message>



*** User 2024-03-27 08:22:47.231 ***🔗
alice_groupchat_message_is_stored_2994@localhost/res1 out
<message type='groupchat' to='1711-527767-227389@muclight.localhost'>
	<body>msgtxt</body>
</message>



*** User 2024-03-27 08:22:47.334 ***🔗
waiting for timeout is done in 100 miliseconds

*** User 2024-03-27 08:22:47.335 ***🔗
bOb_groupchat_message_is_stored_2994@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-27 08:22:47.336 ***🔗
bOb_groupchat_message_is_stored_2994@localhost/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d65431300d8672aa' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-27 08:22:47.336 ***🔗
bOb_groupchat_message_is_stored_2994@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-27 08:22:47.336 ***🔗
bOb_groupchat_message_is_stored_2994@localhost/new-session out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9ncm91cGNoYXRfbWVzc2FnZV9pc19zdG9yZWRfMjk5NABtYWtyb2xpa2E=</auth>



*** User 2024-03-27 08:22:47.338 ***🔗
bOb_groupchat_message_is_stored_2994@localhost/new-session in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-27 08:22:47.338 ***🔗
bOb_groupchat_message_is_stored_2994@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-27 08:22:47.338 ***🔗
bOb_groupchat_message_is_stored_2994@localhost/new-session in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='06a9e0598805ef5d' from='localhost' version='1.0' xml:lang='en' to='bob_groupchat_message_is_stored_2994@localhost'>

*** User 2024-03-27 08:22:47.338 ***🔗
bOb_groupchat_message_is_stored_2994@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-27 08:22:47.339 ***🔗
bOb_groupchat_message_is_stored_2994@localhost/new-session out
<iq type='set' id='ac9fd5a65952de1c04507fd5e92688b4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>new-session</resource>
	</bind>
</iq>



*** User 2024-03-27 08:22:47.339 ***🔗
bOb_groupchat_message_is_stored_2994@localhost/new-session in
<iq id='ac9fd5a65952de1c04507fd5e92688b4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_groupchat_message_is_stored_2994@localhost/new-session</jid>
	</bind>
</iq>



*** User 2024-03-27 08:22:47.339 ***🔗
bob_groupchat_message_is_stored_2994@localhost/new-session out
<iq type='set' id='941c3bb391b4c8bbee1420e3d80e27d8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-27 08:22:47.340 ***🔗
bob_groupchat_message_is_stored_2994@localhost/new-session in
<iq from='localhost' to='bob_groupchat_message_is_stored_2994@localhost/new-session' id='941c3bb391b4c8bbee1420e3d80e27d8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-27 08:22:47.340 ***🔗
bob_groupchat_message_is_stored_2994@localhost/new-session out
<presence/>



*** User 2024-03-27 08:22:47.344 ***🔗
bob_groupchat_message_is_stored_2994@localhost/new-session in
<message from='1711-527767-227389@muclight.localhost' to='bob_groupchat_message_is_stored_2994@localhost' id='abd6e8be32c4fb7e97e7c164c6b722d8' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1711-527767-227360</version>
		<user affiliation='member'>bob_groupchat_message_is_stored_2994@localhost</user>
	</x>
	<body/>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-27T08:22:47.230832Z' from='localhost'>Offline Storage</delay>
</message>



*** User 2024-03-27 08:22:47.344 ***🔗
bob_groupchat_message_is_stored_2994@localhost/new-session in
<message from='1711-527767-227389@muclight.localhost/alice_groupchat_message_is_stored_2994@localhost' to='bob_groupchat_message_is_stored_2994@localhost' id='1711-527767-232065' type='groupchat'>
	<body>msgtxt</body>
	<delay xmlns='urn:xmpp:delay' stamp='2024-03-27T08:22:47.233816Z' from='localhost'>Offline Storage</delay>
</message>



*** User 2024-03-27 08:22:47.344 ***🔗
bob_groupchat_message_is_stored_2994@localhost/new-session in
<presence from='bob_groupchat_message_is_stored_2994@localhost/new-session' to='bob_groupchat_message_is_stored_2994@localhost/new-session'/>



*** User 2024-03-27 08:22:47.344 ***🔗
bob_groupchat_message_is_stored_2994@localhost/new-session out
</stream:stream>

*** User 2024-03-27 08:22:47.344 ***🔗
bob_groupchat_message_is_stored_2994@localhost/new-session in
</stream:stream>

*** User 2024-03-27 08:22:47.344 ***🔗
alice_groupchat_message_is_stored_2994@localhost/res1 out
</stream:stream>

*** User 2024-03-27 08:22:47.345 ***🔗
alice_groupchat_message_is_stored_2994@localhost/res1 in
</stream:stream>
*** CT 2024-03-27 08:22:47.347 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4757.html



=== Ended at 2024-03-27 08:22:47
=== successfully completed test case
=== === Returned value: ok


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