=== Test case: muc_SUITE:hibernated_room_can_be_queried_for_archive/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.hibernated_room_can_be_queried_for_archive.97155.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.892 *** View log from node mongooseim@localhost when started mongooseim@localhost_2236.html
*** CT 2022-02-02 15:13:37.893 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_591.html

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



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



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



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



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



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



*** User 2022-02-02 15:13:37.961 ***
RoomJID {jid,<<"room-7601a945b4">>,<<"groupchats.domain.example.com">>,<<>>,
             <<"room-7601a945b4">>,<<"groupchats.domain.example.com">>,<<>>}

*** User 2022-02-02 15:13:37.962 ***
alicE_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 out
<presence to='room-7601a945b4@groupchats.domain.example.com/alicE_hibernated_room_can_be_queried_for_archive_1502'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



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



*** User 2022-02-02 15:13:37.965 ***
alicE_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 in
<message from='room-7601a945b4@groupchats.domain.example.com' to='alicE_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-02-02 15:13:37.965 ***
alicE_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 out
<iq type='set' id='09decc4080517ce027b2887aeaf252a6' to='room-7601a945b4@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_membersonly'>
				<value>0</value>
			</field>
		</x>
	</query>
</iq>



*** User 2022-02-02 15:13:37.965 ***
alicE_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 in
<iq from='room-7601a945b4@groupchats.domain.example.com' to='alicE_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1' id='09decc4080517ce027b2887aeaf252a6' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>



*** User 2022-02-02 15:13:39.986 ***
bOb_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 out
<presence to='room-7601a945b4@groupchats.domain.example.com/bOb_hibernated_room_can_be_queried_for_archive_1502'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-02-02 15:13:39.987 ***
bOb_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 in
<presence from='room-7601a945b4@groupchats.domain.example.com/alicE_hibernated_room_can_be_queried_for_archive_1502' to='bOb_hibernated_room_can_be_queried_for_archive_1502@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.988 ***
bOb_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 in
<presence from='room-7601a945b4@groupchats.domain.example.com/bOb_hibernated_room_can_be_queried_for_archive_1502' to='bOb_hibernated_room_can_be_queried_for_archive_1502@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.988 ***
bOb_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 in
<message from='room-7601a945b4@groupchats.domain.example.com' to='bOb_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



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



*** User 2022-02-02 15:13:42.008 ***
alicE_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 out
<message to='room-7601a945b4@groupchats.domain.example.com' type='groupchat'>
	<body>Restorable message</body>
</message>



*** User 2022-02-02 15:13:42.013 ***
bOb_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 in
<message from='room-7601a945b4@groupchats.domain.example.com/alicE_hibernated_room_can_be_queried_for_archive_1502' to='bOb_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1' xml:lang='en' type='groupchat'>
	<body>Restorable message</body>
	<stanza-id by='room-7601a945b4@groupchats.domain.example.com' id='BLOADUD9QF81' xmlns='urn:xmpp:sid:0'/>
</message>



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



*** User 2022-02-02 15:13:44.033 ***
bOb_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 out
<iq type='set' id='2bb2b7887115cb5ef38bd0554db1226f' to='room-7601a945b4@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:44.036 ***
bOb_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 in
<message from='room-7601a945b4@groupchats.domain.example.com' to='bOb_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1' id='274c6dee-1c2a-4e3b-a7f4-f837aa678eba'>
	<result queryid='q1' xmlns='urn:xmpp:mam:1' id='BLOADUD9QF81'>
		<forwarded xmlns='urn:xmpp:forward:0'>
			<delay xmlns='urn:xmpp:delay' stamp='2022-02-02T15:11:45Z' from='room-7601a945b4@groupchats.domain.example.com/alicE_hibernated_room_can_be_queried_for_archive_1502'/>
			<message from='room-7601a945b4@groupchats.domain.example.com/alicE_hibernated_room_can_be_queried_for_archive_1502' xmlns='jabber:client' xml:lang='en' type='groupchat'>
				<body>Restorable message</body>
			</message>
		</forwarded>
	</result>
</message>



*** User 2022-02-02 15:13:44.036 ***
bOb_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1 in
<iq from='room-7601a945b4@groupchats.domain.example.com' to='bOb_hibernated_room_can_be_queried_for_archive_1502@domain.example.com/res1' id='2bb2b7887115cb5ef38bd0554db1226f' type='result'>
	<fin xmlns='urn:xmpp:mam:1' complete='true'>
		<set xmlns='http://jabber.org/protocol/rsm'>
			<first index='0'>BLOADUD9QF81</first>
			<last>BLOADUD9QF81</last>
			<count>1</count>
		</set>
	</fin>
</iq>



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

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

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

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



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