=== Test case: presence_SUITE:unsubscribe/1 (click for source code)

=== Config value:

    [{watchdog,<0.1435.2>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_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.presence_SUITE.logs/run.2022-03-04_11.25.49/presence_suite.unsubscribe.68868.html"},
     {tc_group_properties,[{name,subscribe_group},
                           {repeat_until_all_ok,3},
                           parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/presence_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.25.49/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== 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:25:51


*** CT 2022-03-04 11:25:51.379 *** View log from node mongooseim@localhost when started mongooseim@localhost_5543.html
*** CT 2022-03-04 11:25:51.380 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2335.html

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

*** User 2022-03-04 11:25:51.393 ***
alicE_unsubscribe_1715@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:25:51.394 ***
alicE_unsubscribe_1715@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzE3MTUAbWF0eWdyeXNh</auth>



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



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

*** User 2022-03-04 11:25:51.395 ***
alicE_unsubscribe_1715@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:25:51.395 ***
alicE_unsubscribe_1715@localhost/res1 out
<iq type='set' id='362a0f9c6277157ba365dd6aed52fa7b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.396 ***
alicE_unsubscribe_1715@localhost/res1 in
<iq id='362a0f9c6277157ba365dd6aed52fa7b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_1715@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.396 ***
alicE_unsubscribe_1715@localhost/res1 out
<iq type='set' id='31f3a595ec7627cf1a4f510ce4a7acc5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.396 ***
alicE_unsubscribe_1715@localhost/res1 in
<iq type='result' id='31f3a595ec7627cf1a4f510ce4a7acc5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.396 ***
alicE_unsubscribe_1715@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:51.398 ***
alicE_unsubscribe_1715@localhost/res1 in
<presence from='alicE_unsubscribe_1715@localhost/res1' to='alice_unsubscribe_1715@localhost/res1' xml:lang='en'/>



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

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



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



*** User 2022-03-04 11:25:51.400 ***
bOb_unsubscribe_1715@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:25:51.401 ***
bOb_unsubscribe_1715@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1a28d361d8f28869' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:25:51.401 ***
bOb_unsubscribe_1715@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:25:51.401 ***
bOb_unsubscribe_1715@localhost/res1 out
<iq type='set' id='1284c059b38c9ff0956e8459932b3440'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.401 ***
bOb_unsubscribe_1715@localhost/res1 in
<iq id='1284c059b38c9ff0956e8459932b3440' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_1715@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:25:51.402 ***
bOb_unsubscribe_1715@localhost/res1 out
<iq type='set' id='5cff27361aaad4e7b7eefc31344defce'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.402 ***
bOb_unsubscribe_1715@localhost/res1 in
<iq type='result' id='5cff27361aaad4e7b7eefc31344defce'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:25:51.402 ***
bOb_unsubscribe_1715@localhost/res1 out
<presence/>



*** User 2022-03-04 11:25:51.403 ***
bOb_unsubscribe_1715@localhost/res1 in
<presence from='bOb_unsubscribe_1715@localhost/res1' to='bob_unsubscribe_1715@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:51.403 ***
alicE_unsubscribe_1715@localhost/res1 out
<iq type='set' id='462f5ed8833378540791c6f1e5cbfc3b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_1715@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.410 ***
alicE_unsubscribe_1715@localhost/res1 in
<iq from='alicE_unsubscribe_1715@localhost' to='alicE_unsubscribe_1715@localhost/res1' id='pushe737602eb659ddc7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1715@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.410 ***
alicE_unsubscribe_1715@localhost/res1 in
<iq from='alicE_unsubscribe_1715@localhost' to='alicE_unsubscribe_1715@localhost/res1' id='462f5ed8833378540791c6f1e5cbfc3b' type='result'/>



*** User 2022-03-04 11:25:51.410 ***
alicE_unsubscribe_1715@localhost/res1 out
<iq to='alicE_unsubscribe_1715@localhost' id='pushe737602eb659ddc7' type='result'/>



*** User 2022-03-04 11:25:51.410 ***
alicE_unsubscribe_1715@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1715@localhost'/>



*** User 2022-03-04 11:25:51.415 ***
alicE_unsubscribe_1715@localhost/res1 in
<iq from='alicE_unsubscribe_1715@localhost' to='alicE_unsubscribe_1715@localhost/res1' id='push8de600b7c66ce2f1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1715@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.415 ***
alicE_unsubscribe_1715@localhost/res1 out
<iq to='alicE_unsubscribe_1715@localhost' id='push8de600b7c66ce2f1' type='result'/>



*** User 2022-03-04 11:25:51.415 ***
bOb_unsubscribe_1715@localhost/res1 in
<presence from='alicE_unsubscribe_1715@localhost' to='bOb_unsubscribe_1715@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-04 11:25:51.415 ***
bOb_unsubscribe_1715@localhost/res1 out
<iq type='set' id='a140b906b3259b710b524e733d5c5141'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_1715@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.424 ***
bOb_unsubscribe_1715@localhost/res1 in
<iq from='bOb_unsubscribe_1715@localhost' to='bOb_unsubscribe_1715@localhost/res1' id='push9d7b4fe67ddf1286' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1715@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.424 ***
bOb_unsubscribe_1715@localhost/res1 out
<iq to='bOb_unsubscribe_1715@localhost' id='push9d7b4fe67ddf1286' type='result'/>



*** User 2022-03-04 11:25:51.424 ***
bOb_unsubscribe_1715@localhost/res1 in
<iq from='bOb_unsubscribe_1715@localhost' to='bOb_unsubscribe_1715@localhost/res1' id='a140b906b3259b710b524e733d5c5141' type='result'/>



*** User 2022-03-04 11:25:51.424 ***
bOb_unsubscribe_1715@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1715@localhost'/>



*** User 2022-03-04 11:25:51.429 ***
alicE_unsubscribe_1715@localhost/res1 in
<iq from='alicE_unsubscribe_1715@localhost' to='alicE_unsubscribe_1715@localhost/res1' id='pusheb47a363dfb0be99' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_1715@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.430 ***
alicE_unsubscribe_1715@localhost/res1 in
<presence from='bOb_unsubscribe_1715@localhost' to='alicE_unsubscribe_1715@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-04 11:25:51.430 ***
alicE_unsubscribe_1715@localhost/res1 in
<presence from='bOb_unsubscribe_1715@localhost/res1' to='alice_unsubscribe_1715@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:25:51.430 ***
bOb_unsubscribe_1715@localhost/res1 in
<iq from='bOb_unsubscribe_1715@localhost' to='bOb_unsubscribe_1715@localhost/res1' id='pushd8f8191861051824' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1715@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.430 ***
alicE_unsubscribe_1715@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1715@localhost'/>



*** User 2022-03-04 11:25:51.459 ***
alicE_unsubscribe_1715@localhost/res1 in
<iq from='alicE_unsubscribe_1715@localhost' to='alicE_unsubscribe_1715@localhost/res1' id='pushf48da5e1aafc2a1a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1715@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.459 ***
alicE_unsubscribe_1715@localhost/res1 out
<iq to='alicE_unsubscribe_1715@localhost' id='pushf48da5e1aafc2a1a' type='result'/>



*** User 2022-03-04 11:25:51.459 ***
bOb_unsubscribe_1715@localhost/res1 in
<iq from='bOb_unsubscribe_1715@localhost' to='bOb_unsubscribe_1715@localhost/res1' id='push17a20973a03d4839' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1715@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:25:51.459 ***
bOb_unsubscribe_1715@localhost/res1 in
<presence from='alicE_unsubscribe_1715@localhost' to='bOb_unsubscribe_1715@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-03-04 11:25:51.459 ***
alicE_unsubscribe_1715@localhost/res1 in
<presence from='bOb_unsubscribe_1715@localhost/res1' to='alice_unsubscribe_1715@localhost/res1' type='unavailable'/>



*** User 2022-03-04 11:25:51.459 ***
bOb_unsubscribe_1715@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:51.460 ***
bOb_unsubscribe_1715@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:25:51.460 ***
alicE_unsubscribe_1715@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:25:51.461 ***
alicE_unsubscribe_1715@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:25:51.470 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2335.html
*** CT 2022-03-04 11:25:51.471 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5543.html



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