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

=== Config value:

    [{watchdog,<0.14759.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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.presence_SUITE.logs/run.2022-06-22_08.55.24/presence_suite.remove_unsubscribe.18821.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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.presence_SUITE.logs/run.2022-06-22_08.55.24/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@838f153dfbc9.2022-06-22_08.43.58"

=== Started at 2022-06-22 08:55:26


*** CT 2022-06-22 08:55:26.640 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4303.html
*** CT 2022-06-22 08:55:26.641 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_1988.html

*** User 2022-06-22 08:55:26.666 ***🔗
alicE_remove_unsubscribe_1383@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-06-22 08:55:26.666 ***🔗
alicE_remove_unsubscribe_1383@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e0391bae8bbfee19' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.666 ***🔗
alicE_remove_unsubscribe_1383@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-06-22 08:55:26.666 ***🔗
alicE_remove_unsubscribe_1383@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8xMzgzAG1hdHlncnlzYQ==</auth>



*** User 2022-06-22 08:55:26.668 ***🔗
alicE_remove_unsubscribe_1383@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:55:26.668 ***🔗
alicE_remove_unsubscribe_1383@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-06-22 08:55:26.669 ***🔗
alicE_remove_unsubscribe_1383@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8b02f2d0e6fded33' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.669 ***🔗
alicE_remove_unsubscribe_1383@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-06-22 08:55:26.669 ***🔗
alicE_remove_unsubscribe_1383@localhost/res1 out
<iq type='set' id='7d903a93a31ebfe71e8de0456f11b492'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.669 ***🔗
alicE_remove_unsubscribe_1383@localhost/res1 in
<iq id='7d903a93a31ebfe71e8de0456f11b492' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_1383@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.669 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 out
<iq type='set' id='26bf4ff6d318475ecd6ce79ea038637c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.670 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 in
<iq type='result' id='26bf4ff6d318475ecd6ce79ea038637c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.670 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 out
<presence/>



*** User 2022-06-22 08:55:26.757 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 in
<presence from='alice_remove_unsubscribe_1383@localhost/res1' to='alice_remove_unsubscribe_1383@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:55:26.758 ***🔗
bOb_remove_unsubscribe_1383@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-06-22 08:55:26.759 ***🔗
bOb_remove_unsubscribe_1383@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3e2179e4c017456e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.759 ***🔗
bOb_remove_unsubscribe_1383@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-06-22 08:55:26.759 ***🔗
bOb_remove_unsubscribe_1383@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMTM4MwBtYWtyb2xpa2E=</auth>



*** User 2022-06-22 08:55:26.761 ***🔗
bOb_remove_unsubscribe_1383@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:55:26.761 ***🔗
bOb_remove_unsubscribe_1383@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-06-22 08:55:26.761 ***🔗
bOb_remove_unsubscribe_1383@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d44f6adc612fa912' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.761 ***🔗
bOb_remove_unsubscribe_1383@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-06-22 08:55:26.761 ***🔗
bOb_remove_unsubscribe_1383@localhost/res1 out
<iq type='set' id='150d9d064d88236e87116ab3fe248f63'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.761 ***🔗
bOb_remove_unsubscribe_1383@localhost/res1 in
<iq id='150d9d064d88236e87116ab3fe248f63' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_1383@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.762 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 out
<iq type='set' id='389c95b87d811b8c900bf7f415fd704b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.762 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 in
<iq type='result' id='389c95b87d811b8c900bf7f415fd704b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.762 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 out
<presence/>



*** User 2022-06-22 08:55:26.764 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 in
<presence from='bob_remove_unsubscribe_1383@localhost/res1' to='bob_remove_unsubscribe_1383@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:55:26.764 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 out
<iq type='set' id='f4c98987a19250fda5b1423c6c4958a5'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_1383@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.770 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 in
<iq from='alice_remove_unsubscribe_1383@localhost' to='alice_remove_unsubscribe_1383@localhost/res1' id='pushe453f45b2494b790' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_1383@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.770 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 in
<iq from='alice_remove_unsubscribe_1383@localhost' to='alice_remove_unsubscribe_1383@localhost/res1' id='f4c98987a19250fda5b1423c6c4958a5' type='result'/>



*** User 2022-06-22 08:55:26.770 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 out
<iq to='alice_remove_unsubscribe_1383@localhost' id='pushe453f45b2494b790' type='result'/>



*** User 2022-06-22 08:55:26.770 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_1383@localhost'/>



*** User 2022-06-22 08:55:26.860 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 in
<iq from='alice_remove_unsubscribe_1383@localhost' to='alice_remove_unsubscribe_1383@localhost/res1' id='push6c501b951838d4e5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_1383@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.860 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 out
<iq to='alice_remove_unsubscribe_1383@localhost' id='push6c501b951838d4e5' type='result'/>



*** User 2022-06-22 08:55:26.860 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 in
<presence from='alice_remove_unsubscribe_1383@localhost' to='bob_remove_unsubscribe_1383@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-06-22 08:55:26.860 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 out
<iq type='set' id='122796c7bdd367a661f1587b77310d5e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_1383@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.865 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 in
<iq from='bob_remove_unsubscribe_1383@localhost' to='bob_remove_unsubscribe_1383@localhost/res1' id='pushcd0998319a002eba' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_1383@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.865 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 out
<iq to='bob_remove_unsubscribe_1383@localhost' id='pushcd0998319a002eba' type='result'/>



*** User 2022-06-22 08:55:26.865 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 in
<iq from='bob_remove_unsubscribe_1383@localhost' to='bob_remove_unsubscribe_1383@localhost/res1' id='122796c7bdd367a661f1587b77310d5e' type='result'/>



*** User 2022-06-22 08:55:26.866 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_1383@localhost'/>



*** User 2022-06-22 08:55:26.956 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 in
<iq from='alice_remove_unsubscribe_1383@localhost' to='alice_remove_unsubscribe_1383@localhost/res1' id='push7ae3f4b069874d29' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_1383@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.956 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 in
<presence from='bob_remove_unsubscribe_1383@localhost' to='alice_remove_unsubscribe_1383@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-06-22 08:55:26.957 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 in
<presence from='bob_remove_unsubscribe_1383@localhost/res1' to='alice_remove_unsubscribe_1383@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:55:26.957 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 in
<iq from='bob_remove_unsubscribe_1383@localhost' to='bob_remove_unsubscribe_1383@localhost/res1' id='pushf39b6420745f7a1d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_1383@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.957 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 out
<iq type='set' id='6cf07bd104e4c01fb5f5504bb8c4605b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_1383@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2022-06-22 08:55:26.960 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 in
<iq from='alice_remove_unsubscribe_1383@localhost' to='alice_remove_unsubscribe_1383@localhost/res1' id='pushd78c01307ab5b738' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_1383@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.966 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 in
<iq from='alice_remove_unsubscribe_1383@localhost' to='alice_remove_unsubscribe_1383@localhost/res1' id='6cf07bd104e4c01fb5f5504bb8c4605b' type='result'/>



*** User 2022-06-22 08:55:26.966 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 in
<presence from='bob_remove_unsubscribe_1383@localhost/res1' to='alice_remove_unsubscribe_1383@localhost/res1' type='unavailable'/>



*** User 2022-06-22 08:55:26.966 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 in
<iq from='bob_remove_unsubscribe_1383@localhost' to='bob_remove_unsubscribe_1383@localhost/res1' id='push2c50a63fada10429' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_1383@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.966 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 in
<presence from='alice_remove_unsubscribe_1383@localhost' to='bob_remove_unsubscribe_1383@localhost/res1' type='unsubscribe'/>



*** User 2022-06-22 08:55:26.967 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 out
</stream:stream>

*** User 2022-06-22 08:55:26.967 ***🔗
bob_remove_unsubscribe_1383@localhost/res1 in
</stream:stream>

*** User 2022-06-22 08:55:26.967 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 out
</stream:stream>

*** User 2022-06-22 08:55:26.967 ***🔗
alice_remove_unsubscribe_1383@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 08:55:26.969 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_1988.html
*** CT 2022-06-22 08:55:26.970 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4303.html



=== Ended at 2022-06-22 08:55:26
=== successfully completed test case
=== === Returned value: ok