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

=== Config value:

    [{watchdog,<0.16577.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"elasticsearch_and_cassandra_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.presence_SUITE.logs/run.2022-06-22_09.27.19/presence_suite.remove_unsubscribe.62595.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@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.presence_SUITE.logs/run.2022-06-22_09.27.19/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@47358c7e636c.2022-06-22_09.17.07"

=== Started at 2022-06-22 09:27:20


*** CT 2022-06-22 09:27:20.689 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4510.html
*** CT 2022-06-22 09:27:20.689 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_2022.html

*** User 2022-06-22 09:27:20.694 ***🔗
alicE_remove_unsubscribe_1376@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 09:27:20.694 ***🔗
alicE_remove_unsubscribe_1376@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3ba62700da96a2b6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.695 ***🔗
alicE_remove_unsubscribe_1376@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 09:27:20.695 ***🔗
alicE_remove_unsubscribe_1376@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8xMzc2AG1hdHlncnlzYQ==</auth>



*** User 2022-06-22 09:27:20.695 ***🔗
alicE_remove_unsubscribe_1376@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:27:20.695 ***🔗
alicE_remove_unsubscribe_1376@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 09:27:20.696 ***🔗
alicE_remove_unsubscribe_1376@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='214a080dcb1d5cc3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.696 ***🔗
alicE_remove_unsubscribe_1376@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 09:27:20.696 ***🔗
alicE_remove_unsubscribe_1376@localhost/res1 out
<iq type='set' id='f917b7e1c94525c27fba70b52c9c8c3d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.696 ***🔗
alicE_remove_unsubscribe_1376@localhost/res1 in
<iq id='f917b7e1c94525c27fba70b52c9c8c3d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_1376@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.696 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 out
<iq type='set' id='7aaa90f0b6b8aaca8a054a51831995bb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.699 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 in
<iq type='result' id='7aaa90f0b6b8aaca8a054a51831995bb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.699 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 out
<presence/>



*** User 2022-06-22 09:27:20.700 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 in
<presence from='alice_remove_unsubscribe_1376@localhost/res1' to='alice_remove_unsubscribe_1376@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:27:20.701 ***🔗
bOb_remove_unsubscribe_1376@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 09:27:20.701 ***🔗
bOb_remove_unsubscribe_1376@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ea100ba061a12770' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.702 ***🔗
bOb_remove_unsubscribe_1376@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 09:27:20.702 ***🔗
bOb_remove_unsubscribe_1376@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMTM3NgBtYWtyb2xpa2E=</auth>



*** User 2022-06-22 09:27:20.702 ***🔗
bOb_remove_unsubscribe_1376@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:27:20.702 ***🔗
bOb_remove_unsubscribe_1376@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 09:27:20.703 ***🔗
bOb_remove_unsubscribe_1376@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bce5bd5050ba6c37' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.703 ***🔗
bOb_remove_unsubscribe_1376@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 09:27:20.703 ***🔗
bOb_remove_unsubscribe_1376@localhost/res1 out
<iq type='set' id='1660e79dae5985763dedf48eaf844728'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.704 ***🔗
bOb_remove_unsubscribe_1376@localhost/res1 in
<iq id='1660e79dae5985763dedf48eaf844728' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_1376@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.704 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 out
<iq type='set' id='ba98e2cb34486cca2bb3fb09160bd63b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.704 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 in
<iq type='result' id='ba98e2cb34486cca2bb3fb09160bd63b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.704 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 out
<presence/>



*** User 2022-06-22 09:27:20.705 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 in
<presence from='bob_remove_unsubscribe_1376@localhost/res1' to='bob_remove_unsubscribe_1376@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:27:20.705 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 out
<iq type='set' id='52e941fdab728eace75a0fd0fcbe8bdc'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_1376@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.706 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 in
<iq from='alice_remove_unsubscribe_1376@localhost' to='alice_remove_unsubscribe_1376@localhost/res1' id='push65d888ea4cd03422' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_1376@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.706 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 in
<iq from='alice_remove_unsubscribe_1376@localhost' to='alice_remove_unsubscribe_1376@localhost/res1' id='52e941fdab728eace75a0fd0fcbe8bdc' type='result'/>



*** User 2022-06-22 09:27:20.706 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 out
<iq to='alice_remove_unsubscribe_1376@localhost' id='push65d888ea4cd03422' type='result'/>



*** User 2022-06-22 09:27:20.706 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_1376@localhost'/>



*** User 2022-06-22 09:27:20.708 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 in
<iq from='alice_remove_unsubscribe_1376@localhost' to='alice_remove_unsubscribe_1376@localhost/res1' id='pusheead527ad59d5064' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_1376@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.708 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 out
<iq to='alice_remove_unsubscribe_1376@localhost' id='pusheead527ad59d5064' type='result'/>



*** User 2022-06-22 09:27:20.708 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 in
<presence from='alice_remove_unsubscribe_1376@localhost' to='bob_remove_unsubscribe_1376@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-06-22 09:27:20.709 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 out
<iq type='set' id='9ef43bcc9a942e254c55e76b7f221ebf'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_1376@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.709 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 in
<iq from='bob_remove_unsubscribe_1376@localhost' to='bob_remove_unsubscribe_1376@localhost/res1' id='pusha353dbb301fcde4b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_1376@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.709 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 out
<iq to='bob_remove_unsubscribe_1376@localhost' id='pusha353dbb301fcde4b' type='result'/>



*** User 2022-06-22 09:27:20.709 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 in
<iq from='bob_remove_unsubscribe_1376@localhost' to='bob_remove_unsubscribe_1376@localhost/res1' id='9ef43bcc9a942e254c55e76b7f221ebf' type='result'/>



*** User 2022-06-22 09:27:20.709 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_1376@localhost'/>



*** User 2022-06-22 09:27:20.710 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 in
<iq from='alice_remove_unsubscribe_1376@localhost' to='alice_remove_unsubscribe_1376@localhost/res1' id='pusha06b78d5827ae73a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_1376@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.710 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 in
<presence from='bob_remove_unsubscribe_1376@localhost' to='alice_remove_unsubscribe_1376@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-06-22 09:27:20.711 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 in
<presence from='bob_remove_unsubscribe_1376@localhost/res1' to='alice_remove_unsubscribe_1376@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:27:20.711 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 in
<iq from='bob_remove_unsubscribe_1376@localhost' to='bob_remove_unsubscribe_1376@localhost/res1' id='push78030ce5f0eb4a86' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_1376@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.711 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 out
<iq type='set' id='4e063c42e3c89ddb6a310a82aec83609'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_1376@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2022-06-22 09:27:20.712 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 in
<iq from='alice_remove_unsubscribe_1376@localhost' to='alice_remove_unsubscribe_1376@localhost/res1' id='push9f42395d80701ce6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_1376@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.712 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 in
<presence from='bob_remove_unsubscribe_1376@localhost/res1' to='alice_remove_unsubscribe_1376@localhost/res1' type='unavailable'/>



*** User 2022-06-22 09:27:20.712 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 in
<iq from='alice_remove_unsubscribe_1376@localhost' to='alice_remove_unsubscribe_1376@localhost/res1' id='4e063c42e3c89ddb6a310a82aec83609' type='result'/>



*** User 2022-06-22 09:27:20.712 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 in
<iq from='bob_remove_unsubscribe_1376@localhost' to='bob_remove_unsubscribe_1376@localhost/res1' id='pushbc252ddd935aea26' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_1376@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.712 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 in
<presence from='alice_remove_unsubscribe_1376@localhost' to='bob_remove_unsubscribe_1376@localhost/res1' type='unsubscribe'/>



*** User 2022-06-22 09:27:20.712 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:27:20.713 ***🔗
bob_remove_unsubscribe_1376@localhost/res1 in
</stream:stream>

*** User 2022-06-22 09:27:20.713 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:27:20.713 ***🔗
alice_remove_unsubscribe_1376@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 09:27:20.715 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_2022.html
*** CT 2022-06-22 09:27:20.716 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4510.html



=== Ended at 2022-06-22 09:27:20
=== successfully completed test case
=== === Returned value: ok