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

=== Config value:

    [{watchdog,<0.71755.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@204f21db9bdd.2024-04-10_16.27.55/big_tests.tests.presence_SUITE.logs/run.2024-04-10_16.39.13/presence_suite.remove_unsubscribe.132995.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@204f21db9bdd.2024-04-10_16.27.55/big_tests.tests.presence_SUITE.logs/run.2024-04-10_16.39.13/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@204f21db9bdd.2024-04-10_16.27.55"

=== Started at 2024-04-10 16:39:15


*** CT 2024-04-10 16:39:15.370 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2291.html

*** User 2024-04-10 16:39:15.381 ***🔗
alicE_remove_unsubscribe_2724@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 16:39:15.381 ***🔗
alicE_remove_unsubscribe_2724@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f4debc8657bb92e9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 16:39:15.381 ***🔗
alicE_remove_unsubscribe_2724@domain.example.com/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 2024-04-10 16:39:15.381 ***🔗
alicE_remove_unsubscribe_2724@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yNzI0AG1hdHlncnlzYQ==</auth>



*** User 2024-04-10 16:39:15.382 ***🔗
alicE_remove_unsubscribe_2724@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 16:39:15.382 ***🔗
alicE_remove_unsubscribe_2724@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 16:39:15.383 ***🔗
alicE_remove_unsubscribe_2724@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4c07106a775c08a7' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2724@domain.example.com'>

*** User 2024-04-10 16:39:15.383 ***🔗
alicE_remove_unsubscribe_2724@domain.example.com/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 2024-04-10 16:39:15.383 ***🔗
alicE_remove_unsubscribe_2724@domain.example.com/res1 out
<iq type='set' id='6dff7638b789479702e90d268e7221f7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 16:39:15.383 ***🔗
alicE_remove_unsubscribe_2724@domain.example.com/res1 in
<iq id='6dff7638b789479702e90d268e7221f7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_2724@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 16:39:15.383 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 out
<iq type='set' id='b674272289d41b13735ab00b52dd088e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:15.384 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2724@domain.example.com/res1' id='b674272289d41b13735ab00b52dd088e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:15.384 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 16:39:15.386 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2724@domain.example.com/res1' to='alice_remove_unsubscribe_2724@domain.example.com/res1'/>



*** User 2024-04-10 16:39:15.386 ***🔗
bOb_remove_unsubscribe_2724@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 16:39:15.386 ***🔗
bOb_remove_unsubscribe_2724@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='611b10f34c66fb97' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 16:39:15.387 ***🔗
bOb_remove_unsubscribe_2724@domain.example.com/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 2024-04-10 16:39:15.387 ***🔗
bOb_remove_unsubscribe_2724@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjcyNABtYWtyb2xpa2E=</auth>



*** User 2024-04-10 16:39:15.387 ***🔗
bOb_remove_unsubscribe_2724@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 16:39:15.387 ***🔗
bOb_remove_unsubscribe_2724@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-10 16:39:15.388 ***🔗
bOb_remove_unsubscribe_2724@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='da76d49a35503349' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2724@domain.example.com'>

*** User 2024-04-10 16:39:15.388 ***🔗
bOb_remove_unsubscribe_2724@domain.example.com/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 2024-04-10 16:39:15.388 ***🔗
bOb_remove_unsubscribe_2724@domain.example.com/res1 out
<iq type='set' id='7dba0b9af38175b52e8f66f389aad930'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 16:39:15.388 ***🔗
bOb_remove_unsubscribe_2724@domain.example.com/res1 in
<iq id='7dba0b9af38175b52e8f66f389aad930' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_2724@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 16:39:15.388 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 out
<iq type='set' id='d83a4b632185f9242a481fb593c35363'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:15.389 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2724@domain.example.com/res1' id='d83a4b632185f9242a481fb593c35363' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 16:39:15.389 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 16:39:15.390 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2724@domain.example.com/res1' to='bob_remove_unsubscribe_2724@domain.example.com/res1'/>



*** User 2024-04-10 16:39:15.390 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 out
<iq type='set' id='7041bc1939f8fa3ec18217c92cd3797a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2724@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 16:39:15.400 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2724@domain.example.com' to='alice_remove_unsubscribe_2724@domain.example.com/res1' id='pusha6c99ccf8ad3b51f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2724@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 16:39:15.400 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2724@domain.example.com' to='alice_remove_unsubscribe_2724@domain.example.com/res1' id='7041bc1939f8fa3ec18217c92cd3797a' type='result'/>



*** User 2024-04-10 16:39:15.400 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2724@domain.example.com' id='pusha6c99ccf8ad3b51f' type='result'/>



*** User 2024-04-10 16:39:15.400 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2724@domain.example.com'/>



*** User 2024-04-10 16:39:15.404 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2724@domain.example.com' to='alice_remove_unsubscribe_2724@domain.example.com/res1' id='push34a8aa09d131a160' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_2724@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 16:39:15.404 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2724@domain.example.com' id='push34a8aa09d131a160' type='result'/>



*** User 2024-04-10 16:39:15.404 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2724@domain.example.com' to='bob_remove_unsubscribe_2724@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-10 16:39:15.404 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 out
<iq type='set' id='43d4453376cca86a603fad911b8eb4c7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_2724@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 16:39:15.427 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2724@domain.example.com' to='bob_remove_unsubscribe_2724@domain.example.com/res1' id='push6f8b97f6bc4025dd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2724@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 16:39:15.427 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2724@domain.example.com' id='push6f8b97f6bc4025dd' type='result'/>



*** User 2024-04-10 16:39:15.427 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2724@domain.example.com' to='bob_remove_unsubscribe_2724@domain.example.com/res1' id='43d4453376cca86a603fad911b8eb4c7' type='result'/>



*** User 2024-04-10 16:39:15.427 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2724@domain.example.com'/>



*** User 2024-04-10 16:39:15.435 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2724@domain.example.com' to='alice_remove_unsubscribe_2724@domain.example.com/res1' id='push2d0480ad3e3b75a2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2724@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 16:39:15.435 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2724@domain.example.com' to='alice_remove_unsubscribe_2724@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-10 16:39:15.435 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2724@domain.example.com/res1' to='alice_remove_unsubscribe_2724@domain.example.com/res1'/>



*** User 2024-04-10 16:39:15.435 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2724@domain.example.com' to='bob_remove_unsubscribe_2724@domain.example.com/res1' id='push70962e436f62504c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2724@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 16:39:15.435 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 out
<iq type='set' id='51ec9d7c6cce4beccd60fecfed011ab6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2724@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-10 16:39:15.439 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2724@domain.example.com' to='alice_remove_unsubscribe_2724@domain.example.com/res1' id='pushd57bf7bf13a783fe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2724@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-10 16:39:15.445 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2724@domain.example.com/res1' to='alice_remove_unsubscribe_2724@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-10 16:39:15.445 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2724@domain.example.com' to='alice_remove_unsubscribe_2724@domain.example.com/res1' id='51ec9d7c6cce4beccd60fecfed011ab6' type='result'/>



*** User 2024-04-10 16:39:15.445 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2724@domain.example.com' to='bob_remove_unsubscribe_2724@domain.example.com/res1' id='push65ed80d9bb2a3490' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2724@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 16:39:15.445 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2724@domain.example.com' to='bob_remove_unsubscribe_2724@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-10 16:39:15.446 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 16:39:15.446 ***🔗
bob_remove_unsubscribe_2724@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-10 16:39:15.446 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 16:39:15.446 ***🔗
alice_remove_unsubscribe_2724@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-10 16:39:15.448 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2291.html



=== Ended at 2024-04-10 16:39:15
=== successfully completed test case
=== === Returned value: ok