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

=== Config value:

    [{watchdog,<0.20294.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.muc_SUITE.logs/run.2022-03-04_11.23.03/muc_suite.hibernated_room_is_stopped_and_restored_by_presence.137346.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.muc_SUITE.logs/run.2022-03-04_11.23.03/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@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:23:37


*** CT 2022-03-04 11:23:37.627 *** View log from node mongooseim@localhost when started mongooseim@localhost_2319.html
*** CT 2022-03-04 11:23:37.628 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_606.html

*** User 2022-03-04 11:23:37.652 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@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-03-04 11:23:37.652 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1356d8a0924660bc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:23:37.652 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@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-03-04 11:23:37.652 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX2hpYmVybmF0ZWRfcm9vbV9pc19zdG9wcGVkX2FuZF9yZXN0b3JlZF9ieV9wcmVzZW5jZV8xNjg2AG1hdHlncnlzYQ==</auth>



*** User 2022-03-04 11:23:37.654 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:23:37.654 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@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-03-04 11:23:37.654 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='194b2c3e1eb8eacd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:23:37.655 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@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-03-04 11:23:37.655 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<iq type='set' id='e8bb25477f6c01a0c166a7ac7a9042ef'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:23:37.655 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<iq id='e8bb25477f6c01a0c166a7ac7a9042ef' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:23:37.655 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<iq type='set' id='8a1842a95b1e254a9d35f5b53ffca044'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:23:37.655 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<iq type='result' id='8a1842a95b1e254a9d35f5b53ffca044'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:23:37.655 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:23:37.658 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<presence from='alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' to='alice_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:23:37.659 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@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-03-04 11:23:37.659 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7f2b98a4e3a17716' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:23:37.660 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@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-03-04 11:23:37.660 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9oaWJlcm5hdGVkX3Jvb21faXNfc3RvcHBlZF9hbmRfcmVzdG9yZWRfYnlfcHJlc2VuY2VfMTY4NgBtYWtyb2xpa2E=</auth>



*** User 2022-03-04 11:23:37.661 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:23:37.661 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@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-03-04 11:23:37.661 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1421d2903289570d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:23:37.661 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@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-03-04 11:23:37.661 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<iq type='set' id='1786acaff4e65f251f14e187c61c08ba'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:23:37.661 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<iq id='1786acaff4e65f251f14e187c61c08ba' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:23:37.662 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<iq type='set' id='c18c07a2e339adfcb8c857e75820c223'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:23:37.662 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<iq type='result' id='c18c07a2e339adfcb8c857e75820c223'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:23:37.662 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:23:37.665 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<presence from='bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' to='bob_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:23:37.665 ***
RoomJID {jid,<<"room-3f0477c332">>,<<"groupchats.domain.example.com">>,<<>>,
             <<"room-3f0477c332">>,<<"groupchats.domain.example.com">>,<<>>}

*** User 2022-03-04 11:23:37.665 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<presence to='room-3f0477c332@groupchats.domain.example.com/alicE_hibernated_room_is_stopped_and_restored_by_presence_1686'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-04 11:23:37.666 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<presence from='room-3f0477c332@groupchats.domain.example.com/alicE_hibernated_room_is_stopped_and_restored_by_presence_1686' to='alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' affiliation='owner' role='moderator'/>
		<status code='110'/>
		<status code='201'/>
	</x>
</presence>



*** User 2022-03-04 11:23:37.666 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<message from='room-3f0477c332@groupchats.domain.example.com' to='alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' type='groupchat'>
	<subject/>
	<body/>
</message>



*** User 2022-03-04 11:23:37.667 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<iq type='set' id='45113751a5d76c67da62e1db41fa62e9' to='room-3f0477c332@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_persistentroom'>
				<value>1</value>
			</field>
		</x>
	</query>
</iq>



*** User 2022-03-04 11:23:37.669 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<iq from='room-3f0477c332@groupchats.domain.example.com' to='alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' id='45113751a5d76c67da62e1db41fa62e9' type='result'>
	<query xmlns='http://jabber.org/protocol/muc#owner'/>
</iq>



*** User 2022-03-04 11:23:37.670 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<message type='groupchat' to='room-3f0477c332@groupchats.domain.example.com'>
	<subject>Restorable</subject>
</message>



*** User 2022-03-04 11:23:37.673 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<message from='room-3f0477c332@groupchats.domain.example.com/alicE_hibernated_room_is_stopped_and_restored_by_presence_1686' to='alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' xml:lang='en' type='groupchat'>
	<subject>Restorable</subject>
</message>



*** User 2022-03-04 11:23:39.694 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<presence to='room-3f0477c332@groupchats.domain.example.com/bOb_hibernated_room_is_stopped_and_restored_by_presence_1686'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-04 11:23:39.695 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<presence from='room-3f0477c332@groupchats.domain.example.com/alicE_hibernated_room_is_stopped_and_restored_by_presence_1686' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='moderator'/>
	</x>
</presence>



*** User 2022-03-04 11:23:39.695 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<presence from='room-3f0477c332@groupchats.domain.example.com/bOb_hibernated_room_is_stopped_and_restored_by_presence_1686' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@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-03-04 11:23:39.695 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<message from='room-3f0477c332@groupchats.domain.example.com/alicE_hibernated_room_is_stopped_and_restored_by_presence_1686' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' xml:lang='en' type='groupchat'>
	<subject>Restorable</subject>
	<delay xmlns='urn:xmpp:delay' stamp='2022-03-04T11:23:37Z' from='room-3f0477c332@groupchats.domain.example.com'/>
</message>



*** User 2022-03-04 11:23:39.695 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<presence from='room-3f0477c332@groupchats.domain.example.com/bOb_hibernated_room_is_stopped_and_restored_by_presence_1686' to='alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' xml:lang='en'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item jid='bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' affiliation='none' role='participant'/>
	</x>
</presence>



*** User 2022-03-04 11:23:41.715 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<presence type='unavailable' to='room-3f0477c332@groupchats.domain.example.com/alicE_hibernated_room_is_stopped_and_restored_by_presence_1686'/>



*** User 2022-03-04 11:23:41.715 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<presence from='room-3f0477c332@groupchats.domain.example.com/alicE_hibernated_room_is_stopped_and_restored_by_presence_1686' to='alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/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-03-04 11:23:41.715 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<presence from='room-3f0477c332@groupchats.domain.example.com/alicE_hibernated_room_is_stopped_and_restored_by_presence_1686' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' xml:lang='en' type='unavailable'>
	<x xmlns='http://jabber.org/protocol/muc#user'>
		<item affiliation='owner' role='none'/>
	</x>
</presence>



*** User 2022-03-04 11:23:41.716 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<presence type='unavailable' to='room-3f0477c332@groupchats.domain.example.com/bOb_hibernated_room_is_stopped_and_restored_by_presence_1686'/>



*** User 2022-03-04 11:23:41.716 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<presence from='room-3f0477c332@groupchats.domain.example.com/bOb_hibernated_room_is_stopped_and_restored_by_presence_1686' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/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-03-04 11:23:47.555 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
<presence to='room-3f0477c332@groupchats.domain.example.com/bob'>
	<x xmlns='http://jabber.org/protocol/muc'/>
</presence>



*** User 2022-03-04 11:23:47.558 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<presence from='room-3f0477c332@groupchats.domain.example.com/bob' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@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-03-04 11:23:47.559 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
<message from='room-3f0477c332@groupchats.domain.example.com' to='bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1' type='groupchat'>
	<subject>Restorable</subject>
	<body/>
</message>



*** User 2022-03-04 11:23:47.559 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:23:47.559 ***
bOb_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:23:47.559 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:23:47.560 ***
alicE_hibernated_room_is_stopped_and_restored_by_presence_1686@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:23:47.568 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_606.html
*** CT 2022-03-04 11:23:47.569 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2320.html



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