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

=== Config value:

    [{watchdog,<0.571.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/muc_SUITE_data"},
     {preset,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.muc_SUITE.logs/run.2022-01-27_15.32.27/muc_suite.hibernated_room_is_stopped_and_restored_by_presence.12804.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.muc_SUITE.logs/run.2022-01-27_15.32.27/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 => [],mod_sic => [],mod_stream_management => [],
        mod_vcard => [{host,{prefix,<<"vjud.">>}}]}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:32:58


*** CT 2022-01-27 15:32:58.458 *** View log from node mongooseim@localhost when started mongooseim@localhost_4716.html
*** CT 2022-01-27 15:32:58.459 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2320.html

*** User 2022-01-27 15:32:58.476 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@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:32:58.477 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6eeff98265df88f8' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-01-27 15:32:58.477 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@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:32:58.478 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='00a5184df73b476b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:32:58.478 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@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:32:58.478 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 out
<iq type='set' id='6aae982611f034a45f61cef5e60ceda1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:58.478 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<iq id='6aae982611f034a45f61cef5e60ceda1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:58.479 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 out
<iq type='set' id='6b8478b326cda5eb2c665f897cb16aea'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:58.479 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<iq type='result' id='6b8478b326cda5eb2c665f897cb16aea'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:58.479 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:58.480 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<presence from='alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1' to='alice_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1' xml:lang='en'/>



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

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



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



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

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



*** User 2022-01-27 15:32:58.483 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<iq id='d5d2e3f611f3d2796af90d06bbb9f3d7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:58.483 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 out
<iq type='set' id='70ed03d083d5153fd1a295876cb6a75c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:58.484 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<iq type='result' id='70ed03d083d5153fd1a295876cb6a75c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:58.484 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:58.484 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<presence from='bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1' to='bob_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:58.485 ***
RoomJID {jid,<<"room-384df29e59">>,<<"muc.localhost">>,<<>>,
             <<"room-384df29e59">>,<<"muc.localhost">>,<<>>}

*** User 2022-01-27 15:32:58.485 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 out
<presence to='room-384df29e59@muc.localhost/alicE_hibernated_room_is_stopped_and_restored_by_presence_970'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



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



*** User 2022-01-27 15:32:58.486 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<message from='room-384df29e59@muc.localhost' to='alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-01-27 15:32:58.486 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 out
<iq type='set' id='92a68ca0ec64b4e54795628bf6a76805' to='room-384df29e59@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_persistentroom'>
				<value>1</value>
			</field>
		</x>
	</query>
</iq>



*** User 2022-01-27 15:32:58.486 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<iq from='room-384df29e59@muc.localhost' to='alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1' id='92a68ca0ec64b4e54795628bf6a76805' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>



*** User 2022-01-27 15:32:58.487 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 out
<message type='groupchat' to='room-384df29e59@muc.localhost'>
	<subject>Restorable</subject>
</message>



*** User 2022-01-27 15:32:58.487 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<message from='room-384df29e59@muc.localhost/alicE_hibernated_room_is_stopped_and_restored_by_presence_970' to='alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1' xml:lang='en' type='groupchat'>
	<subject>Restorable</subject>
</message>



*** User 2022-01-27 15:33:00.508 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 out
<presence to='room-384df29e59@muc.localhost/bOb_hibernated_room_is_stopped_and_restored_by_presence_970'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-01-27 15:33:00.509 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<presence from='room-384df29e59@muc.localhost/alicE_hibernated_room_is_stopped_and_restored_by_presence_970' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_970@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:00.509 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<presence from='room-384df29e59@muc.localhost/bOb_hibernated_room_is_stopped_and_restored_by_presence_970' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_970@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:00.509 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<message from='room-384df29e59@muc.localhost/alicE_hibernated_room_is_stopped_and_restored_by_presence_970' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1' xml:lang='en' type='groupchat'>
	<subject>Restorable</subject>
	<delay xmlns='urn:xmpp:delay' stamp='2022-01-27T15:32:58Z' from='room-384df29e59@muc.localhost'/>
</message>



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



*** User 2022-01-27 15:33:02.531 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 out
<presence type='unavailable' to='room-384df29e59@muc.localhost/alicE_hibernated_room_is_stopped_and_restored_by_presence_970'/>



*** User 2022-01-27 15:33:02.532 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<presence from='room-384df29e59@muc.localhost/alicE_hibernated_room_is_stopped_and_restored_by_presence_970' to='alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/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-01-27 15:33:02.532 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<presence from='room-384df29e59@muc.localhost/alicE_hibernated_room_is_stopped_and_restored_by_presence_970' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='none'/>
	</x>
</presence>



*** User 2022-01-27 15:33:02.532 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 out
<presence type='unavailable' to='room-384df29e59@muc.localhost/bOb_hibernated_room_is_stopped_and_restored_by_presence_970'/>



*** User 2022-01-27 15:33:02.533 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<presence from='room-384df29e59@muc.localhost/bOb_hibernated_room_is_stopped_and_restored_by_presence_970' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/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-01-27 15:33:08.400 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 out
<presence to='room-384df29e59@muc.localhost/bob'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-01-27 15:33:08.401 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<presence from='room-384df29e59@muc.localhost/bob' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_970@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:08.401 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
<message from='room-384df29e59@muc.localhost' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1' type='groupchat'>
	<subject>Restorable</subject>
	<body/>
</message>



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

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

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

*** User 2022-01-27 15:33:08.403 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_970@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:33:08.405 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2320.html
*** CT 2022-01-27 15:33:08.406 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4716.html



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