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

=== Config value:

    [{watchdog,<0.18832.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.muc_SUITE.logs/run.2022-02-02_15.13.05/muc_suite.stopped_rooms_history_is_available.126210.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@7a520fcf4274.2022-02-02_15.07.36/big_tests.tests.muc_SUITE.logs/run.2022-02-02_15.13.05/log_private/"},
     {{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_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@7a520fcf4274.2022-02-02_15.07.36"

=== Started at 2022-02-02 15:13:37


*** CT 2022-02-02 15:13:37.890 *** View log from node mongooseim@localhost when started mongooseim@localhost_2236.html
*** CT 2022-02-02 15:13:37.890 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_591.html

*** User 2022-02-02 15:13:37.918 ***
alicE_stopped_rooms_history_is_available_1501@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-02-02 15:13:37.918 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a416735873d35f89' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:13:37.919 ***
alicE_stopped_rooms_history_is_available_1501@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-02-02 15:13:37.919 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N0b3BwZWRfcm9vbXNfaGlzdG9yeV9pc19hdmFpbGFibGVfMTUwMQBtYXR5Z3J5c2E=</auth>



*** User 2022-02-02 15:13:37.920 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:13:37.920 ***
alicE_stopped_rooms_history_is_available_1501@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-02-02 15:13:37.920 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='40a524e6e26c8e00' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:13:37.920 ***
alicE_stopped_rooms_history_is_available_1501@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-02-02 15:13:37.920 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<iq type='set' id='a13e1b8a93656691bcff1cd59f19c8d2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:13:37.921 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<iq id='a13e1b8a93656691bcff1cd59f19c8d2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:13:37.921 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<iq type='set' id='b2b131bfda8044320c25c858b82ea328'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:13:37.922 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<iq type='result' id='b2b131bfda8044320c25c858b82ea328'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:13:37.922 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:13:37.924 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<presence from='alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1' to='alice_stopped_rooms_history_is_available_1501@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:13:37.924 ***
bOb_stopped_rooms_history_is_available_1501@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-02-02 15:13:37.925 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='44aa296f36e51c1f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:13:37.925 ***
bOb_stopped_rooms_history_is_available_1501@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-02-02 15:13:37.925 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdG9wcGVkX3Jvb21zX2hpc3RvcnlfaXNfYXZhaWxhYmxlXzE1MDEAbWFrcm9saWth</auth>



*** User 2022-02-02 15:13:37.926 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-02 15:13:37.926 ***
bOb_stopped_rooms_history_is_available_1501@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-02-02 15:13:37.926 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0992886edaa553b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-02-02 15:13:37.927 ***
bOb_stopped_rooms_history_is_available_1501@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-02-02 15:13:37.927 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<iq type='set' id='706b30d61c12171f14498e34f4ec0589'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-02 15:13:37.927 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<iq id='706b30d61c12171f14498e34f4ec0589' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-02-02 15:13:37.927 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<iq type='set' id='ba9a26945e8374897f3e4f36a92daac7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:13:37.928 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<iq type='result' id='ba9a26945e8374897f3e4f36a92daac7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-02 15:13:37.928 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<presence/>



*** User 2022-02-02 15:13:37.930 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<presence from='bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1' to='bob_stopped_rooms_history_is_available_1501@domain.example.com/res1' xml:lang='en'/>



*** User 2022-02-02 15:13:37.930 ***
RoomJID {jid,<<"room-5a342101f6">>,<<"groupchats.domain.example.com">>,<<>>,
             <<"room-5a342101f6">>,<<"groupchats.domain.example.com">>,<<>>}

*** User 2022-02-02 15:13:37.930 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<presence to='room-5a342101f6@groupchats.domain.example.com/alicE_stopped_rooms_history_is_available_1501'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-02-02 15:13:37.962 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<presence from='room-5a342101f6@groupchats.domain.example.com/alicE_stopped_rooms_history_is_available_1501' to='alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-02-02 15:13:37.962 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<message from='room-5a342101f6@groupchats.domain.example.com' to='alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-02-02 15:13:37.962 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<iq type='set' id='76b057f41ecdb724bdcc3e4f6ddcdf5c' to='room-5a342101f6@groupchats.domain.example.com'>
	<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-02-02 15:13:37.964 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<iq from='room-5a342101f6@groupchats.domain.example.com' to='alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1' id='76b057f41ecdb724bdcc3e4f6ddcdf5c' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>



*** User 2022-02-02 15:13:39.985 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<presence to='room-5a342101f6@groupchats.domain.example.com/bOb_stopped_rooms_history_is_available_1501'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-02-02 15:13:39.986 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<presence from='room-5a342101f6@groupchats.domain.example.com/alicE_stopped_rooms_history_is_available_1501' to='bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-02-02 15:13:39.987 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<presence from='room-5a342101f6@groupchats.domain.example.com/bOb_stopped_rooms_history_is_available_1501' to='bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='none' role='participant'/>
		<status code='110'/>
	</x>
</presence>



*** User 2022-02-02 15:13:39.987 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<message from='room-5a342101f6@groupchats.domain.example.com' to='bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-02-02 15:13:39.987 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<presence from='room-5a342101f6@groupchats.domain.example.com/bOb_stopped_rooms_history_is_available_1501' to='alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-02-02 15:13:42.007 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<message to='room-5a342101f6@groupchats.domain.example.com' type='groupchat'>
	<body>Restorable message</body>
</message>



*** User 2022-02-02 15:13:42.012 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<message from='room-5a342101f6@groupchats.domain.example.com/alicE_stopped_rooms_history_is_available_1501' to='bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1' xml:lang='en' type='groupchat'>
	<body>Restorable message</body>
	<stanza-id by='room-5a342101f6@groupchats.domain.example.com' id='BLOADUD9QF01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-02-02 15:13:42.012 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<message from='room-5a342101f6@groupchats.domain.example.com/alicE_stopped_rooms_history_is_available_1501' to='alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1' xml:lang='en' type='groupchat'>
	<body>Restorable message</body>
	<stanza-id by='room-5a342101f6@groupchats.domain.example.com' id='BLOADUD9QF01' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-02-02 15:13:44.033 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<presence type='unavailable' to='room-5a342101f6@groupchats.domain.example.com/alicE_stopped_rooms_history_is_available_1501'/>



*** User 2022-02-02 15:13:44.034 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<presence from='room-5a342101f6@groupchats.domain.example.com/alicE_stopped_rooms_history_is_available_1501' to='alicE_stopped_rooms_history_is_available_1501@domain.example.com/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-02-02 15:13:44.034 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<presence from='room-5a342101f6@groupchats.domain.example.com/alicE_stopped_rooms_history_is_available_1501' to='bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='none'/>
	</x>
</presence>



*** User 2022-02-02 15:13:44.034 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<presence type='unavailable' to='room-5a342101f6@groupchats.domain.example.com/bOb_stopped_rooms_history_is_available_1501'/>



*** User 2022-02-02 15:13:44.035 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<presence from='room-5a342101f6@groupchats.domain.example.com/bOb_stopped_rooms_history_is_available_1501' to='bOb_stopped_rooms_history_is_available_1501@domain.example.com/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-02-02 15:13:48.825 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
<iq type='set' id='e5345d53af4223f83bd49282336e03ed' to='room-5a342101f6@groupchats.domain.example.com'>
	<query xmlns='urn:xmpp:mam:1' queryid='q1'>
		<x xmlns='jabber:x:data'/>
	</query>
</iq>



*** User 2022-02-02 15:13:48.827 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<message from='room-5a342101f6@groupchats.domain.example.com' to='bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1' id='43010009-c3a3-4d55-99b5-7338e9f0a694'>
	<result queryid='q1' xmlns='urn:xmpp:mam:1' id='BLOADUD9QF01'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:11:45Z' from='room-5a342101f6@groupchats.domain.example.com/alicE_stopped_rooms_history_is_available_1501'/>
			<message from='room-5a342101f6@groupchats.domain.example.com/alicE_stopped_rooms_history_is_available_1501' xmlns='jabber:client' xml:lang='en' type='groupchat'>
				<body>Restorable message</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-02-02 15:13:48.827 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
<iq from='room-5a342101f6@groupchats.domain.example.com' to='bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1' id='e5345d53af4223f83bd49282336e03ed' type='result'>
	<fin xmlns='urn:xmpp:mam:1' complete='true'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first index='0'>BLOADUD9QF01</first>
			<last>BLOADUD9QF01</last>
			<count>1</count>
		</set>
	</fin>
</iq>



*** User 2022-02-02 15:13:48.828 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:13:48.828 ***
bOb_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
</stream:stream>

*** User 2022-02-02 15:13:48.828 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 out
</stream:stream>

*** User 2022-02-02 15:13:48.828 ***
alicE_stopped_rooms_history_is_available_1501@domain.example.com/res1 in
</stream:stream>
*** CT 2022-02-02 15:13:48.832 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_591.html
*** CT 2022-02-02 15:13:48.833 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2237.html



=== Ended at 2022-02-02 15:13:48
=== successfully completed test case
=== === Returned value: ok