=== Test case: presence_SUITE:remove_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.remove_unsubscribe.37507.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.350 *** View log from node mongooseim@localhost when started mongooseim@localhost_4762.html
*** CT 2022-01-27 15:33:58.351 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2357.html

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

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



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



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

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



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



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



*** User 2022-01-27 15:33:58.360 ***
alicE_remove_unsubscribe_1057@localhost/res1 in
<iq type='result' id='3e8fda22047bf769ee497dcc61f2d875'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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

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



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



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

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



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



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



*** User 2022-01-27 15:33:58.363 ***
bOb_remove_unsubscribe_1057@localhost/res1 in
<iq type='result' id='3de876f17595920eabca5e7f5e843477'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



*** User 2022-01-27 15:33:58.364 ***
alicE_remove_unsubscribe_1057@localhost/res1 out
<iq type='set' id='f57038859939261575da19e55de19156'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_remove_unsubscribe_1057@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



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



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



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



*** User 2022-01-27 15:33:58.365 ***
alicE_remove_unsubscribe_1057@localhost/res1 out
<presence type='subscribe' to='bOb_remove_unsubscribe_1057@localhost'/>



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



*** User 2022-01-27 15:33:58.367 ***
alicE_remove_unsubscribe_1057@localhost/res1 out
<iq to='alicE_remove_unsubscribe_1057@localhost' id='push601d0e33beaece1f' type='result'/>



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



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



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



*** User 2022-01-27 15:33:58.368 ***
bOb_remove_unsubscribe_1057@localhost/res1 out
<iq to='bOb_remove_unsubscribe_1057@localhost' id='push98508621df768754' type='result'/>



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



*** User 2022-01-27 15:33:58.368 ***
bOb_remove_unsubscribe_1057@localhost/res1 out
<presence type='subscribed' to='alicE_remove_unsubscribe_1057@localhost'/>



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



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



*** User 2022-01-27 15:33:58.370 ***
alicE_remove_unsubscribe_1057@localhost/res1 in
<presence from='bOb_remove_unsubscribe_1057@localhost/res1' to='alice_remove_unsubscribe_1057@localhost/res1' xml:lang='en'/>



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



*** User 2022-01-27 15:33:58.370 ***
alicE_remove_unsubscribe_1057@localhost/res1 out
<iq type='set' id='06b1afdd4fe59e22357726b5538194d6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_remove_unsubscribe_1057@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2022-01-27 15:33:58.371 ***
alicE_remove_unsubscribe_1057@localhost/res1 in
<iq from='alicE_remove_unsubscribe_1057@localhost' to='alicE_remove_unsubscribe_1057@localhost/res1' id='pushbbea9467359c759c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_1057@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:33:58.371 ***
alicE_remove_unsubscribe_1057@localhost/res1 in
<presence from='bOb_remove_unsubscribe_1057@localhost/res1' to='alice_remove_unsubscribe_1057@localhost/res1' type='unavailable'/>



*** User 2022-01-27 15:33:58.371 ***
alicE_remove_unsubscribe_1057@localhost/res1 in
<iq from='alicE_remove_unsubscribe_1057@localhost' to='alicE_remove_unsubscribe_1057@localhost/res1' id='06b1afdd4fe59e22357726b5538194d6' type='result'/>



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



*** User 2022-01-27 15:33:58.372 ***
bOb_remove_unsubscribe_1057@localhost/res1 in
<presence from='alicE_remove_unsubscribe_1057@localhost' to='bob_remove_unsubscribe_1057@localhost/res1' type='unsubscribe'/>



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

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

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

*** User 2022-01-27 15:33:58.373 ***
alicE_remove_unsubscribe_1057@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:33:58.379 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2357.html
*** CT 2022-01-27 15:33:58.380 *** 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