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

=== Config value:

    [{watchdog,<0.74705.0>},
     {preset,"odbc_mssql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@e84896a28784.2023-12-20_12.31.47/big_tests.tests.presence_SUITE.logs/run.2023-12-20_12.46.56/presence_suite.remove_unsubscribe.208002.html"},
     {tc_group_properties,[{name,subscribe_group},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@e84896a28784.2023-12-20_12.31.47/big_tests.tests.presence_SUITE.logs/run.2023-12-20_12.46.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@e84896a28784.2023-12-20_12.31.47"

=== Started at 2023-12-20 12:46:58


*** CT 2023-12-20 12:46:58.214 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4766.html

*** User 2023-12-20 12:46:58.224 ***🔗
alicE_remove_unsubscribe_2732@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-20 12:46:58.224 ***🔗
alicE_remove_unsubscribe_2732@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7576ec5903606a92' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-20 12:46:58.225 ***🔗
alicE_remove_unsubscribe_2732@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-12-20 12:46:58.225 ***🔗
alicE_remove_unsubscribe_2732@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yNzMyAG1hdHlncnlzYQ==</auth>



*** User 2023-12-20 12:46:58.226 ***🔗
alicE_remove_unsubscribe_2732@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-20 12:46:58.227 ***🔗
alicE_remove_unsubscribe_2732@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-20 12:46:58.227 ***🔗
alicE_remove_unsubscribe_2732@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dba8054d344f4cbf' from='localhost' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2732@localhost'>

*** User 2023-12-20 12:46:58.227 ***🔗
alicE_remove_unsubscribe_2732@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-12-20 12:46:58.227 ***🔗
alicE_remove_unsubscribe_2732@localhost/res1 out
<iq type='set' id='ef257734db3db0c16d0a4070bd1cd2aa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-20 12:46:58.227 ***🔗
alicE_remove_unsubscribe_2732@localhost/res1 in
<iq id='ef257734db3db0c16d0a4070bd1cd2aa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_2732@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-20 12:46:58.228 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 out
<iq type='set' id='926f870fb39fa1891cf4fd20a36c49df'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-20 12:46:58.228 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 in
<iq from='localhost' to='alice_remove_unsubscribe_2732@localhost/res1' id='926f870fb39fa1891cf4fd20a36c49df' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-20 12:46:58.228 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 out
<presence/>



*** User 2023-12-20 12:46:58.229 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 in
<presence from='alice_remove_unsubscribe_2732@localhost/res1' to='alice_remove_unsubscribe_2732@localhost/res1'/>



*** User 2023-12-20 12:46:58.230 ***🔗
bOb_remove_unsubscribe_2732@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-20 12:46:58.230 ***🔗
bOb_remove_unsubscribe_2732@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e6d886f9ea021acb' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-20 12:46:58.230 ***🔗
bOb_remove_unsubscribe_2732@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-12-20 12:46:58.230 ***🔗
bOb_remove_unsubscribe_2732@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjczMgBtYWtyb2xpa2E=</auth>



*** User 2023-12-20 12:46:58.231 ***🔗
bOb_remove_unsubscribe_2732@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-20 12:46:58.231 ***🔗
bOb_remove_unsubscribe_2732@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-20 12:46:58.232 ***🔗
bOb_remove_unsubscribe_2732@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5e35a8f00c4d6d48' from='localhost' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2732@localhost'>

*** User 2023-12-20 12:46:58.232 ***🔗
bOb_remove_unsubscribe_2732@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-12-20 12:46:58.232 ***🔗
bOb_remove_unsubscribe_2732@localhost/res1 out
<iq type='set' id='fe5f0f6396797ae6b6dedc887bce6798'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-20 12:46:58.232 ***🔗
bOb_remove_unsubscribe_2732@localhost/res1 in
<iq id='fe5f0f6396797ae6b6dedc887bce6798' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_2732@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-20 12:46:58.232 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 out
<iq type='set' id='ca628879f828ba8461a11189c3cb77b2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-20 12:46:58.232 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 in
<iq from='localhost' to='bob_remove_unsubscribe_2732@localhost/res1' id='ca628879f828ba8461a11189c3cb77b2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-20 12:46:58.233 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 out
<presence/>



*** User 2023-12-20 12:46:58.233 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 in
<presence from='bob_remove_unsubscribe_2732@localhost/res1' to='bob_remove_unsubscribe_2732@localhost/res1'/>



*** User 2023-12-20 12:46:58.234 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 out
<iq type='set' id='94be54495389e05e18e14efa37b7c2e4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2732@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.242 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 in
<iq from='alice_remove_unsubscribe_2732@localhost' to='alice_remove_unsubscribe_2732@localhost/res1' id='push61aaf527e416d756' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2732@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.242 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 in
<iq from='alice_remove_unsubscribe_2732@localhost' to='alice_remove_unsubscribe_2732@localhost/res1' id='94be54495389e05e18e14efa37b7c2e4' type='result'/>



*** User 2023-12-20 12:46:58.242 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 out
<iq to='alice_remove_unsubscribe_2732@localhost' id='push61aaf527e416d756' type='result'/>



*** User 2023-12-20 12:46:58.242 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2732@localhost'/>



*** User 2023-12-20 12:46:58.249 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 in
<iq from='alice_remove_unsubscribe_2732@localhost' to='alice_remove_unsubscribe_2732@localhost/res1' id='pushbd535930b8a4b043' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2732@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.249 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 out
<iq to='alice_remove_unsubscribe_2732@localhost' id='pushbd535930b8a4b043' type='result'/>



*** User 2023-12-20 12:46:58.249 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 in
<presence from='alice_remove_unsubscribe_2732@localhost' to='bob_remove_unsubscribe_2732@localhost/res1' type='subscribe'/>



*** User 2023-12-20 12:46:58.249 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 out
<iq type='set' id='47ce8c854eff9926020391808d3d1dfb'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_2732@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.257 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 in
<iq from='bob_remove_unsubscribe_2732@localhost' to='bob_remove_unsubscribe_2732@localhost/res1' id='push78a880159dc05c11' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2732@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.257 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 out
<iq to='bob_remove_unsubscribe_2732@localhost' id='push78a880159dc05c11' type='result'/>



*** User 2023-12-20 12:46:58.257 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 in
<iq from='bob_remove_unsubscribe_2732@localhost' to='bob_remove_unsubscribe_2732@localhost/res1' id='47ce8c854eff9926020391808d3d1dfb' type='result'/>



*** User 2023-12-20 12:46:58.257 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2732@localhost'/>



*** User 2023-12-20 12:46:58.308 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 in
<iq from='alice_remove_unsubscribe_2732@localhost' to='alice_remove_unsubscribe_2732@localhost/res1' id='pusha65e46192c848f00' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_2732@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.308 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 in
<presence from='bob_remove_unsubscribe_2732@localhost' to='alice_remove_unsubscribe_2732@localhost/res1' type='subscribed'/>



*** User 2023-12-20 12:46:58.308 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 in
<presence from='bob_remove_unsubscribe_2732@localhost/res1' to='alice_remove_unsubscribe_2732@localhost/res1'/>



*** User 2023-12-20 12:46:58.308 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 in
<iq from='bob_remove_unsubscribe_2732@localhost' to='bob_remove_unsubscribe_2732@localhost/res1' id='pushf538dafcd980bf99' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_2732@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.308 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 out
<iq type='set' id='91ded1ec3b42640e867ca8e0b654c9fb'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2732@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2023-12-20 12:46:58.311 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 in
<iq from='alice_remove_unsubscribe_2732@localhost' to='alice_remove_unsubscribe_2732@localhost/res1' id='push45dbeda067302006' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_2732@localhost'/>
	</query>
</iq>



*** User 2023-12-20 12:46:58.314 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 in
<presence from='bob_remove_unsubscribe_2732@localhost/res1' to='alice_remove_unsubscribe_2732@localhost/res1' type='unavailable'/>



*** User 2023-12-20 12:46:58.314 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 in
<iq from='alice_remove_unsubscribe_2732@localhost' to='alice_remove_unsubscribe_2732@localhost/res1' id='91ded1ec3b42640e867ca8e0b654c9fb' type='result'/>



*** User 2023-12-20 12:46:58.314 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 in
<iq from='bob_remove_unsubscribe_2732@localhost' to='bob_remove_unsubscribe_2732@localhost/res1' id='push0fdfb1e84afa1c85' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2732@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.314 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 in
<presence from='alice_remove_unsubscribe_2732@localhost' to='bob_remove_unsubscribe_2732@localhost/res1' type='unsubscribe'/>



*** User 2023-12-20 12:46:58.314 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 out
</stream:stream>

*** User 2023-12-20 12:46:58.314 ***🔗
bob_remove_unsubscribe_2732@localhost/res1 in
</stream:stream>

*** User 2023-12-20 12:46:58.315 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 out
</stream:stream>

*** User 2023-12-20 12:46:58.315 ***🔗
alice_remove_unsubscribe_2732@localhost/res1 in
</stream:stream>
*** CT 2023-12-20 12:46:58.317 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4766.html



=== Ended at 2023-12-20 12:46:58
=== successfully completed test case
=== === Returned value: ok