=== Test case: muc_SUITE:hibernated_room_can_be_queried_for_archive/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.hibernated_room_can_be_queried_for_archive.33797.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.381 *** View log from node mongooseim@localhost when started mongooseim@localhost_5377.html
*** CT 2022-01-25 16:31:09.381 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2339.html

*** User 2022-01-25 16:31:09.418 ***
alicE_hibernated_room_can_be_queried_for_archive_1817@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_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e48499f8725d67c' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-01-25 16:31:09.419 ***
alicE_hibernated_room_can_be_queried_for_archive_1817@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.420 ***
alicE_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='95d84eb6dbca0ebd' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-01-25 16:31:09.430 ***
alicE_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 out
<iq type='set' id='145cb66863e2fe7d1b3db5c29d3c4971'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:09.430 ***
alicE_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 in
<iq type='result' id='145cb66863e2fe7d1b3db5c29d3c4971'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



*** User 2022-01-25 16:31:09.439 ***
bOb_hibernated_room_can_be_queried_for_archive_1817@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.440 ***
bOb_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0f03678c4aa64a49' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-01-25 16:31:09.448 ***
bOb_hibernated_room_can_be_queried_for_archive_1817@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.448 ***
bOb_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3fa8ce22192fad9f' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-01-25 16:31:09.449 ***
bOb_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 out
<iq type='set' id='19261d222bcb6bff3d85d585184d4c6a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:31:09.449 ***
bOb_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 in
<iq type='result' id='19261d222bcb6bff3d85d585184d4c6a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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

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



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



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



*** User 2022-01-25 16:31:09.456 ***
alicE_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 out
<iq type='set' id='8bb5c1e56ccaa72c9f088075291e6308' to='room-eb3387aee9@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_membersonly'>
				<value>0</value>
			</field>
		</x>
	</query>
</iq>



*** User 2022-01-25 16:31:09.456 ***
alicE_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 in
<iq from='room-eb3387aee9@muc.localhost' to='alicE_hibernated_room_can_be_queried_for_archive_1817@localhost/res1' id='8bb5c1e56ccaa72c9f088075291e6308' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>



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



*** User 2022-01-25 16:31:11.479 ***
bOb_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 in
<presence from='room-eb3387aee9@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1817' to='bOb_hibernated_room_can_be_queried_for_archive_1817@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.479 ***
bOb_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 in
<presence from='room-eb3387aee9@muc.localhost/bOb_hibernated_room_can_be_queried_for_archive_1817' to='bOb_hibernated_room_can_be_queried_for_archive_1817@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.479 ***
bOb_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 in
<message from='room-eb3387aee9@muc.localhost' to='bOb_hibernated_room_can_be_queried_for_archive_1817@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



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



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



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



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



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



*** User 2022-01-25 16:31:15.535 ***
bOb_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 in
<message from='room-eb3387aee9@muc.localhost' to='bOb_hibernated_room_can_be_queried_for_archive_1817@localhost/res1' id='4e1933ff-f9e4-4d30-9760-b63bb51ea124'>
	<result queryid='q1' xmlns='urn:xmpp:mam:1' id='BLJAHS22UBG1'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-25T16:27:17Z' from='room-eb3387aee9@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1817'/>
			<message from='room-eb3387aee9@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1817' xmlns='jabber:client' xml:lang='en' type='groupchat'>
				<body>Restorable message</body>
			</message>
		</forwarded>
	</result>
</message>



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



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

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

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

*** User 2022-01-25 16:31:17.557 ***
alicE_hibernated_room_can_be_queried_for_archive_1817@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:31:17.560 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2339.html
*** CT 2022-01-25 16:31:17.561 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5377.html



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