=== Test case: presence_SUITE:remove_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.remove_unsubscribe.22916.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.641 *** View log from node mongooseim@localhost when started mongooseim@localhost_4888.html
*** CT 2022-05-25 10:49:18.642 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1997.html

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

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



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



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

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



*** User 2022-05-25 10:49:18.660 ***
alicE_remove_unsubscribe_1253@localhost/res1 in
<iq id='66069f0a1f1557369a4375746139fcc7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_1253@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:49:18.660 ***
alice_remove_unsubscribe_1253@localhost/res1 out
<iq type='set' id='5d263dd73e912ff7e226fb6bc051998e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:49:18.674 ***
alice_remove_unsubscribe_1253@localhost/res1 in
<iq type='result' id='5d263dd73e912ff7e226fb6bc051998e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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

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



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



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

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



*** User 2022-05-25 10:49:18.679 ***
bOb_remove_unsubscribe_1253@localhost/res1 in
<iq id='972ac28c8a2668de87240c4a191a47fa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_1253@localhost/res1</jid>
	</bind>
</iq>



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



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



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



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



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



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



*** User 2022-05-25 10:49:18.694 ***
alice_remove_unsubscribe_1253@localhost/res1 in
<iq from='alice_remove_unsubscribe_1253@localhost' to='alice_remove_unsubscribe_1253@localhost/res1' id='3ddf874ca098a5a19412e757a4c88208' type='result'/>



*** User 2022-05-25 10:49:18.694 ***
alice_remove_unsubscribe_1253@localhost/res1 out
<iq to='alice_remove_unsubscribe_1253@localhost' id='push2242a4533a171dd4' type='result'/>



*** User 2022-05-25 10:49:18.695 ***
alice_remove_unsubscribe_1253@localhost/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_1253@localhost'/>



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



*** User 2022-05-25 10:49:18.778 ***
alice_remove_unsubscribe_1253@localhost/res1 out
<iq to='alice_remove_unsubscribe_1253@localhost' id='pushc52fb1165b88fb63' type='result'/>



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



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



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



*** User 2022-05-25 10:49:18.783 ***
bob_remove_unsubscribe_1253@localhost/res1 out
<iq to='bob_remove_unsubscribe_1253@localhost' id='push8451940d3b273474' type='result'/>



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



*** User 2022-05-25 10:49:18.783 ***
bob_remove_unsubscribe_1253@localhost/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_1253@localhost'/>



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



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



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



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



*** User 2022-05-25 10:49:18.877 ***
alice_remove_unsubscribe_1253@localhost/res1 out
<iq type='set' id='83df310553b2a9cbfdd4d249116a4720'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_1253@localhost' subscription='remove'/>
	</query>
</iq>



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



*** User 2022-05-25 10:49:18.884 ***
alice_remove_unsubscribe_1253@localhost/res1 in
<presence from='bob_remove_unsubscribe_1253@localhost/res1' to='alice_remove_unsubscribe_1253@localhost/res1' type='unavailable'/>



*** User 2022-05-25 10:49:18.884 ***
alice_remove_unsubscribe_1253@localhost/res1 in
<iq from='alice_remove_unsubscribe_1253@localhost' to='alice_remove_unsubscribe_1253@localhost/res1' id='83df310553b2a9cbfdd4d249116a4720' type='result'/>



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



*** User 2022-05-25 10:49:18.884 ***
bob_remove_unsubscribe_1253@localhost/res1 in
<presence from='alice_remove_unsubscribe_1253@localhost' to='bob_remove_unsubscribe_1253@localhost/res1' type='unsubscribe'/>



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

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

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

*** User 2022-05-25 10:49:18.885 ***
alice_remove_unsubscribe_1253@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:49:18.983 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1997.html
*** CT 2022-05-25 10:49:18.992 *** 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