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

=== Config value:

    [{watchdog,<0.13541.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.presence_SUITE.logs/run.2022-05-25_10.49.16/presence_suite.unsubscribe.18949.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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.presence_SUITE.logs/run.2022-05-25_10.49.16/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@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:49:18


*** CT 2022-05-25 10:49:18.640 *** View log from node mongooseim@localhost when started mongooseim@localhost_4888.html
*** CT 2022-05-25 10:49:18.640 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1997.html

*** User 2022-05-25 10:49:18.652 ***
alicE_unsubscribe_1252@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-05-25 10:49:18.652 ***
alicE_unsubscribe_1252@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='48f83b41be28281b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:18.652 ***
alicE_unsubscribe_1252@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-05-25 10:49:18.653 ***
alicE_unsubscribe_1252@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzEyNTIAbWF0eWdyeXNh</auth>



*** User 2022-05-25 10:49:18.654 ***
alicE_unsubscribe_1252@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:49:18.654 ***
alicE_unsubscribe_1252@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-05-25 10:49:18.654 ***
alicE_unsubscribe_1252@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6a8ff30bb9f68638' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:18.654 ***
alicE_unsubscribe_1252@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-05-25 10:49:18.654 ***
alicE_unsubscribe_1252@localhost/res1 out
<iq type='set' id='da21d1a9fc946b5b71208b22a46177a9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:49:18.674 ***
alicE_unsubscribe_1252@localhost/res1 in
<iq id='da21d1a9fc946b5b71208b22a46177a9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_1252@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:49:18.674 ***
alice_unsubscribe_1252@localhost/res1 out
<iq type='set' id='6e52fa1d47d87bbcec23b9528badb92e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:18.675 ***
alice_unsubscribe_1252@localhost/res1 in
<iq type='result' id='6e52fa1d47d87bbcec23b9528badb92e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:18.675 ***
alice_unsubscribe_1252@localhost/res1 out
<presence/>



*** User 2022-05-25 10:49:18.677 ***
alice_unsubscribe_1252@localhost/res1 in
<presence from='alice_unsubscribe_1252@localhost/res1' to='alice_unsubscribe_1252@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:18.677 ***
bOb_unsubscribe_1252@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-05-25 10:49:18.677 ***
bOb_unsubscribe_1252@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4aa947f2e610847e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:18.677 ***
bOb_unsubscribe_1252@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-05-25 10:49:18.677 ***
bOb_unsubscribe_1252@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xMjUyAG1ha3JvbGlrYQ==</auth>



*** User 2022-05-25 10:49:18.679 ***
bOb_unsubscribe_1252@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:49:18.679 ***
bOb_unsubscribe_1252@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-05-25 10:49:18.679 ***
bOb_unsubscribe_1252@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0805372a1917c0db' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:49:18.679 ***
bOb_unsubscribe_1252@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-05-25 10:49:18.679 ***
bOb_unsubscribe_1252@localhost/res1 out
<iq type='set' id='839e5cc4bd803977d7f06e02aa82591e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:49:18.680 ***
bOb_unsubscribe_1252@localhost/res1 in
<iq id='839e5cc4bd803977d7f06e02aa82591e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_1252@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:49:18.680 ***
bob_unsubscribe_1252@localhost/res1 out
<iq type='set' id='68d5f22b0dda84b0f3a124a5706e0b0d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:18.680 ***
bob_unsubscribe_1252@localhost/res1 in
<iq type='result' id='68d5f22b0dda84b0f3a124a5706e0b0d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:18.680 ***
bob_unsubscribe_1252@localhost/res1 out
<presence/>



*** User 2022-05-25 10:49:18.681 ***
bob_unsubscribe_1252@localhost/res1 in
<presence from='bob_unsubscribe_1252@localhost/res1' to='bob_unsubscribe_1252@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:18.681 ***
alice_unsubscribe_1252@localhost/res1 out
<iq type='set' id='e4c545c8b921972dbfdd7d7e1fdf4215'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_1252@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:49:18.775 ***
alice_unsubscribe_1252@localhost/res1 in
<iq from='alice_unsubscribe_1252@localhost' to='alice_unsubscribe_1252@localhost/res1' id='push287380adcbecd687' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1252@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:49:18.775 ***
alice_unsubscribe_1252@localhost/res1 in
<iq from='alice_unsubscribe_1252@localhost' to='alice_unsubscribe_1252@localhost/res1' id='e4c545c8b921972dbfdd7d7e1fdf4215' type='result'/>



*** User 2022-05-25 10:49:18.775 ***
alice_unsubscribe_1252@localhost/res1 out
<iq to='alice_unsubscribe_1252@localhost' id='push287380adcbecd687' type='result'/>



*** User 2022-05-25 10:49:18.775 ***
alice_unsubscribe_1252@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_1252@localhost'/>



*** User 2022-05-25 10:49:18.781 ***
alice_unsubscribe_1252@localhost/res1 in
<iq from='alice_unsubscribe_1252@localhost' to='alice_unsubscribe_1252@localhost/res1' id='pushe612e5fccb158569' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1252@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:49:18.781 ***
alice_unsubscribe_1252@localhost/res1 out
<iq to='alice_unsubscribe_1252@localhost' id='pushe612e5fccb158569' type='result'/>



*** User 2022-05-25 10:49:18.781 ***
bob_unsubscribe_1252@localhost/res1 in
<presence from='alice_unsubscribe_1252@localhost' to='bob_unsubscribe_1252@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-25 10:49:18.782 ***
bob_unsubscribe_1252@localhost/res1 out
<iq type='set' id='af2721c3120914609c18988f7d7d9e5d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_1252@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:49:18.792 ***
bob_unsubscribe_1252@localhost/res1 in
<iq from='bob_unsubscribe_1252@localhost' to='bob_unsubscribe_1252@localhost/res1' id='push5cec574635c84980' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1252@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:49:18.792 ***
bob_unsubscribe_1252@localhost/res1 out
<iq to='bob_unsubscribe_1252@localhost' id='push5cec574635c84980' type='result'/>



*** User 2022-05-25 10:49:18.792 ***
bob_unsubscribe_1252@localhost/res1 in
<iq from='bob_unsubscribe_1252@localhost' to='bob_unsubscribe_1252@localhost/res1' id='af2721c3120914609c18988f7d7d9e5d' type='result'/>



*** User 2022-05-25 10:49:18.792 ***
bob_unsubscribe_1252@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_1252@localhost'/>



*** User 2022-05-25 10:49:18.879 ***
alice_unsubscribe_1252@localhost/res1 in
<iq from='alice_unsubscribe_1252@localhost' to='alice_unsubscribe_1252@localhost/res1' id='push26ac8c9e76e5bc44' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_1252@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:49:18.879 ***
alice_unsubscribe_1252@localhost/res1 in
<presence from='bob_unsubscribe_1252@localhost' to='alice_unsubscribe_1252@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-25 10:49:18.879 ***
alice_unsubscribe_1252@localhost/res1 in
<presence from='bob_unsubscribe_1252@localhost/res1' to='alice_unsubscribe_1252@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:49:18.879 ***
bob_unsubscribe_1252@localhost/res1 in
<iq from='bob_unsubscribe_1252@localhost' to='bob_unsubscribe_1252@localhost/res1' id='pushb974498674a576fe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1252@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:49:18.879 ***
alice_unsubscribe_1252@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_1252@localhost'/>



*** User 2022-05-25 10:49:18.886 ***
alice_unsubscribe_1252@localhost/res1 in
<iq from='alice_unsubscribe_1252@localhost' to='alice_unsubscribe_1252@localhost/res1' id='push6038c815b2e1e949' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1252@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:49:18.886 ***
alice_unsubscribe_1252@localhost/res1 out
<iq to='alice_unsubscribe_1252@localhost' id='push6038c815b2e1e949' type='result'/>



*** User 2022-05-25 10:49:18.886 ***
bob_unsubscribe_1252@localhost/res1 in
<iq from='bob_unsubscribe_1252@localhost' to='bob_unsubscribe_1252@localhost/res1' id='push39917724d72e23a1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1252@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:49:18.886 ***
bob_unsubscribe_1252@localhost/res1 in
<presence from='alice_unsubscribe_1252@localhost' to='bob_unsubscribe_1252@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-05-25 10:49:18.886 ***
alice_unsubscribe_1252@localhost/res1 in
<presence from='bob_unsubscribe_1252@localhost/res1' to='alice_unsubscribe_1252@localhost/res1' type='unavailable'/>



*** User 2022-05-25 10:49:18.886 ***
bob_unsubscribe_1252@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:49:18.887 ***
bob_unsubscribe_1252@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:49:18.887 ***
alice_unsubscribe_1252@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:49:18.887 ***
alice_unsubscribe_1252@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:49:19.003 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1997.html
*** CT 2022-05-25 10:49:19.012 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4888.html



=== Ended at 2022-05-25 10:49:19
=== successfully completed test case
=== === Returned value: ok