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

=== Config value:

    [{watchdog,<0.72419.0>},
     {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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.presence_SUITE.logs/run.2024-04-09_11.49.20/presence_suite.remove_unsubscribe.138883.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@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.presence_SUITE.logs/run.2024-04-09_11.49.20/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@528a5a4ce401.2024-04-09_11.36.09"

=== Started at 2024-04-09 11:49:22


*** CT 2024-04-09 11:49:22.417 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2566.html

*** User 2024-04-09 11:49:22.436 ***🔗
alicE_remove_unsubscribe_3037@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-09 11:49:22.436 ***🔗
alicE_remove_unsubscribe_3037@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a0cb5b3e4a5e32dd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:49:22.437 ***🔗
alicE_remove_unsubscribe_3037@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-09 11:49:22.437 ***🔗
alicE_remove_unsubscribe_3037@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8zMDM3AG1hdHlncnlzYQ==</auth>



*** User 2024-04-09 11:49:22.441 ***🔗
alicE_remove_unsubscribe_3037@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:49:22.441 ***🔗
alicE_remove_unsubscribe_3037@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-09 11:49:22.442 ***🔗
alicE_remove_unsubscribe_3037@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='87601529259c88eb' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_3037@domain.example.com'>

*** User 2024-04-09 11:49:22.442 ***🔗
alicE_remove_unsubscribe_3037@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-09 11:49:22.442 ***🔗
alicE_remove_unsubscribe_3037@domain.example.com/res1 out
<iq type='set' id='2233e3a1e2b142aa4de5dfb8152aa31c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:49:22.442 ***🔗
alicE_remove_unsubscribe_3037@domain.example.com/res1 in
<iq id='2233e3a1e2b142aa4de5dfb8152aa31c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_3037@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:49:22.442 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 out
<iq type='set' id='18e62c5dafb3685bd3d867560ae2da94'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:49:22.443 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_3037@domain.example.com/res1' id='18e62c5dafb3685bd3d867560ae2da94' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:49:22.443 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 11:49:22.445 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_3037@domain.example.com/res1' to='alice_remove_unsubscribe_3037@domain.example.com/res1'/>



*** User 2024-04-09 11:49:22.446 ***🔗
bOb_remove_unsubscribe_3037@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-09 11:49:22.446 ***🔗
bOb_remove_unsubscribe_3037@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='890c3eeb236321e5' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:49:22.446 ***🔗
bOb_remove_unsubscribe_3037@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-09 11:49:22.447 ***🔗
bOb_remove_unsubscribe_3037@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMzAzNwBtYWtyb2xpa2E=</auth>



*** User 2024-04-09 11:49:22.448 ***🔗
bOb_remove_unsubscribe_3037@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:49:22.448 ***🔗
bOb_remove_unsubscribe_3037@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-09 11:49:22.448 ***🔗
bOb_remove_unsubscribe_3037@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a3ccafe2ee6c8446' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_3037@domain.example.com'>

*** User 2024-04-09 11:49:22.448 ***🔗
bOb_remove_unsubscribe_3037@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-09 11:49:22.448 ***🔗
bOb_remove_unsubscribe_3037@domain.example.com/res1 out
<iq type='set' id='cc03fad3973e75ee6e1b91f5cb07a1fb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:49:22.448 ***🔗
bOb_remove_unsubscribe_3037@domain.example.com/res1 in
<iq id='cc03fad3973e75ee6e1b91f5cb07a1fb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_3037@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:49:22.448 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 out
<iq type='set' id='e9e994863ff1215bf219a7170fecf1ff'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:49:22.449 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_3037@domain.example.com/res1' id='e9e994863ff1215bf219a7170fecf1ff' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:49:22.449 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 11:49:22.450 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3037@domain.example.com/res1' to='bob_remove_unsubscribe_3037@domain.example.com/res1'/>



*** User 2024-04-09 11:49:22.450 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 out
<iq type='set' id='2da94935020060d61087bdcc98d4e3c4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_3037@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.460 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3037@domain.example.com' to='alice_remove_unsubscribe_3037@domain.example.com/res1' id='pushcf19c5250cb52f7c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_3037@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.460 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3037@domain.example.com' to='alice_remove_unsubscribe_3037@domain.example.com/res1' id='2da94935020060d61087bdcc98d4e3c4' type='result'/>



*** User 2024-04-09 11:49:22.460 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_3037@domain.example.com' id='pushcf19c5250cb52f7c' type='result'/>



*** User 2024-04-09 11:49:22.460 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_3037@domain.example.com'/>



*** User 2024-04-09 11:49:22.470 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3037@domain.example.com' to='alice_remove_unsubscribe_3037@domain.example.com/res1' id='push08844461ab9666ce' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_3037@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.470 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_3037@domain.example.com' id='push08844461ab9666ce' type='result'/>



*** User 2024-04-09 11:49:22.470 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_3037@domain.example.com' to='bob_remove_unsubscribe_3037@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-09 11:49:22.470 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 out
<iq type='set' id='4508c6bc8f2fa54b8d99a622f27677b4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_3037@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.477 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3037@domain.example.com' to='bob_remove_unsubscribe_3037@domain.example.com/res1' id='pushb25fbc22397a027e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_3037@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.477 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_3037@domain.example.com' id='pushb25fbc22397a027e' type='result'/>



*** User 2024-04-09 11:49:22.477 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3037@domain.example.com' to='bob_remove_unsubscribe_3037@domain.example.com/res1' id='4508c6bc8f2fa54b8d99a622f27677b4' type='result'/>



*** User 2024-04-09 11:49:22.477 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_3037@domain.example.com'/>



*** User 2024-04-09 11:49:22.484 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3037@domain.example.com' to='alice_remove_unsubscribe_3037@domain.example.com/res1' id='pushf183fc97e882f80e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_3037@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.484 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3037@domain.example.com' to='alice_remove_unsubscribe_3037@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-09 11:49:22.484 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3037@domain.example.com/res1' to='alice_remove_unsubscribe_3037@domain.example.com/res1'/>



*** User 2024-04-09 11:49:22.484 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3037@domain.example.com' to='bob_remove_unsubscribe_3037@domain.example.com/res1' id='push550d5166ff1222b9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_3037@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.485 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 out
<iq type='set' id='62c1e2f3a3aeb228bbf3c4e6057e2c40'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_3037@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-09 11:49:22.489 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3037@domain.example.com' to='alice_remove_unsubscribe_3037@domain.example.com/res1' id='pushc79729975a8c2c4c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_3037@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-09 11:49:22.494 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_3037@domain.example.com/res1' to='alice_remove_unsubscribe_3037@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-09 11:49:22.495 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_3037@domain.example.com' to='alice_remove_unsubscribe_3037@domain.example.com/res1' id='62c1e2f3a3aeb228bbf3c4e6057e2c40' type='result'/>



*** User 2024-04-09 11:49:22.495 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_3037@domain.example.com' to='bob_remove_unsubscribe_3037@domain.example.com/res1' id='push259f4c744c3cb993' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_3037@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:49:22.495 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_3037@domain.example.com' to='bob_remove_unsubscribe_3037@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-09 11:49:22.495 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 11:49:22.496 ***🔗
bob_remove_unsubscribe_3037@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-09 11:49:22.496 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 11:49:22.497 ***🔗
alice_remove_unsubscribe_3037@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-09 11:49:22.499 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2566.html



=== Ended at 2024-04-09 11:49:22
=== successfully completed test case
=== === Returned value: ok