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

=== Config value:

    [{watchdog,<0.6774.2>},
     {preset,"pgsql_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@64fc573c30dd.2024-04-25_16.15.31/big_tests.tests.presence_SUITE.logs/run.2024-04-25_16.29.04/presence_suite.remove_unsubscribe.176771.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@64fc573c30dd.2024-04-25_16.15.31/big_tests.tests.presence_SUITE.logs/run.2024-04-25_16.29.04/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@64fc573c30dd.2024-04-25_16.15.31"

=== Started at 2024-04-25 16:29:06


*** CT 2024-04-25 16:29:06.234 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2563.html

*** User 2024-04-25 16:29:06.245 ***🔗
alicE_remove_unsubscribe_2919@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-25 16:29:06.245 ***🔗
alicE_remove_unsubscribe_2919@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98413d67018be2c3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-25 16:29:06.245 ***🔗
alicE_remove_unsubscribe_2919@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-25 16:29:06.245 ***🔗
alicE_remove_unsubscribe_2919@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yOTE5AG1hdHlncnlzYQ==</auth>



*** User 2024-04-25 16:29:06.246 ***🔗
alicE_remove_unsubscribe_2919@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 16:29:06.247 ***🔗
alicE_remove_unsubscribe_2919@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-25 16:29:06.247 ***🔗
alicE_remove_unsubscribe_2919@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1713b3b600de6231' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2919@domain.example.com'>

*** User 2024-04-25 16:29:06.247 ***🔗
alicE_remove_unsubscribe_2919@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-25 16:29:06.247 ***🔗
alicE_remove_unsubscribe_2919@domain.example.com/res1 out
<iq type='set' id='a574fc64e17ef2c9e9e29535a75f39d9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 16:29:06.248 ***🔗
alicE_remove_unsubscribe_2919@domain.example.com/res1 in
<iq id='a574fc64e17ef2c9e9e29535a75f39d9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_2919@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 16:29:06.248 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 out
<iq type='set' id='946f3f6534478ae2629945542383813e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:29:06.248 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2919@domain.example.com/res1' id='946f3f6534478ae2629945542383813e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:29:06.248 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 out
<presence/>



*** User 2024-04-25 16:29:06.249 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2919@domain.example.com/res1' to='alice_remove_unsubscribe_2919@domain.example.com/res1'/>



*** User 2024-04-25 16:29:06.250 ***🔗
bOb_remove_unsubscribe_2919@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-25 16:29:06.250 ***🔗
bOb_remove_unsubscribe_2919@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1737383dc7e8cb8d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-25 16:29:06.251 ***🔗
bOb_remove_unsubscribe_2919@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-25 16:29:06.251 ***🔗
bOb_remove_unsubscribe_2919@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjkxOQBtYWtyb2xpa2E=</auth>



*** User 2024-04-25 16:29:06.252 ***🔗
bOb_remove_unsubscribe_2919@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 16:29:06.252 ***🔗
bOb_remove_unsubscribe_2919@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-25 16:29:06.253 ***🔗
bOb_remove_unsubscribe_2919@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2bb6c033d7e18f01' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2919@domain.example.com'>

*** User 2024-04-25 16:29:06.253 ***🔗
bOb_remove_unsubscribe_2919@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-25 16:29:06.253 ***🔗
bOb_remove_unsubscribe_2919@domain.example.com/res1 out
<iq type='set' id='a09d5d91bcd64e9e49646fec75c417d0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 16:29:06.253 ***🔗
bOb_remove_unsubscribe_2919@domain.example.com/res1 in
<iq id='a09d5d91bcd64e9e49646fec75c417d0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_2919@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 16:29:06.253 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 out
<iq type='set' id='a89cf994a74758a94b6ac1e8766427dd'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:29:06.253 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2919@domain.example.com/res1' id='a89cf994a74758a94b6ac1e8766427dd' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:29:06.253 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 out
<presence/>



*** User 2024-04-25 16:29:06.266 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2919@domain.example.com/res1' to='bob_remove_unsubscribe_2919@domain.example.com/res1'/>



*** User 2024-04-25 16:29:06.267 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 out
<iq type='set' id='7ca142fb09084b4bef64139a83e9a254'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2919@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:29:06.275 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2919@domain.example.com' to='alice_remove_unsubscribe_2919@domain.example.com/res1' id='push1d9140169ecfdc35' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2919@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:29:06.275 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2919@domain.example.com' to='alice_remove_unsubscribe_2919@domain.example.com/res1' id='7ca142fb09084b4bef64139a83e9a254' type='result'/>



*** User 2024-04-25 16:29:06.275 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2919@domain.example.com' id='push1d9140169ecfdc35' type='result'/>



*** User 2024-04-25 16:29:06.275 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2919@domain.example.com'/>



*** User 2024-04-25 16:29:06.281 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2919@domain.example.com' to='alice_remove_unsubscribe_2919@domain.example.com/res1' id='push50c09a99e017e4c5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_2919@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:29:06.281 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2919@domain.example.com' id='push50c09a99e017e4c5' type='result'/>



*** User 2024-04-25 16:29:06.281 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2919@domain.example.com' to='bob_remove_unsubscribe_2919@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-25 16:29:06.281 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 out
<iq type='set' id='ba6a1d1703ee6e6ba5a29e0d2d93cc42'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_2919@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:29:06.286 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2919@domain.example.com' to='bob_remove_unsubscribe_2919@domain.example.com/res1' id='push3ad3258ca146ef7b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2919@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:29:06.286 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2919@domain.example.com' id='push3ad3258ca146ef7b' type='result'/>



*** User 2024-04-25 16:29:06.286 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2919@domain.example.com' to='bob_remove_unsubscribe_2919@domain.example.com/res1' id='ba6a1d1703ee6e6ba5a29e0d2d93cc42' type='result'/>



*** User 2024-04-25 16:29:06.286 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2919@domain.example.com'/>



*** User 2024-04-25 16:29:06.290 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2919@domain.example.com' to='alice_remove_unsubscribe_2919@domain.example.com/res1' id='push11c25f2dc4290f4b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2919@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:29:06.291 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2919@domain.example.com' to='alice_remove_unsubscribe_2919@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-25 16:29:06.291 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2919@domain.example.com/res1' to='alice_remove_unsubscribe_2919@domain.example.com/res1'/>



*** User 2024-04-25 16:29:06.291 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2919@domain.example.com' to='bob_remove_unsubscribe_2919@domain.example.com/res1' id='push31ad59e2abdd638c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2919@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:29:06.291 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 out
<iq type='set' id='c937e054ceba0b995086b5ce7097ae06'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2919@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-25 16:29:06.293 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2919@domain.example.com' to='alice_remove_unsubscribe_2919@domain.example.com/res1' id='pushcb35597724bef2e8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2919@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-25 16:29:06.296 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2919@domain.example.com/res1' to='alice_remove_unsubscribe_2919@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-25 16:29:06.296 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2919@domain.example.com' to='alice_remove_unsubscribe_2919@domain.example.com/res1' id='c937e054ceba0b995086b5ce7097ae06' type='result'/>



*** User 2024-04-25 16:29:06.296 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2919@domain.example.com' to='bob_remove_unsubscribe_2919@domain.example.com/res1' id='pushbc27659217a354ee' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2919@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:29:06.297 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2919@domain.example.com' to='bob_remove_unsubscribe_2919@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-25 16:29:06.297 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-25 16:29:06.297 ***🔗
bob_remove_unsubscribe_2919@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-25 16:29:06.297 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-25 16:29:06.297 ***🔗
alice_remove_unsubscribe_2919@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-25 16:29:06.303 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2563.html



=== Ended at 2024-04-25 16:29:06
=== successfully completed test case
=== === Returned value: ok