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

=== Config value:

    [{watchdog,<0.26837.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.muc_SUITE.logs/run.2022-01-27_15.33.07/muc_suite.hibernated_room_can_be_queried_for_archive.68612.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.muc_SUITE.logs/run.2022-01-27_15.33.07/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@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:33:39


*** CT 2022-01-27 15:33:39.937 *** View log from node mongooseim@localhost when started mongooseim@localhost_5364.html
*** CT 2022-01-27 15:33:39.938 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2348.html

*** User 2022-01-27 15:33:39.961 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@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-27 15:33:39.961 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='64f1a9faaa3c2ce8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:39.961 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@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-27 15:33:39.961 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2hpYmVybmF0ZWRfcm9vbV9jYW5fYmVfcXVlcmllZF9mb3JfYXJjaGl2ZV8xNzU4AG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:33:39.963 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:39.963 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@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-27 15:33:39.963 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca70620b8a2a35b4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:39.963 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@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-27 15:33:39.963 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<iq type='set' id='47d49b498138a4c9853753aeb25283c4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:39.964 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<iq id='47d49b498138a4c9853753aeb25283c4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:39.964 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<iq type='set' id='13620eeb1abb4f23957c06dad85f9d69'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:39.964 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<iq type='result' id='13620eeb1abb4f23957c06dad85f9d69'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:39.964 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:39.967 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<presence from='alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' to='alice_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:39.967 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@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-27 15:33:39.968 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e6f318e73339945' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:39.968 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@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-27 15:33:39.968 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9oaWJlcm5hdGVkX3Jvb21fY2FuX2JlX3F1ZXJpZWRfZm9yX2FyY2hpdmVfMTc1OABtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:33:39.969 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:33:39.969 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@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-27 15:33:39.970 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2151c730f701a301' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:39.970 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@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-27 15:33:39.970 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<iq type='set' id='cf7d2558a1dee40edce9c53571d3bc6b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:39.970 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<iq id='cf7d2558a1dee40edce9c53571d3bc6b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:39.970 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<iq type='set' id='f45d06aee80aed6dcc35ae84b515bdb5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:39.970 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<iq type='result' id='f45d06aee80aed6dcc35ae84b515bdb5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:39.971 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:39.975 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<presence from='bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' to='bob_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:39.976 ***
RoomJID {jid,<<"room-92daaa19b3">>,<<"muc.localhost">>,<<>>,
             <<"room-92daaa19b3">>,<<"muc.localhost">>,<<>>}

*** User 2022-01-27 15:33:39.976 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<presence to='room-92daaa19b3@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1758'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-01-27 15:33:39.978 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<presence from='room-92daaa19b3@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1758' to='alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-01-27 15:33:39.978 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<message from='room-92daaa19b3@muc.localhost' to='alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-01-27 15:33:39.978 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<iq type='set' id='0b1d93e2923738813aaebf7e2cdbe952' to='room-92daaa19b3@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-27 15:33:39.979 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<iq from='room-92daaa19b3@muc.localhost' to='alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' id='0b1d93e2923738813aaebf7e2cdbe952' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>



*** User 2022-01-27 15:33:41.999 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<presence to='room-92daaa19b3@muc.localhost/bOb_hibernated_room_can_be_queried_for_archive_1758'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-01-27 15:33:42.000 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<presence from='room-92daaa19b3@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1758' to='bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-01-27 15:33:42.001 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<presence from='room-92daaa19b3@muc.localhost/bOb_hibernated_room_can_be_queried_for_archive_1758' to='bOb_hibernated_room_can_be_queried_for_archive_1758@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-27 15:33:42.001 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<message from='room-92daaa19b3@muc.localhost' to='bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-01-27 15:33:42.001 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<presence from='room-92daaa19b3@muc.localhost/bOb_hibernated_room_can_be_queried_for_archive_1758' to='alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-01-27 15:33:44.020 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<message to='room-92daaa19b3@muc.localhost' type='groupchat'>
	<body>Restorable message</body>
</message>



*** User 2022-01-27 15:33:44.045 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<message from='room-92daaa19b3@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1758' to='bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' xml:lang='en' type='groupchat'>
	<body>Restorable message</body>
	<stanza-id by='room-92daaa19b3@muc.localhost' id='BLKHVOH6OQO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-27 15:33:44.045 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<message from='room-92daaa19b3@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1758' to='alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' xml:lang='en' type='groupchat'>
	<body>Restorable message</body>
	<stanza-id by='room-92daaa19b3@muc.localhost' id='BLKHVOH6OQO1' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-01-27 15:33:46.065 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
<iq type='set' id='56fa981687ba240ae735bbedab01017d' to='room-92daaa19b3@muc.localhost'>
	<query xmlns='urn:xmpp:mam:1' queryid='q1'>
		<x xmlns='jabber:x:data'/>
	</query>
</iq>



*** User 2022-01-27 15:33:46.068 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<message from='room-92daaa19b3@muc.localhost' to='bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' id='34a5537d-7b48-487b-b400-6b23c6f96621'>
	<result queryid='q1' xmlns='urn:xmpp:mam:1' id='BLKHVOH6OQO1'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:30:05Z' from='room-92daaa19b3@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1758'/>
			<message from='room-92daaa19b3@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1758' xmlns='jabber:client' xml:lang='en' type='groupchat'>
				<body>Restorable message</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-01-27 15:33:46.068 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
<iq from='room-92daaa19b3@muc.localhost' to='bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1' id='56fa981687ba240ae735bbedab01017d' type='result'>
	<fin xmlns='urn:xmpp:mam:1' complete='true'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first index='0'>BLKHVOH6OQO1</first>
			<last>BLKHVOH6OQO1</last>
			<count>1</count>
		</set>
	</fin>
</iq>



*** User 2022-01-27 15:33:48.089 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:33:48.089 ***
bOb_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:33:48.089 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:33:48.090 ***
alicE_hibernated_room_can_be_queried_for_archive_1758@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:33:48.093 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2348.html
*** CT 2022-01-27 15:33:48.094 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5364.html



=== Ended at 2022-01-27 15:33:48
=== successfully completed test case
=== === Returned value: ok