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

=== Config value:

    [{watchdog,<0.73282.0>},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@81b4ed498ac1.2024-04-23_23.21.08/big_tests.tests.presence_SUITE.logs/run.2024-04-23_23.33.52/presence_suite.unsubscribe.137219.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@81b4ed498ac1.2024-04-23_23.21.08/big_tests.tests.presence_SUITE.logs/run.2024-04-23_23.33.52/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@81b4ed498ac1.2024-04-23_23.21.08"

=== Started at 2024-04-23 23:33:54


*** CT 2024-04-23 23:33:54.454 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5445.html

*** User 2024-04-23 23:33:54.466 ***🔗
alicE_unsubscribe_2659@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 23:33:54.467 ***🔗
alicE_unsubscribe_2659@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='847144047fa0b0e9' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 23:33:54.467 ***🔗
alicE_unsubscribe_2659@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 2024-04-23 23:33:54.467 ***🔗
alicE_unsubscribe_2659@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI2NTkAbWF0eWdyeXNh</auth>



*** User 2024-04-23 23:33:54.468 ***🔗
alicE_unsubscribe_2659@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 23:33:54.468 ***🔗
alicE_unsubscribe_2659@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 23:33:54.468 ***🔗
alicE_unsubscribe_2659@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='03a2409a13bdf00c' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2659@localhost'>

*** User 2024-04-23 23:33:54.468 ***🔗
alicE_unsubscribe_2659@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 2024-04-23 23:33:54.468 ***🔗
alicE_unsubscribe_2659@localhost/res1 out
<iq type='set' id='ddac0b75d909c33510798b386e8a499f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 23:33:54.469 ***🔗
alicE_unsubscribe_2659@localhost/res1 in
<iq id='ddac0b75d909c33510798b386e8a499f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2659@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 23:33:54.469 ***🔗
alice_unsubscribe_2659@localhost/res1 out
<iq type='set' id='94f022e00e878b57f59902d09f96eeb6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:54.469 ***🔗
alice_unsubscribe_2659@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2659@localhost/res1' id='94f022e00e878b57f59902d09f96eeb6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:54.469 ***🔗
alice_unsubscribe_2659@localhost/res1 out
<presence/>



*** User 2024-04-23 23:33:54.470 ***🔗
alice_unsubscribe_2659@localhost/res1 in
<presence from='alice_unsubscribe_2659@localhost/res1' to='alice_unsubscribe_2659@localhost/res1'/>



*** User 2024-04-23 23:33:54.471 ***🔗
bOb_unsubscribe_2659@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 23:33:54.471 ***🔗
bOb_unsubscribe_2659@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='628a3da819dd4f97' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 23:33:54.471 ***🔗
bOb_unsubscribe_2659@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 2024-04-23 23:33:54.471 ***🔗
bOb_unsubscribe_2659@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNjU5AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 23:33:54.472 ***🔗
bOb_unsubscribe_2659@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 23:33:54.473 ***🔗
bOb_unsubscribe_2659@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 23:33:54.473 ***🔗
bOb_unsubscribe_2659@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='18c748f4c34924ad' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2659@localhost'>

*** User 2024-04-23 23:33:54.473 ***🔗
bOb_unsubscribe_2659@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 2024-04-23 23:33:54.473 ***🔗
bOb_unsubscribe_2659@localhost/res1 out
<iq type='set' id='8b6f1559eae1bc976b0e01f1f9e56ae4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 23:33:54.473 ***🔗
bOb_unsubscribe_2659@localhost/res1 in
<iq id='8b6f1559eae1bc976b0e01f1f9e56ae4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2659@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 23:33:54.474 ***🔗
bob_unsubscribe_2659@localhost/res1 out
<iq type='set' id='1019f77131e1a1944cad45789f990e9e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:54.474 ***🔗
bob_unsubscribe_2659@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2659@localhost/res1' id='1019f77131e1a1944cad45789f990e9e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 23:33:54.474 ***🔗
bob_unsubscribe_2659@localhost/res1 out
<presence/>



*** User 2024-04-23 23:33:54.476 ***🔗
bob_unsubscribe_2659@localhost/res1 in
<presence from='bob_unsubscribe_2659@localhost/res1' to='bob_unsubscribe_2659@localhost/res1'/>



*** User 2024-04-23 23:33:54.476 ***🔗
alice_unsubscribe_2659@localhost/res1 out
<iq type='set' id='eb6cc8fef71267ab64dc53126a6617d6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2659@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 23:33:54.483 ***🔗
alice_unsubscribe_2659@localhost/res1 in
<iq from='alice_unsubscribe_2659@localhost' to='alice_unsubscribe_2659@localhost/res1' id='pushd98704df27c923d2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2659@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 23:33:54.483 ***🔗
alice_unsubscribe_2659@localhost/res1 in
<iq from='alice_unsubscribe_2659@localhost' to='alice_unsubscribe_2659@localhost/res1' id='eb6cc8fef71267ab64dc53126a6617d6' type='result'/>



*** User 2024-04-23 23:33:54.483 ***🔗
alice_unsubscribe_2659@localhost/res1 out
<iq to='alice_unsubscribe_2659@localhost' id='pushd98704df27c923d2' type='result'/>



*** User 2024-04-23 23:33:54.483 ***🔗
alice_unsubscribe_2659@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2659@localhost'/>



*** User 2024-04-23 23:33:54.488 ***🔗
alice_unsubscribe_2659@localhost/res1 in
<iq from='alice_unsubscribe_2659@localhost' to='alice_unsubscribe_2659@localhost/res1' id='pushcd49027af51db764' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2659@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 23:33:54.488 ***🔗
alice_unsubscribe_2659@localhost/res1 out
<iq to='alice_unsubscribe_2659@localhost' id='pushcd49027af51db764' type='result'/>



*** User 2024-04-23 23:33:54.488 ***🔗
bob_unsubscribe_2659@localhost/res1 in
<presence from='alice_unsubscribe_2659@localhost' to='bob_unsubscribe_2659@localhost/res1' type='subscribe'/>



*** User 2024-04-23 23:33:54.488 ***🔗
bob_unsubscribe_2659@localhost/res1 out
<iq type='set' id='5f6df56fecd7f78a9f95438e3b65cc3e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2659@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 23:33:54.528 ***🔗
bob_unsubscribe_2659@localhost/res1 in
<iq from='bob_unsubscribe_2659@localhost' to='bob_unsubscribe_2659@localhost/res1' id='pushe69d90586576c09c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2659@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 23:33:54.528 ***🔗
bob_unsubscribe_2659@localhost/res1 out
<iq to='bob_unsubscribe_2659@localhost' id='pushe69d90586576c09c' type='result'/>



*** User 2024-04-23 23:33:54.528 ***🔗
bob_unsubscribe_2659@localhost/res1 in
<iq from='bob_unsubscribe_2659@localhost' to='bob_unsubscribe_2659@localhost/res1' id='5f6df56fecd7f78a9f95438e3b65cc3e' type='result'/>



*** User 2024-04-23 23:33:54.528 ***🔗
bob_unsubscribe_2659@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2659@localhost'/>



*** User 2024-04-23 23:33:54.533 ***🔗
alice_unsubscribe_2659@localhost/res1 in
<iq from='alice_unsubscribe_2659@localhost' to='alice_unsubscribe_2659@localhost/res1' id='push50e1d1ad81a5aca9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2659@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 23:33:54.533 ***🔗
alice_unsubscribe_2659@localhost/res1 in
<presence from='bob_unsubscribe_2659@localhost' to='alice_unsubscribe_2659@localhost/res1' type='subscribed'/>



*** User 2024-04-23 23:33:54.533 ***🔗
alice_unsubscribe_2659@localhost/res1 in
<presence from='bob_unsubscribe_2659@localhost/res1' to='alice_unsubscribe_2659@localhost/res1'/>



*** User 2024-04-23 23:33:54.533 ***🔗
bob_unsubscribe_2659@localhost/res1 in
<iq from='bob_unsubscribe_2659@localhost' to='bob_unsubscribe_2659@localhost/res1' id='push302f4fd858326c8c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2659@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 23:33:54.533 ***🔗
alice_unsubscribe_2659@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2659@localhost'/>



*** User 2024-04-23 23:33:54.539 ***🔗
alice_unsubscribe_2659@localhost/res1 in
<iq from='alice_unsubscribe_2659@localhost' to='alice_unsubscribe_2659@localhost/res1' id='push9c38b478a727e3f9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2659@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 23:33:54.539 ***🔗
alice_unsubscribe_2659@localhost/res1 out
<iq to='alice_unsubscribe_2659@localhost' id='push9c38b478a727e3f9' type='result'/>



*** User 2024-04-23 23:33:54.539 ***🔗
bob_unsubscribe_2659@localhost/res1 in
<iq from='bob_unsubscribe_2659@localhost' to='bob_unsubscribe_2659@localhost/res1' id='push246652caa48aa527' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2659@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 23:33:54.539 ***🔗
bob_unsubscribe_2659@localhost/res1 in
<presence from='alice_unsubscribe_2659@localhost' to='bob_unsubscribe_2659@localhost/res1' type='unsubscribe'/>



*** User 2024-04-23 23:33:54.539 ***🔗
alice_unsubscribe_2659@localhost/res1 in
<presence from='bob_unsubscribe_2659@localhost/res1' to='alice_unsubscribe_2659@localhost/res1' type='unavailable'/>



*** User 2024-04-23 23:33:54.540 ***🔗
bob_unsubscribe_2659@localhost/res1 out
</stream:stream>

*** User 2024-04-23 23:33:54.540 ***🔗
bob_unsubscribe_2659@localhost/res1 in
</stream:stream>

*** User 2024-04-23 23:33:54.541 ***🔗
alice_unsubscribe_2659@localhost/res1 out
</stream:stream>

*** User 2024-04-23 23:33:54.541 ***🔗
alice_unsubscribe_2659@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 23:33:54.550 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5445.html



=== Ended at 2024-04-23 23:33:54
=== successfully completed test case
=== === Returned value: ok