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

=== Config value:

    [{watchdog,<0.28789.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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.muc_SUITE.logs/run.2022-03-04_11.24.02/muc_suite.hibernated_room_can_be_queried_for_archive.99203.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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.muc_SUITE.logs/run.2022-03-04_11.24.02/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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:24:33


*** CT 2022-03-04 11:24:33.902 *** View log from node mongooseim@localhost when started mongooseim@localhost_5459.html
*** CT 2022-03-04 11:24:33.903 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2300.html

*** User 2022-03-04 11:24:33.929 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@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-03-04 11:24:33.930 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='282a9dcb76c5a679' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:33.930 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@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-03-04 11:24:33.930 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2hpYmVybmF0ZWRfcm9vbV9jYW5fYmVfcXVlcmllZF9mb3JfYXJjaGl2ZV8xNjMzAG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:24:33.932 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:33.932 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@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-03-04 11:24:33.933 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed38d353ada471a5' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:33.933 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@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-03-04 11:24:33.933 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<iq type='set' id='ef2b28d6de1cc969bda05082cfe4f995'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:33.934 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<iq id='ef2b28d6de1cc969bda05082cfe4f995' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:33.934 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<iq type='set' id='83ba057994710cd9d191b1218f3d65df'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:33.934 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<iq type='result' id='83ba057994710cd9d191b1218f3d65df'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:33.935 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<presence/>



*** User 2022-03-04 11:24:33.947 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<presence from='alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' to='alice_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:33.948 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@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-03-04 11:24:33.948 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1377c51bd93a702' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:33.949 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@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-03-04 11:24:33.949 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9oaWJlcm5hdGVkX3Jvb21fY2FuX2JlX3F1ZXJpZWRfZm9yX2FyY2hpdmVfMTYzMwBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:24:33.950 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:33.950 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@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-03-04 11:24:33.951 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5badf0f284c1b715' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:33.951 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@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-03-04 11:24:33.951 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<iq type='set' id='97a205c969dc471b3fca7fed26ef6f73'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:33.952 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<iq id='97a205c969dc471b3fca7fed26ef6f73' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:33.952 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<iq type='set' id='35fe8ef1783909cf69ccdc1732ac1d3b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:33.952 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<iq type='result' id='35fe8ef1783909cf69ccdc1732ac1d3b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:33.952 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<presence/>



*** User 2022-03-04 11:24:33.954 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<presence from='bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' to='bob_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:33.955 ***
RoomJID {jid,<<"room-896997879e">>,<<"muc.localhost">>,<<>>,
             <<"room-896997879e">>,<<"muc.localhost">>,<<>>}

*** User 2022-03-04 11:24:33.955 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<presence to='room-896997879e@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1633'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-04 11:24:33.958 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<presence from='room-896997879e@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1633' to='alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-03-04 11:24:33.958 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<message from='room-896997879e@muc.localhost' to='alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-03-04 11:24:33.958 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<iq type='set' id='9f1ebb5371298b989d2d85e2631c4966' to='room-896997879e@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-03-04 11:24:33.959 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<iq from='room-896997879e@muc.localhost' to='alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' id='9f1ebb5371298b989d2d85e2631c4966' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>



*** User 2022-03-04 11:24:35.981 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<presence to='room-896997879e@muc.localhost/bOb_hibernated_room_can_be_queried_for_archive_1633'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-04 11:24:35.983 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<presence from='room-896997879e@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1633' to='bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-03-04 11:24:35.983 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<presence from='room-896997879e@muc.localhost/bOb_hibernated_room_can_be_queried_for_archive_1633' to='bOb_hibernated_room_can_be_queried_for_archive_1633@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-03-04 11:24:35.984 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<message from='room-896997879e@muc.localhost' to='bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-03-04 11:24:35.984 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<presence from='room-896997879e@muc.localhost/bOb_hibernated_room_can_be_queried_for_archive_1633' to='alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:24:38.004 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<message to='room-896997879e@muc.localhost' type='groupchat'>
	<body>Restorable message</body>
</message>



*** User 2022-03-04 11:24:38.010 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<message from='room-896997879e@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1633' to='bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' xml:lang='en' type='groupchat'>
	<body>Restorable message</body>
	<stanza-id by='room-896997879e@muc.localhost' id='BMB2MLVCTK81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-03-04 11:24:38.010 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<message from='room-896997879e@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1633' to='alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' xml:lang='en' type='groupchat'>
	<body>Restorable message</body>
	<stanza-id by='room-896997879e@muc.localhost' id='BMB2MLVCTK81' xmlns='urn:xmpp:sid:0'/>
</message>



*** User 2022-03-04 11:24:40.031 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
<iq type='set' id='54164b6d0c1fd6eb28993075d5620e83' to='room-896997879e@muc.localhost'>
	<query xmlns='urn:xmpp:mam:1' queryid='q1'>
		<x xmlns='jabber:x:data'/>
	</query>
</iq>



*** User 2022-03-04 11:24:40.033 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<message from='room-896997879e@muc.localhost' to='bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' id='fda0afab-b5e6-4c5d-a77f-85183d96c7d7'>
	<result queryid='q1' xmlns='urn:xmpp:mam:1' id='BMB2MLVCTK81'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:20:58Z' from='room-896997879e@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1633'/>
			<message from='room-896997879e@muc.localhost/alicE_hibernated_room_can_be_queried_for_archive_1633' xmlns='jabber:client' xml:lang='en' type='groupchat'>
				<body>Restorable message</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-03-04 11:24:40.033 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
<iq from='room-896997879e@muc.localhost' to='bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1' id='54164b6d0c1fd6eb28993075d5620e83' type='result'>
	<fin xmlns='urn:xmpp:mam:1' complete='true'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first index='0'>BMB2MLVCTK81</first>
			<last>BMB2MLVCTK81</last>
			<count>1</count>
		</set>
	</fin>
</iq>



*** User 2022-03-04 11:24:42.054 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:24:42.054 ***
bOb_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:24:42.054 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:24:42.055 ***
alicE_hibernated_room_can_be_queried_for_archive_1633@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:24:42.057 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2300.html
*** CT 2022-03-04 11:24:42.058 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5459.html



=== Ended at 2022-03-04 11:24:42
=== successfully completed test case
=== === Returned value: ok