=== Test case: muc_SUITE:stopped_rooms_history_is_available/1 (click for source code)

=== Config value:

    [{watchdog,<0.26276.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.muc_SUITE.logs/run.2022-01-25_16.30.36/muc_suite.stopped_rooms_history_is_available.34181.html"},
     {tc_group_properties,[{name,hibernation},
                           {repeat_until_all_ok,3},
                           parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/muc_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.muc_SUITE.logs/run.2022-01-25_16.30.36/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{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_muc_commands => [],mod_muc_light_commands => [],
        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.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:31:09


*** CT 2022-01-25 16:31:09.385 *** View log from node mongooseim@localhost when started mongooseim@localhost_5377.html
*** CT 2022-01-25 16:31:09.385 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2339.html

*** User 2022-01-25 16:31:09.417 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-25 16:31:09.418 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='47166689628755a1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:09.418 ***
alicE_stopped_rooms_history_is_available_1819@localhost/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-25 16:31:09.418 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N0b3BwZWRfcm9vbXNfaGlzdG9yeV9pc19hdmFpbGFibGVfMTgxOQBtYXR5Z3J5c2E=</auth>



*** User 2022-01-25 16:31:09.420 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:31:09.420 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-25 16:31:09.430 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4638cc9d9c7621d5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:09.431 ***
alicE_stopped_rooms_history_is_available_1819@localhost/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-25 16:31:09.431 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 out
<iq type='set' id='4c541bb76425cc8d0fa3cc1b8c355ef7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:31:09.432 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
<iq id='4c541bb76425cc8d0fa3cc1b8c355ef7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_stopped_rooms_history_is_available_1819@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:31:09.433 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 out
<iq type='set' id='7af01bfd4ef6c7ea002f058e9a0e0c03'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:09.438 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
<iq type='result' id='7af01bfd4ef6c7ea002f058e9a0e0c03'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:09.439 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 out
<presence/>



*** User 2022-01-25 16:31:09.452 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
<presence from='alicE_stopped_rooms_history_is_available_1819@localhost/res1' to='alice_stopped_rooms_history_is_available_1819@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:31:09.453 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-25 16:31:09.454 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c032bcd911338b66' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:09.454 ***
bOb_stopped_rooms_history_is_available_1819@localhost/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-25 16:31:09.454 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdG9wcGVkX3Jvb21zX2hpc3RvcnlfaXNfYXZhaWxhYmxlXzE4MTkAbWFrcm9saWth</auth>



*** User 2022-01-25 16:31:09.456 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:31:09.456 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-25 16:31:09.456 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bbb64e92be24dcc3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:31:09.456 ***
bOb_stopped_rooms_history_is_available_1819@localhost/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-25 16:31:09.456 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 out
<iq type='set' id='d87dc33d3bd4e68f95338517214a0e23'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:31:09.457 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<iq id='d87dc33d3bd4e68f95338517214a0e23' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_stopped_rooms_history_is_available_1819@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:31:09.457 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 out
<iq type='set' id='12a55de5a1531572877ea004e12ce92f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:09.457 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<iq type='result' id='12a55de5a1531572877ea004e12ce92f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:09.457 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 out
<presence/>



*** User 2022-01-25 16:31:09.459 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<presence from='bOb_stopped_rooms_history_is_available_1819@localhost/res1' to='bob_stopped_rooms_history_is_available_1819@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:31:09.459 ***
RoomJID {jid,<<"room-b6e34e861b">>,<<"muc.localhost">>,<<>>,
             <<"room-b6e34e861b">>,<<"muc.localhost">>,<<>>}

*** User 2022-01-25 16:31:09.459 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 out
<presence to='room-b6e34e861b@muc.localhost/alicE_stopped_rooms_history_is_available_1819'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-01-25 16:31:09.464 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
<presence from='room-b6e34e861b@muc.localhost/alicE_stopped_rooms_history_is_available_1819' to='alicE_stopped_rooms_history_is_available_1819@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alicE_stopped_rooms_history_is_available_1819@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-01-25 16:31:09.464 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
<message from='room-b6e34e861b@muc.localhost' to='alicE_stopped_rooms_history_is_available_1819@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-01-25 16:31:09.464 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 out
<iq type='set' id='7246890e822384098ff126d393a419fa' to='room-b6e34e861b@muc.localhost'>
	<query xmlns='http://jabber.org/protocol/muc#owner'>
		<x xmlns='jabber:x:data' type='submit'>
			<field type='hidden' var='FORM_TYPE'>
				<value>http://jabber.org/protocol/muc#roomconfig</value>
			</field>
			<field type='boolean' var='muc#roomconfig_persistentroom'>
				<value>1</value>
			</field>
		</x>
	</query>
</iq>



*** User 2022-01-25 16:31:09.468 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
<iq from='room-b6e34e861b@muc.localhost' to='alicE_stopped_rooms_history_is_available_1819@localhost/res1' id='7246890e822384098ff126d393a419fa' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>



*** User 2022-01-25 16:31:11.488 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 out
<presence to='room-b6e34e861b@muc.localhost/bOb_stopped_rooms_history_is_available_1819'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-01-25 16:31:11.491 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<presence from='room-b6e34e861b@muc.localhost/alicE_stopped_rooms_history_is_available_1819' to='bOb_stopped_rooms_history_is_available_1819@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-01-25 16:31:11.491 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<presence from='room-b6e34e861b@muc.localhost/bOb_stopped_rooms_history_is_available_1819' to='bOb_stopped_rooms_history_is_available_1819@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-01-25 16:31:11.491 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<message from='room-b6e34e861b@muc.localhost' to='bOb_stopped_rooms_history_is_available_1819@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-01-25 16:31:11.491 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
<presence from='room-b6e34e861b@muc.localhost/bOb_stopped_rooms_history_is_available_1819' to='alicE_stopped_rooms_history_is_available_1819@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bOb_stopped_rooms_history_is_available_1819@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-01-25 16:31:13.513 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 out
<message to='room-b6e34e861b@muc.localhost' type='groupchat'>
	<body>Restorable message</body>
</message>



*** User 2022-01-25 16:31:13.528 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<message from='room-b6e34e861b@muc.localhost/alicE_stopped_rooms_history_is_available_1819' to='bOb_stopped_rooms_history_is_available_1819@localhost/res1' xml:lang='en' type='groupchat'>
	<body>Restorable message</body>
	<stanza-id by='room-b6e34e861b@muc.localhost' id='BLJAHS22UC01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-25 16:31:13.528 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
<message from='room-b6e34e861b@muc.localhost/alicE_stopped_rooms_history_is_available_1819' to='alicE_stopped_rooms_history_is_available_1819@localhost/res1' xml:lang='en' type='groupchat'>
	<body>Restorable message</body>
	<stanza-id by='room-b6e34e861b@muc.localhost' id='BLJAHS22UC01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-25 16:31:15.555 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 out
<presence type='unavailable' to='room-b6e34e861b@muc.localhost/alicE_stopped_rooms_history_is_available_1819'/>



*** User 2022-01-25 16:31:15.556 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
<presence from='room-b6e34e861b@muc.localhost/alicE_stopped_rooms_history_is_available_1819' to='alicE_stopped_rooms_history_is_available_1819@localhost/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='none'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-01-25 16:31:15.556 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<presence from='room-b6e34e861b@muc.localhost/alicE_stopped_rooms_history_is_available_1819' to='bOb_stopped_rooms_history_is_available_1819@localhost/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='none'/>
	</x>
</presence>



*** User 2022-01-25 16:31:15.556 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 out
<presence type='unavailable' to='room-b6e34e861b@muc.localhost/bOb_stopped_rooms_history_is_available_1819'/>



*** User 2022-01-25 16:31:15.557 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<presence from='room-b6e34e861b@muc.localhost/bOb_stopped_rooms_history_is_available_1819' to='bOb_stopped_rooms_history_is_available_1819@localhost/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='none'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-01-25 16:31:20.317 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 out
<iq type='set' id='2d41f5f0580c24f5181e335fbbcf134c' to='room-b6e34e861b@muc.localhost'>
	<query xmlns='urn:xmpp:mam:1' queryid='q1'>
		<x xmlns='jabber:x:data'/>
	</query>
</iq>



*** User 2022-01-25 16:31:20.321 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<message from='room-b6e34e861b@muc.localhost' to='bOb_stopped_rooms_history_is_available_1819@localhost/res1' id='985b5b5b-ff0c-4cab-9359-4854364a7585'>
	<result queryid='q1' xmlns='urn:xmpp:mam:1' id='BLJAHS22UC01'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T16:27:17Z' from='room-b6e34e861b@muc.localhost/alicE_stopped_rooms_history_is_available_1819'/>
			<message from='room-b6e34e861b@muc.localhost/alicE_stopped_rooms_history_is_available_1819' xmlns='jabber:client' xml:lang='en' type='groupchat'>
				<body>Restorable message</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-25 16:31:20.321 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
<iq from='room-b6e34e861b@muc.localhost' to='bOb_stopped_rooms_history_is_available_1819@localhost/res1' id='2d41f5f0580c24f5181e335fbbcf134c' type='result'>
	<fin xmlns='urn:xmpp:mam:1' complete='true'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first index='0'>BLJAHS22UC01</first>
			<last>BLJAHS22UC01</last>
			<count>1</count>
		</set>
	</fin>
</iq>



*** User 2022-01-25 16:31:20.322 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:31:20.322 ***
bOb_stopped_rooms_history_is_available_1819@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:31:20.322 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:31:20.322 ***
alicE_stopped_rooms_history_is_available_1819@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:31:20.332 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2339.html
*** CT 2022-01-25 16:31:20.334 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5377.html



=== Ended at 2022-01-25 16:31:20
=== successfully completed test case
=== === Returned value: ok