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

=== Config value:

    [{watchdog,<0.31584.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.presence_SUITE.logs/run.2022-01-25_16.32.27/presence_suite.unsubscribe.126978.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.presence_SUITE.logs/run.2022-01-25_16.32.27/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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:32:29


*** CT 2022-01-25 16:32:29.014 *** View log from node mongooseim@localhost when started mongooseim@localhost_5461.html
*** CT 2022-01-25 16:32:29.015 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2377.html

*** User 2022-01-25 16:32:29.065 ***
alicE_unsubscribe_1913@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-25 16:32:29.066 ***
alicE_unsubscribe_1913@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5dbf1e5137eee984' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:29.066 ***
alicE_unsubscribe_1913@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-25 16:32:29.066 ***
alicE_unsubscribe_1913@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzE5MTMAbWF0eWdyeXNh</auth>



*** User 2022-01-25 16:32:29.067 ***
alicE_unsubscribe_1913@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:29.068 ***
alicE_unsubscribe_1913@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-25 16:32:29.068 ***
alicE_unsubscribe_1913@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd60dda5f44f55e0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:29.068 ***
alicE_unsubscribe_1913@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-25 16:32:29.068 ***
alicE_unsubscribe_1913@localhost/res1 out
<iq type='set' id='3f0fbe4b24da98b259a74320b7189614'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:29.068 ***
alicE_unsubscribe_1913@localhost/res1 in
<iq id='3f0fbe4b24da98b259a74320b7189614' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_1913@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:29.068 ***
alicE_unsubscribe_1913@localhost/res1 out
<iq type='set' id='ee90af6f95a669d92ce2d9b2ca0f9bc4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:29.069 ***
alicE_unsubscribe_1913@localhost/res1 in
<iq type='result' id='ee90af6f95a669d92ce2d9b2ca0f9bc4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:29.069 ***
alicE_unsubscribe_1913@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:29.070 ***
alicE_unsubscribe_1913@localhost/res1 in
<presence from='alicE_unsubscribe_1913@localhost/res1' to='alice_unsubscribe_1913@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:29.071 ***
bOb_unsubscribe_1913@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-25 16:32:29.071 ***
bOb_unsubscribe_1913@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0afb724c18178322' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:29.071 ***
bOb_unsubscribe_1913@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-25 16:32:29.071 ***
bOb_unsubscribe_1913@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xOTEzAG1ha3JvbGlrYQ==</auth>



*** User 2022-01-25 16:32:29.072 ***
bOb_unsubscribe_1913@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:32:29.072 ***
bOb_unsubscribe_1913@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-25 16:32:29.073 ***
bOb_unsubscribe_1913@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4648160b3d9dfc25' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:32:29.073 ***
bOb_unsubscribe_1913@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-25 16:32:29.073 ***
bOb_unsubscribe_1913@localhost/res1 out
<iq type='set' id='0f832764a5f9ed54e02fffbbf7716405'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:32:29.073 ***
bOb_unsubscribe_1913@localhost/res1 in
<iq id='0f832764a5f9ed54e02fffbbf7716405' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_1913@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:32:29.073 ***
bOb_unsubscribe_1913@localhost/res1 out
<iq type='set' id='b9212cefa02f68893c27297769a2eb01'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:29.074 ***
bOb_unsubscribe_1913@localhost/res1 in
<iq type='result' id='b9212cefa02f68893c27297769a2eb01'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:32:29.074 ***
bOb_unsubscribe_1913@localhost/res1 out
<presence/>



*** User 2022-01-25 16:32:29.076 ***
bOb_unsubscribe_1913@localhost/res1 in
<presence from='bOb_unsubscribe_1913@localhost/res1' to='bob_unsubscribe_1913@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:29.076 ***
alicE_unsubscribe_1913@localhost/res1 out
<iq type='set' id='44ca30f36d632b7484d43532afb2f9a0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_1913@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:29.155 ***
alicE_unsubscribe_1913@localhost/res1 in
<iq from='alicE_unsubscribe_1913@localhost' to='alicE_unsubscribe_1913@localhost/res1' id='push91e9e5497442501e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1913@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:29.155 ***
alicE_unsubscribe_1913@localhost/res1 in
<iq from='alicE_unsubscribe_1913@localhost' to='alicE_unsubscribe_1913@localhost/res1' id='44ca30f36d632b7484d43532afb2f9a0' type='result'/>



*** User 2022-01-25 16:32:29.155 ***
alicE_unsubscribe_1913@localhost/res1 out
<iq to='alicE_unsubscribe_1913@localhost' id='push91e9e5497442501e' type='result'/>



*** User 2022-01-25 16:32:29.155 ***
alicE_unsubscribe_1913@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1913@localhost'/>



*** User 2022-01-25 16:32:29.207 ***
alicE_unsubscribe_1913@localhost/res1 in
<iq from='alicE_unsubscribe_1913@localhost' to='alicE_unsubscribe_1913@localhost/res1' id='push6780c2103cc366c7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1913@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:29.207 ***
alicE_unsubscribe_1913@localhost/res1 out
<iq to='alicE_unsubscribe_1913@localhost' id='push6780c2103cc366c7' type='result'/>



*** User 2022-01-25 16:32:29.207 ***
bOb_unsubscribe_1913@localhost/res1 in
<presence from='alicE_unsubscribe_1913@localhost' to='bOb_unsubscribe_1913@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-25 16:32:29.207 ***
bOb_unsubscribe_1913@localhost/res1 out
<iq type='set' id='d4c37299d6de365d09b4ffb8b1e85334'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_1913@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:29.224 ***
bOb_unsubscribe_1913@localhost/res1 in
<iq from='bOb_unsubscribe_1913@localhost' to='bOb_unsubscribe_1913@localhost/res1' id='push1f5417c25b75268f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1913@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:29.224 ***
bOb_unsubscribe_1913@localhost/res1 out
<iq to='bOb_unsubscribe_1913@localhost' id='push1f5417c25b75268f' type='result'/>



*** User 2022-01-25 16:32:29.224 ***
bOb_unsubscribe_1913@localhost/res1 in
<iq from='bOb_unsubscribe_1913@localhost' to='bOb_unsubscribe_1913@localhost/res1' id='d4c37299d6de365d09b4ffb8b1e85334' type='result'/>



*** User 2022-01-25 16:32:29.224 ***
bOb_unsubscribe_1913@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1913@localhost'/>



*** User 2022-01-25 16:32:29.232 ***
alicE_unsubscribe_1913@localhost/res1 in
<iq from='alicE_unsubscribe_1913@localhost' to='alicE_unsubscribe_1913@localhost/res1' id='push5628f70350c3a195' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_1913@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:29.232 ***
alicE_unsubscribe_1913@localhost/res1 in
<presence from='bOb_unsubscribe_1913@localhost' to='alicE_unsubscribe_1913@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-25 16:32:29.232 ***
alicE_unsubscribe_1913@localhost/res1 in
<presence from='bOb_unsubscribe_1913@localhost/res1' to='alice_unsubscribe_1913@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:32:29.232 ***
bOb_unsubscribe_1913@localhost/res1 in
<iq from='bOb_unsubscribe_1913@localhost' to='bOb_unsubscribe_1913@localhost/res1' id='pusha2583031a64a1bc0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1913@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:29.232 ***
alicE_unsubscribe_1913@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1913@localhost'/>



*** User 2022-01-25 16:32:29.257 ***
alicE_unsubscribe_1913@localhost/res1 in
<iq from='alicE_unsubscribe_1913@localhost' to='alicE_unsubscribe_1913@localhost/res1' id='push5eb896640c4e86a7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1913@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:29.257 ***
alicE_unsubscribe_1913@localhost/res1 out
<iq to='alicE_unsubscribe_1913@localhost' id='push5eb896640c4e86a7' type='result'/>



*** User 2022-01-25 16:32:29.257 ***
bOb_unsubscribe_1913@localhost/res1 in
<iq from='bOb_unsubscribe_1913@localhost' to='bOb_unsubscribe_1913@localhost/res1' id='push60c262c43aeb9ccb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1913@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:32:29.258 ***
bOb_unsubscribe_1913@localhost/res1 in
<presence from='alicE_unsubscribe_1913@localhost' to='bOb_unsubscribe_1913@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-01-25 16:32:29.258 ***
alicE_unsubscribe_1913@localhost/res1 in
<presence from='bOb_unsubscribe_1913@localhost/res1' to='alice_unsubscribe_1913@localhost/res1' type='unavailable'/>



*** User 2022-01-25 16:32:29.258 ***
bOb_unsubscribe_1913@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:29.258 ***
bOb_unsubscribe_1913@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:32:29.258 ***
alicE_unsubscribe_1913@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:32:29.258 ***
alicE_unsubscribe_1913@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:32:29.267 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2377.html
*** CT 2022-01-25 16:32:29.268 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5461.html



=== Ended at 2022-01-25 16:32:29
=== successfully completed test case
=== === Returned value: ok