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

=== Config value:

    [{watchdog,<0.78455.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@c2059f896f71.2024-04-26_12.39.19/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.54.04/presence_suite.unsubscribe.151683.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@c2059f896f71.2024-04-26_12.39.19/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.54.04/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@c2059f896f71.2024-04-26_12.39.19"

=== Started at 2024-04-26 12:54:06


*** CT 2024-04-26 12:54:06.038 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4714.html

*** User 2024-04-26 12:54:06.051 ***🔗
alicE_unsubscribe_3189@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-26 12:54:06.052 ***🔗
alicE_unsubscribe_3189@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='27235e7d8b157058' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:54:06.052 ***🔗
alicE_unsubscribe_3189@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-26 12:54:06.052 ***🔗
alicE_unsubscribe_3189@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzMxODkAbWF0eWdyeXNh</auth>



*** User 2024-04-26 12:54:06.053 ***🔗
alicE_unsubscribe_3189@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:54:06.053 ***🔗
alicE_unsubscribe_3189@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-26 12:54:06.053 ***🔗
alicE_unsubscribe_3189@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='abf99f622670a113' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_3189@localhost'>

*** User 2024-04-26 12:54:06.054 ***🔗
alicE_unsubscribe_3189@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-26 12:54:06.054 ***🔗
alicE_unsubscribe_3189@localhost/res1 out
<iq type='set' id='6ff211b4ca609e324978bc7e3e2d70e8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:54:06.054 ***🔗
alicE_unsubscribe_3189@localhost/res1 in
<iq id='6ff211b4ca609e324978bc7e3e2d70e8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_3189@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:54:06.054 ***🔗
alice_unsubscribe_3189@localhost/res1 out
<iq type='set' id='8987a79695cb5b13fe82807c1500d50e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:06.055 ***🔗
alice_unsubscribe_3189@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_3189@localhost/res1' id='8987a79695cb5b13fe82807c1500d50e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:06.056 ***🔗
alice_unsubscribe_3189@localhost/res1 out
<presence/>



*** User 2024-04-26 12:54:06.057 ***🔗
alice_unsubscribe_3189@localhost/res1 in
<presence from='alice_unsubscribe_3189@localhost/res1' to='alice_unsubscribe_3189@localhost/res1'/>



*** User 2024-04-26 12:54:06.058 ***🔗
bOb_unsubscribe_3189@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-26 12:54:06.058 ***🔗
bOb_unsubscribe_3189@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='19ac6b4839389a22' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:54:06.059 ***🔗
bOb_unsubscribe_3189@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-26 12:54:06.059 ***🔗
bOb_unsubscribe_3189@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8zMTg5AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-26 12:54:06.059 ***🔗
bOb_unsubscribe_3189@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:54:06.059 ***🔗
bOb_unsubscribe_3189@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-26 12:54:06.061 ***🔗
bOb_unsubscribe_3189@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e436545f19184f6c' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_3189@localhost'>

*** User 2024-04-26 12:54:06.061 ***🔗
bOb_unsubscribe_3189@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-26 12:54:06.061 ***🔗
bOb_unsubscribe_3189@localhost/res1 out
<iq type='set' id='89ac57db65696d1b32066f2098ad5402'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:54:06.062 ***🔗
bOb_unsubscribe_3189@localhost/res1 in
<iq id='89ac57db65696d1b32066f2098ad5402' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_3189@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:54:06.062 ***🔗
bob_unsubscribe_3189@localhost/res1 out
<iq type='set' id='de81b4bc3f16c275623f673461f63a1f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:06.062 ***🔗
bob_unsubscribe_3189@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_3189@localhost/res1' id='de81b4bc3f16c275623f673461f63a1f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:54:06.062 ***🔗
bob_unsubscribe_3189@localhost/res1 out
<presence/>



*** User 2024-04-26 12:54:06.063 ***🔗
bob_unsubscribe_3189@localhost/res1 in
<presence from='bob_unsubscribe_3189@localhost/res1' to='bob_unsubscribe_3189@localhost/res1'/>



*** User 2024-04-26 12:54:06.064 ***🔗
alice_unsubscribe_3189@localhost/res1 out
<iq type='set' id='d72ab4b5a77aec60efcf9fb182b9653d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_3189@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:54:06.072 ***🔗
alice_unsubscribe_3189@localhost/res1 in
<iq from='alice_unsubscribe_3189@localhost' to='alice_unsubscribe_3189@localhost/res1' id='pushf2a819810b07f544' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3189@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:54:06.072 ***🔗
alice_unsubscribe_3189@localhost/res1 in
<iq from='alice_unsubscribe_3189@localhost' to='alice_unsubscribe_3189@localhost/res1' id='d72ab4b5a77aec60efcf9fb182b9653d' type='result'/>



*** User 2024-04-26 12:54:06.072 ***🔗
alice_unsubscribe_3189@localhost/res1 out
<iq to='alice_unsubscribe_3189@localhost' id='pushf2a819810b07f544' type='result'/>



*** User 2024-04-26 12:54:06.073 ***🔗
alice_unsubscribe_3189@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_3189@localhost'/>



*** User 2024-04-26 12:54:06.087 ***🔗
alice_unsubscribe_3189@localhost/res1 in
<iq from='alice_unsubscribe_3189@localhost' to='alice_unsubscribe_3189@localhost/res1' id='push1f1b9e698ee00ca9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_3189@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:54:06.087 ***🔗
alice_unsubscribe_3189@localhost/res1 out
<iq to='alice_unsubscribe_3189@localhost' id='push1f1b9e698ee00ca9' type='result'/>



*** User 2024-04-26 12:54:06.087 ***🔗
bob_unsubscribe_3189@localhost/res1 in
<presence from='alice_unsubscribe_3189@localhost' to='bob_unsubscribe_3189@localhost/res1' type='subscribe'/>



*** User 2024-04-26 12:54:06.087 ***🔗
bob_unsubscribe_3189@localhost/res1 out
<iq type='set' id='f631b3218ae665422172a6120113af11'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_3189@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:54:06.094 ***🔗
bob_unsubscribe_3189@localhost/res1 in
<iq from='bob_unsubscribe_3189@localhost' to='bob_unsubscribe_3189@localhost/res1' id='push686903bfc6be1042' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3189@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:54:06.094 ***🔗
bob_unsubscribe_3189@localhost/res1 out
<iq to='bob_unsubscribe_3189@localhost' id='push686903bfc6be1042' type='result'/>



*** User 2024-04-26 12:54:06.094 ***🔗
bob_unsubscribe_3189@localhost/res1 in
<iq from='bob_unsubscribe_3189@localhost' to='bob_unsubscribe_3189@localhost/res1' id='f631b3218ae665422172a6120113af11' type='result'/>



*** User 2024-04-26 12:54:06.096 ***🔗
bob_unsubscribe_3189@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_3189@localhost'/>



*** User 2024-04-26 12:54:06.116 ***🔗
alice_unsubscribe_3189@localhost/res1 in
<iq from='alice_unsubscribe_3189@localhost' to='alice_unsubscribe_3189@localhost/res1' id='pushc52eb251942d3d83' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3189@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:54:06.116 ***🔗
alice_unsubscribe_3189@localhost/res1 in
<presence from='bob_unsubscribe_3189@localhost' to='alice_unsubscribe_3189@localhost/res1' type='subscribed'/>



*** User 2024-04-26 12:54:06.117 ***🔗
alice_unsubscribe_3189@localhost/res1 in
<presence from='bob_unsubscribe_3189@localhost/res1' to='alice_unsubscribe_3189@localhost/res1'/>



*** User 2024-04-26 12:54:06.117 ***🔗
bob_unsubscribe_3189@localhost/res1 in
<iq from='bob_unsubscribe_3189@localhost' to='bob_unsubscribe_3189@localhost/res1' id='push249fba8669dc38f3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3189@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:54:06.117 ***🔗
alice_unsubscribe_3189@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_3189@localhost'/>



*** User 2024-04-26 12:54:06.132 ***🔗
alice_unsubscribe_3189@localhost/res1 in
<iq from='alice_unsubscribe_3189@localhost' to='alice_unsubscribe_3189@localhost/res1' id='push355f0641244f9207' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3189@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:54:06.132 ***🔗
alice_unsubscribe_3189@localhost/res1 out
<iq to='alice_unsubscribe_3189@localhost' id='push355f0641244f9207' type='result'/>



*** User 2024-04-26 12:54:06.132 ***🔗
bob_unsubscribe_3189@localhost/res1 in
<iq from='bob_unsubscribe_3189@localhost' to='bob_unsubscribe_3189@localhost/res1' id='pushc2e1b4ad1eb7d9f5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3189@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:54:06.132 ***🔗
bob_unsubscribe_3189@localhost/res1 in
<presence from='alice_unsubscribe_3189@localhost' to='bob_unsubscribe_3189@localhost/res1' type='unsubscribe'/>



*** User 2024-04-26 12:54:06.132 ***🔗
alice_unsubscribe_3189@localhost/res1 in
<presence from='bob_unsubscribe_3189@localhost/res1' to='alice_unsubscribe_3189@localhost/res1' type='unavailable'/>



*** User 2024-04-26 12:54:06.133 ***🔗
bob_unsubscribe_3189@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:54:06.134 ***🔗
bob_unsubscribe_3189@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:54:06.134 ***🔗
alice_unsubscribe_3189@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:54:06.135 ***🔗
alice_unsubscribe_3189@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 12:54:06.153 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4714.html



=== Ended at 2024-04-26 12:54:06
=== successfully completed test case
=== === Returned value: ok