=== Test case: mam_SUITE:muc_light_chat_markers_are_archived_if_enabled/1 (click for source code)

=== Config value:

    [{basic_group,muc_light},
     {configuration,rdbms_mnesia},
     {archive_groupchats,false},
     {muc_domain,<<"muclight2.@HOST@">>},
     {watchdog,<0.31783.0>},
     {mod_offline_loaded,false},
     {escalus_user_db,{module,escalus_ejabberd}},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/mam_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mam_SUITE.logs/run.2022-01-27_12.31.28/mam_suite.muc_light_chat_markers_are_archived_if_enabled.64386.html"},
     {tc_group_properties,[{name,rdbms_mnesia_muc_light}]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/mam_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.mam_SUITE.logs/run.2022-01-27_12.31.28/log_private/"},
     {config_backup,#{[shaper,fast] => {ok,#{max_rate => 50000}},
                      [shaper,mam_shaper] => {ok,#{max_rate => 1}},
                      [shaper,normal] => {ok,#{max_rate => 1000}},
                      [{access,<<"test type">>},max_user_sessions] =>
                          {ok,[#{acl => all,value => 10}]}}},
     {{saved_modules,mongooseim@localhost,<<"test type">>},
      #{mod_adhoc => [],mod_amp => [],mod_bosh => [],
        mod_cache_users => [{number_of_segments,5},{time_to_live,2}],
        mod_carboncopy => [],mod_commands => [],
        mod_disco => [{users_can_see_hidden_services,false}],
        mod_mam => [{archive_groupchats,false}],
        mod_mam_mnesia_prefs => [{pm,true}],
        mod_mam_muc =>
            [{host,{prefix,<<"muclight2.">>}},{archive_groupchats,false}],
        mod_mam_muc_rdbms_arch => [],mod_mam_rdbms_arch => [],
        mod_mam_rdbms_arch_async =>
            [{muc,[{flush_interval,1}]},{pm,[{flush_interval,1}]}],
        mod_mam_rdbms_user => [{muc,true},{pm,true}],
        mod_muc =>
            [{host,{prefix,<<"groupchats.">>}},
             {backend,rdbms},
             {hibernate_timeout,2000},
             {hibernated_room_check_interval,1000},
             {hibernated_room_timeout,2000},
             {access,muc},
             {access_create,muc_create}],
        mod_muc_commands => [],
        mod_muc_light => [{host,{prefix,<<"muclight2.">>}}],
        mod_muc_light_commands => [],
        mod_muc_log => [{outdir,"/tmp/muclogs"},{access_log,muc}],
        mod_register =>
            [{access,register},
             {ip_access,[{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}]},
             {welcome_message,{[],[]}}],
        mod_roster => [{backend,rdbms}],
        mod_sic => [],mod_stream_management => [],
        mod_vcard => [{backend,rdbms},{host,{prefix,<<"vjud.">>}}]}},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]},
                     {kate,[{username,<<"kate">>},
                            {server,<<"domain.example.com">>},
                            {host,<<"localhost">>},
                            {password,<<"makrowe;p">>}]},
                     {carol,[{username,<<"carol">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"jinglebells">>},
                             {transport,escalus_bosh},
                             {path,<<"/http-bind">>},
                             {port,5280}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:32:11


*** CT 2022-01-27 12:32:11.359 *** View log from node mongooseim@localhost when started mongooseim@localhost_1370.html
*** CT 2022-01-27 12:32:11.360 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_538.html

*** User 2022-01-27 12:32:11.367 ***
alicE@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 2022-01-27 12:32:11.368 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8e6fb15760d36c9f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:32:11.368 ***
alicE@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 12:32:11.368 ***
alicE@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 12:32:11.370 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:32:11.370 ***
alicE@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 2022-01-27 12:32:11.371 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a425bc6b7c76b705' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:32:11.371 ***
alicE@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 12:32:11.371 ***
alicE@domain.example.com/res1 out
<iq type='set' id='5dfaea3f1e65b216c42071184640b899'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:32:11.371 ***
alicE@domain.example.com/res1 in
<iq id='5dfaea3f1e65b216c42071184640b899' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:32:11.371 ***
alicE@domain.example.com/res1 out
<iq type='set' id='847dd1322cf7fafaf51ac15fb421e25f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:32:11.372 ***
alicE@domain.example.com/res1 in
<iq type='result' id='847dd1322cf7fafaf51ac15fb421e25f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:32:11.372 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:32:11.375 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:32:11.376 ***
bOb@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 2022-01-27 12:32:11.376 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e30546dbf8bd346' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:32:11.376 ***
bOb@domain.example.com/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 12:32:11.376 ***
bOb@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 12:32:11.377 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:32:11.377 ***
bOb@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 2022-01-27 12:32:11.378 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0cc75153868e3769' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:32:11.378 ***
bOb@domain.example.com/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-01-27 12:32:11.378 ***
bOb@domain.example.com/res1 out
<iq type='set' id='d12d9eddc3b6ec5b26f5b7a8b3581150'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:32:11.378 ***
bOb@domain.example.com/res1 in
<iq id='d12d9eddc3b6ec5b26f5b7a8b3581150' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:32:11.378 ***
bOb@domain.example.com/res1 out
<iq type='set' id='28cb0111733876f7d16391d91dd818fa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:32:11.378 ***
bOb@domain.example.com/res1 in
<iq type='result' id='28cb0111733876f7d16391d91dd818fa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:32:11.378 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:32:11.380 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:32:11.380 ***
alicE@domain.example.com/res1 out
<iq type='set' id='aa81bdc0504f7e66e34799130e72899f' to='testroom_markers@muclight2.domain.example.com'>
	<query xmlns='urn:xmpp:muclight:0#create'>
		<configuration/>
		<occupants>
			<user affiliation='member'>bob@domain.example.com</user>
		</occupants>
	</query>
</iq>



*** User 2022-01-27 12:32:11.386 ***
alicE@domain.example.com/res1 in
<message from='testroom_markers@muclight2.domain.example.com' to='alice@domain.example.com' id='aa81bdc0504f7e66e34799130e72899f' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-286731-381462</version>
		<user affiliation='owner'>alice@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-01-27 12:32:11.386 ***
bOb@domain.example.com/res1 in
<message from='testroom_markers@muclight2.domain.example.com' to='bob@domain.example.com' id='aa81bdc0504f7e66e34799130e72899f' type='groupchat'>
	<x xmlns='urn:xmpp:muclight:0#affiliations'>
		<version>1643-286731-381462</version>
		<user affiliation='member'>bob@domain.example.com</user>
	</x>
	<body/>
</message>



*** User 2022-01-27 12:32:11.386 ***
alicE@domain.example.com/res1 in
<iq from='testroom_markers@muclight2.domain.example.com' to='alicE@domain.example.com/res1' id='aa81bdc0504f7e66e34799130e72899f' type='result'/>



*** User 2022-01-27 12:32:11.386 ***
alicE@domain.example.com/res1 out
<message to='testroom_markers@muclight2.domain.example.com' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='some-fake-id'/>
</message>



*** User 2022-01-27 12:32:11.395 ***
alicE@domain.example.com/res1 in
<message from='testroom_markers@muclight2.domain.example.com/alice@domain.example.com' to='alice@domain.example.com' id='1643-286731-387226' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='some-fake-id'/>
	<stanza-id by='testroom_markers@muclight2.domain.example.com' id='BLKFG7HN1KO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-27 12:32:11.395 ***
bOb@domain.example.com/res1 in
<message from='testroom_markers@muclight2.domain.example.com/alice@domain.example.com' to='bob@domain.example.com' id='1643-286731-387226' type='groupchat'>
	<received xmlns='urn:xmpp:chat-markers:0' id='some-fake-id'/>
	<stanza-id by='testroom_markers@muclight2.domain.example.com' id='BLKFG7HN1KO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-27 12:32:11.395 ***
alicE@domain.example.com/res1 out
<message to='testroom_markers@muclight2.domain.example.com' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='some-fake-id'/>
</message>



*** User 2022-01-27 12:32:11.408 ***
alicE@domain.example.com/res1 in
<message from='testroom_markers@muclight2.domain.example.com/alice@domain.example.com' to='alice@domain.example.com' id='1643-286731-395965' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='some-fake-id'/>
	<stanza-id by='testroom_markers@muclight2.domain.example.com' id='BLKFG7HP60G1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-27 12:32:11.408 ***
bOb@domain.example.com/res1 in
<message from='testroom_markers@muclight2.domain.example.com/alice@domain.example.com' to='bob@domain.example.com' id='1643-286731-395965' type='groupchat'>
	<displayed xmlns='urn:xmpp:chat-markers:0' id='some-fake-id'/>
	<stanza-id by='testroom_markers@muclight2.domain.example.com' id='BLKFG7HP60G1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-27 12:32:11.408 ***
alicE@domain.example.com/res1 out
<message to='testroom_markers@muclight2.domain.example.com' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='some-fake-id'/>
</message>


Could not find element wait_for_parallel_writer in Config.


*** User 2022-01-27 12:32:11.419 ***
alicE@domain.example.com/res1 in
<message from='testroom_markers@muclight2.domain.example.com/alice@domain.example.com' to='alice@domain.example.com' id='1643-286731-408639' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='some-fake-id'/>
	<stanza-id by='testroom_markers@muclight2.domain.example.com' id='BLKFG7HS8RG1' xmlns='urn:xmpp:sid:0'/>
</message>


Could not find element archive_wait in Config.

Could not find element props in Config.


*** User 2022-01-27 12:32:11.419 ***
bOb@domain.example.com/res1 in
<message from='testroom_markers@muclight2.domain.example.com/alice@domain.example.com' to='bob@domain.example.com' id='1643-286731-408639' type='groupchat'>
	<acknowledged xmlns='urn:xmpp:chat-markers:0' id='some-fake-id'/>
	<stanza-id by='testroom_markers@muclight2.domain.example.com' id='BLKFG7HS8RG1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-27 12:32:11.420 ***
bOb@domain.example.com/res1 out
<iq type='set' id='cca2f8d1956acd998efd5cf868900c9a' to='testroom_markers@muclight2.domain.example.com'>
	<query xmlns='urn:xmpp:mam:1' queryid='q'>
		<x xmlns='jabber:x:data'/>
	</query>
</iq>



*** User 2022-01-27 12:32:11.423 ***
bOb@domain.example.com/res1 in
<message from='testroom_markers@muclight2.domain.example.com' to='bOb@domain.example.com/res1' id='6f17465e-e0ad-484c-bb2a-3000daa9c453'>
	<result queryid='q' xmlns='urn:xmpp:mam:1' id='BLKFG7HLG401'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T12:32:11Z' from='testroom_markers@muclight2.domain.example.com'/>
			<message from='testroom_markers@muclight2.domain.example.com' xmlns='jabber:client' id='aa81bdc0504f7e66e34799130e72899f' type='groupchat'>
				<x xmlns='urn:xmpp:muclight:0#affiliations'>
					<user affiliation='owner'>alice@domain.example.com</user>
					<user affiliation='member'>bob@domain.example.com</user>
				</x>
				<body/>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 12:32:11.423 ***
bOb@domain.example.com/res1 in
<message from='testroom_markers@muclight2.domain.example.com' to='bOb@domain.example.com/res1' id='8105ba5b-b398-43ea-b993-58c6491ad3f9'>
	<result queryid='q' xmlns='urn:xmpp:mam:1' id='BLKFG7HN1KO1'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T12:32:11Z' from='testroom_markers@muclight2.domain.example.com/alice@domain.example.com'/>
			<message from='testroom_markers@muclight2.domain.example.com/alice@domain.example.com' xmlns='jabber:client' id='1643-286731-387226' type='groupchat'>
				<received xmlns='urn:xmpp:chat-markers:0' id='some-fake-id'/>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 12:32:11.423 ***
bOb@domain.example.com/res1 in
<message from='testroom_markers@muclight2.domain.example.com' to='bOb@domain.example.com/res1' id='f409aa34-f58a-4d32-b83a-6ad01d6898a7'>
	<result queryid='q' xmlns='urn:xmpp:mam:1' id='BLKFG7HP60G1'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T12:32:11Z' from='testroom_markers@muclight2.domain.example.com/alice@domain.example.com'/>
			<message from='testroom_markers@muclight2.domain.example.com/alice@domain.example.com' xmlns='jabber:client' id='1643-286731-395965' type='groupchat'>
				<displayed xmlns='urn:xmpp:chat-markers:0' id='some-fake-id'/>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 12:32:11.423 ***
bOb@domain.example.com/res1 in
<message from='testroom_markers@muclight2.domain.example.com' to='bOb@domain.example.com/res1' id='9f735ebb-3b16-4520-a148-d7374f8e9130'>
	<result queryid='q' xmlns='urn:xmpp:mam:1' id='BLKFG7HS8RG1'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T12:32:11Z' from='testroom_markers@muclight2.domain.example.com/alice@domain.example.com'/>
			<message from='testroom_markers@muclight2.domain.example.com/alice@domain.example.com' xmlns='jabber:client' id='1643-286731-408639' type='groupchat'>
				<acknowledged xmlns='urn:xmpp:chat-markers:0' id='some-fake-id'/>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 12:32:11.423 ***
bOb@domain.example.com/res1 in
<iq from='testroom_markers@muclight2.domain.example.com' to='bOb@domain.example.com/res1' id='cca2f8d1956acd998efd5cf868900c9a' type='result'>
	<fin xmlns='urn:xmpp:mam:1' complete='true'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first index='0'>BLKFG7HLG401</first>
			<last>BLKFG7HS8RG1</last>
			<count>4</count>
		</set>
	</fin>
</iq>



*** User 2022-01-27 12:32:11.423 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:32:11.423 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:32:11.423 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:32:11.424 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:32:11.427 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_538.html
*** CT 2022-01-27 12:32:11.428 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1370.html



=== Ended at 2022-01-27 12:32:11
=== successfully completed test case
=== === Returned value: ok


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