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

=== Config value:

    [{watchdog,<0.5499.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_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.presence_SUITE.logs/run.2022-01-27_15.33.56/presence_suite.unsubscribe.57730.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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.33.56/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@34a9b6d2516c.2022-01-27_15.25.07"

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


*** CT 2022-01-27 15:33:58.347 *** View log from node mongooseim@localhost when started mongooseim@localhost_4762.html
*** CT 2022-01-27 15:33:58.348 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2357.html

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

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



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



*** User 2022-01-27 15:33:58.358 ***
alicE_unsubscribe_1055@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:33:58.358 ***
alicE_unsubscribe_1055@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4d6819572a156e4c' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-01-27 15:33:58.359 ***
alicE_unsubscribe_1055@localhost/res1 in
<iq id='e98a4ce28b317eccb7b38c2afb4c3911' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_1055@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:58.359 ***
alicE_unsubscribe_1055@localhost/res1 out
<iq type='set' id='991502024b509400a79ebb577b75983d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:58.359 ***
alicE_unsubscribe_1055@localhost/res1 in
<iq type='result' id='991502024b509400a79ebb577b75983d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:58.359 ***
alicE_unsubscribe_1055@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:58.360 ***
alicE_unsubscribe_1055@localhost/res1 in
<presence from='alicE_unsubscribe_1055@localhost/res1' to='alice_unsubscribe_1055@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:58.360 ***
bOb_unsubscribe_1055@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:33:58.361 ***
bOb_unsubscribe_1055@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a0fcbf4748b2648' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-01-27 15:33:58.361 ***
bOb_unsubscribe_1055@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:33:58.362 ***
bOb_unsubscribe_1055@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='784c4a8e9b8e7e40' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:33:58.362 ***
bOb_unsubscribe_1055@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:33:58.362 ***
bOb_unsubscribe_1055@localhost/res1 out
<iq type='set' id='198453270b83d933fd59b61d255728a0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:33:58.362 ***
bOb_unsubscribe_1055@localhost/res1 in
<iq id='198453270b83d933fd59b61d255728a0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_1055@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:33:58.362 ***
bOb_unsubscribe_1055@localhost/res1 out
<iq type='set' id='181f65770ab0f7c85425cbbb005e2e2c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:58.362 ***
bOb_unsubscribe_1055@localhost/res1 in
<iq type='result' id='181f65770ab0f7c85425cbbb005e2e2c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:33:58.362 ***
bOb_unsubscribe_1055@localhost/res1 out
<presence/>



*** User 2022-01-27 15:33:58.363 ***
bOb_unsubscribe_1055@localhost/res1 in
<presence from='bOb_unsubscribe_1055@localhost/res1' to='bob_unsubscribe_1055@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:58.363 ***
alicE_unsubscribe_1055@localhost/res1 out
<iq type='set' id='9f5c007cbb733a3e5f4c5bf8a33255b4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_1055@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:58.364 ***
alicE_unsubscribe_1055@localhost/res1 in
<iq from='alicE_unsubscribe_1055@localhost' to='alicE_unsubscribe_1055@localhost/res1' id='pushd1048e3c9cfff89a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1055@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:58.364 ***
alicE_unsubscribe_1055@localhost/res1 in
<iq from='alicE_unsubscribe_1055@localhost' to='alicE_unsubscribe_1055@localhost/res1' id='9f5c007cbb733a3e5f4c5bf8a33255b4' type='result'/>



*** User 2022-01-27 15:33:58.364 ***
alicE_unsubscribe_1055@localhost/res1 out
<iq to='alicE_unsubscribe_1055@localhost' id='pushd1048e3c9cfff89a' type='result'/>



*** User 2022-01-27 15:33:58.364 ***
alicE_unsubscribe_1055@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1055@localhost'/>



*** User 2022-01-27 15:33:58.365 ***
alicE_unsubscribe_1055@localhost/res1 in
<iq from='alicE_unsubscribe_1055@localhost' to='alicE_unsubscribe_1055@localhost/res1' id='push458bb4c845a5966b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1055@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:58.365 ***
alicE_unsubscribe_1055@localhost/res1 out
<iq to='alicE_unsubscribe_1055@localhost' id='push458bb4c845a5966b' type='result'/>



*** User 2022-01-27 15:33:58.365 ***
bOb_unsubscribe_1055@localhost/res1 in
<presence from='alicE_unsubscribe_1055@localhost' to='bOb_unsubscribe_1055@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 15:33:58.365 ***
bOb_unsubscribe_1055@localhost/res1 out
<iq type='set' id='f50901b86559a2eec1c55869b98c2a01'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_1055@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:58.366 ***
bOb_unsubscribe_1055@localhost/res1 in
<iq from='bOb_unsubscribe_1055@localhost' to='bOb_unsubscribe_1055@localhost/res1' id='pushd83d0e998e1e7398' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1055@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:58.366 ***
bOb_unsubscribe_1055@localhost/res1 out
<iq to='bOb_unsubscribe_1055@localhost' id='pushd83d0e998e1e7398' type='result'/>



*** User 2022-01-27 15:33:58.366 ***
bOb_unsubscribe_1055@localhost/res1 in
<iq from='bOb_unsubscribe_1055@localhost' to='bOb_unsubscribe_1055@localhost/res1' id='f50901b86559a2eec1c55869b98c2a01' type='result'/>



*** User 2022-01-27 15:33:58.366 ***
bOb_unsubscribe_1055@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1055@localhost'/>



*** User 2022-01-27 15:33:58.368 ***
alicE_unsubscribe_1055@localhost/res1 in
<iq from='alicE_unsubscribe_1055@localhost' to='alicE_unsubscribe_1055@localhost/res1' id='push6b4fb375fda106e8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_1055@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:58.368 ***
alicE_unsubscribe_1055@localhost/res1 in
<presence from='bOb_unsubscribe_1055@localhost' to='alicE_unsubscribe_1055@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 15:33:58.368 ***
alicE_unsubscribe_1055@localhost/res1 in
<presence from='bOb_unsubscribe_1055@localhost/res1' to='alice_unsubscribe_1055@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:33:58.368 ***
bOb_unsubscribe_1055@localhost/res1 in
<iq from='bOb_unsubscribe_1055@localhost' to='bOb_unsubscribe_1055@localhost/res1' id='pusha48dcab3b7abdffd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1055@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:58.368 ***
alicE_unsubscribe_1055@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1055@localhost'/>



*** User 2022-01-27 15:33:58.370 ***
alicE_unsubscribe_1055@localhost/res1 in
<iq from='alicE_unsubscribe_1055@localhost' to='alicE_unsubscribe_1055@localhost/res1' id='pushdf3cd00468a192d9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1055@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:58.370 ***
alicE_unsubscribe_1055@localhost/res1 out
<iq to='alicE_unsubscribe_1055@localhost' id='pushdf3cd00468a192d9' type='result'/>



*** User 2022-01-27 15:33:58.370 ***
bOb_unsubscribe_1055@localhost/res1 in
<iq from='bOb_unsubscribe_1055@localhost' to='bOb_unsubscribe_1055@localhost/res1' id='push94c8c37b75f87e4d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1055@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:58.370 ***
bOb_unsubscribe_1055@localhost/res1 in
<presence from='alicE_unsubscribe_1055@localhost' to='bOb_unsubscribe_1055@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-01-27 15:33:58.370 ***
alicE_unsubscribe_1055@localhost/res1 in
<presence from='bOb_unsubscribe_1055@localhost/res1' to='alice_unsubscribe_1055@localhost/res1' type='unavailable'/>



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

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

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

*** User 2022-01-27 15:33:58.371 ***
alicE_unsubscribe_1055@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:33:58.378 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2357.html
*** CT 2022-01-27 15:33:58.378 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4762.html



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