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

=== Config value:

    [{watchdog,<0.4160.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.32.04/presence_suite.remove_unsubscribe.52738.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@d66972e2ee88.2022-01-27_15.24.27/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.32.04/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@d66972e2ee88.2022-01-27_15.24.27"

=== Started at 2022-01-27 15:32:05


*** CT 2022-01-27 15:32:05.776 *** View log from node mongooseim@localhost when started mongooseim@localhost_4512.html
*** CT 2022-01-27 15:32:05.778 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2322.html

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

*** User 2022-01-27 15:32:05.823 ***
alicE_remove_unsubscribe_849@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>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:32:05.824 ***
alicE_remove_unsubscribe_849@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV84NDkAbWF0eWdyeXNh</auth>



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



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

*** User 2022-01-27 15:32:05.825 ***
alicE_remove_unsubscribe_849@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:32:05.826 ***
alicE_remove_unsubscribe_849@localhost/res1 out
<iq type='set' id='96b6b2b582157e7f45276a48cc38e6c9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:32:05.826 ***
alicE_remove_unsubscribe_849@localhost/res1 in
<iq id='96b6b2b582157e7f45276a48cc38e6c9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_remove_unsubscribe_849@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:05.826 ***
alicE_remove_unsubscribe_849@localhost/res1 out
<iq type='set' id='b18ca050b273861b4cb9c3948ca822f4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:05.826 ***
alicE_remove_unsubscribe_849@localhost/res1 in
<iq type='result' id='b18ca050b273861b4cb9c3948ca822f4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:05.826 ***
alicE_remove_unsubscribe_849@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:05.827 ***
alicE_remove_unsubscribe_849@localhost/res1 in
<presence from='alicE_remove_unsubscribe_849@localhost/res1' to='alice_remove_unsubscribe_849@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:05.827 ***
bOb_remove_unsubscribe_849@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:32:05.828 ***
bOb_remove_unsubscribe_849@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='716979b2adaf7e52' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2022-01-27 15:32:05.829 ***
bOb_remove_unsubscribe_849@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:32:05.830 ***
bOb_remove_unsubscribe_849@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='78415527756ae166' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-01-27 15:32:05.830 ***
bOb_remove_unsubscribe_849@localhost/res1 in
<iq id='c4b982caee92f1aae65fe4e9c80bd9d8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_remove_unsubscribe_849@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:32:05.830 ***
bOb_remove_unsubscribe_849@localhost/res1 out
<iq type='set' id='1bd83e0936f574fb48e99e37b4015762'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:05.830 ***
bOb_remove_unsubscribe_849@localhost/res1 in
<iq type='result' id='1bd83e0936f574fb48e99e37b4015762'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:32:05.830 ***
bOb_remove_unsubscribe_849@localhost/res1 out
<presence/>



*** User 2022-01-27 15:32:05.831 ***
bOb_remove_unsubscribe_849@localhost/res1 in
<presence from='bOb_remove_unsubscribe_849@localhost/res1' to='bob_remove_unsubscribe_849@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:05.831 ***
alicE_remove_unsubscribe_849@localhost/res1 out
<iq type='set' id='00ff4159ac7138cf4dfe3a1bb8589dd6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_remove_unsubscribe_849@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:05.832 ***
alicE_remove_unsubscribe_849@localhost/res1 in
<iq from='alicE_remove_unsubscribe_849@localhost' to='alicE_remove_unsubscribe_849@localhost/res1' id='push84ce037e28a4d22c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_849@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:05.832 ***
alicE_remove_unsubscribe_849@localhost/res1 in
<iq from='alicE_remove_unsubscribe_849@localhost' to='alicE_remove_unsubscribe_849@localhost/res1' id='00ff4159ac7138cf4dfe3a1bb8589dd6' type='result'/>



*** User 2022-01-27 15:32:05.832 ***
alicE_remove_unsubscribe_849@localhost/res1 out
<iq to='alicE_remove_unsubscribe_849@localhost' id='push84ce037e28a4d22c' type='result'/>



*** User 2022-01-27 15:32:05.832 ***
alicE_remove_unsubscribe_849@localhost/res1 out
<presence type='subscribe' to='bOb_remove_unsubscribe_849@localhost'/>



*** User 2022-01-27 15:32:05.834 ***
alicE_remove_unsubscribe_849@localhost/res1 in
<iq from='alicE_remove_unsubscribe_849@localhost' to='alicE_remove_unsubscribe_849@localhost/res1' id='push49c9411953c46982' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_849@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:05.834 ***
alicE_remove_unsubscribe_849@localhost/res1 out
<iq to='alicE_remove_unsubscribe_849@localhost' id='push49c9411953c46982' type='result'/>



*** User 2022-01-27 15:32:05.834 ***
bOb_remove_unsubscribe_849@localhost/res1 in
<presence from='alicE_remove_unsubscribe_849@localhost' to='bOb_remove_unsubscribe_849@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 15:32:05.834 ***
bOb_remove_unsubscribe_849@localhost/res1 out
<iq type='set' id='b23fcd0f80b79c0386df539c472dc565'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_remove_unsubscribe_849@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:05.835 ***
bOb_remove_unsubscribe_849@localhost/res1 in
<iq from='bOb_remove_unsubscribe_849@localhost' to='bOb_remove_unsubscribe_849@localhost/res1' id='push220b92ce10a54fc9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_849@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:05.835 ***
bOb_remove_unsubscribe_849@localhost/res1 out
<iq to='bOb_remove_unsubscribe_849@localhost' id='push220b92ce10a54fc9' type='result'/>



*** User 2022-01-27 15:32:05.835 ***
bOb_remove_unsubscribe_849@localhost/res1 in
<iq from='bOb_remove_unsubscribe_849@localhost' to='bOb_remove_unsubscribe_849@localhost/res1' id='b23fcd0f80b79c0386df539c472dc565' type='result'/>



*** User 2022-01-27 15:32:05.835 ***
bOb_remove_unsubscribe_849@localhost/res1 out
<presence type='subscribed' to='alicE_remove_unsubscribe_849@localhost'/>



*** User 2022-01-27 15:32:05.837 ***
alicE_remove_unsubscribe_849@localhost/res1 in
<iq from='alicE_remove_unsubscribe_849@localhost' to='alicE_remove_unsubscribe_849@localhost/res1' id='push7584b562c4124462' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_849@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:05.837 ***
alicE_remove_unsubscribe_849@localhost/res1 in
<presence from='bOb_remove_unsubscribe_849@localhost' to='alicE_remove_unsubscribe_849@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 15:32:05.837 ***
alicE_remove_unsubscribe_849@localhost/res1 in
<presence from='bOb_remove_unsubscribe_849@localhost/res1' to='alice_remove_unsubscribe_849@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:32:05.837 ***
bOb_remove_unsubscribe_849@localhost/res1 in
<iq from='bOb_remove_unsubscribe_849@localhost' to='bOb_remove_unsubscribe_849@localhost/res1' id='push0fccfdf142f0eb72' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_849@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:05.837 ***
alicE_remove_unsubscribe_849@localhost/res1 out
<iq type='set' id='e34858fe65a3e9c41a073770bc640c23'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_remove_unsubscribe_849@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2022-01-27 15:32:05.837 ***
alicE_remove_unsubscribe_849@localhost/res1 in
<iq from='alicE_remove_unsubscribe_849@localhost' to='alicE_remove_unsubscribe_849@localhost/res1' id='pushe19a825dfadcf81f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_849@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:05.839 ***
alicE_remove_unsubscribe_849@localhost/res1 in
<presence from='bOb_remove_unsubscribe_849@localhost/res1' to='alice_remove_unsubscribe_849@localhost/res1' type='unavailable'/>



*** User 2022-01-27 15:32:05.839 ***
alicE_remove_unsubscribe_849@localhost/res1 in
<iq from='alicE_remove_unsubscribe_849@localhost' to='alicE_remove_unsubscribe_849@localhost/res1' id='e34858fe65a3e9c41a073770bc640c23' type='result'/>



*** User 2022-01-27 15:32:05.839 ***
bOb_remove_unsubscribe_849@localhost/res1 in
<iq from='bob_remove_unsubscribe_849@localhost' to='bob_remove_unsubscribe_849@localhost/res1' id='push6e997260dfdb0103' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_849@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:32:05.839 ***
bOb_remove_unsubscribe_849@localhost/res1 in
<presence from='alicE_remove_unsubscribe_849@localhost' to='bob_remove_unsubscribe_849@localhost/res1' type='unsubscribe'/>



*** User 2022-01-27 15:32:05.839 ***
bOb_remove_unsubscribe_849@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:05.839 ***
bOb_remove_unsubscribe_849@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:32:05.839 ***
alicE_remove_unsubscribe_849@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:32:05.839 ***
alicE_remove_unsubscribe_849@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:32:05.848 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2322.html
*** CT 2022-01-27 15:32:05.850 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4512.html



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