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

=== Config value:

    [{watchdog,<0.71242.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@100e910b36a4.2024-03-13_08.15.22/big_tests.tests.presence_SUITE.logs/run.2024-03-13_08.27.42/presence_suite.unsubscribe.90756.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@100e910b36a4.2024-03-13_08.15.22/big_tests.tests.presence_SUITE.logs/run.2024-03-13_08.27.42/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@100e910b36a4.2024-03-13_08.15.22"

=== Started at 2024-03-13 08:27:44


*** CT 2024-03-13 08:27:44.043 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4358.html

*** User 2024-03-13 08:27:44.061 ***🔗
alicE_unsubscribe_2582@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-03-13 08:27:44.062 ***🔗
alicE_unsubscribe_2582@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='685ef06dd006bf75' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-13 08:27:44.062 ***🔗
alicE_unsubscribe_2582@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-03-13 08:27:44.062 ***🔗
alicE_unsubscribe_2582@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI1ODIAbWF0eWdyeXNh</auth>



*** User 2024-03-13 08:27:44.063 ***🔗
alicE_unsubscribe_2582@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 08:27:44.063 ***🔗
alicE_unsubscribe_2582@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-03-13 08:27:44.064 ***🔗
alicE_unsubscribe_2582@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3d6d50bed447f410' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2582@localhost'>

*** User 2024-03-13 08:27:44.064 ***🔗
alicE_unsubscribe_2582@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-03-13 08:27:44.065 ***🔗
alicE_unsubscribe_2582@localhost/res1 out
<iq type='set' id='794acea5040b81e43b9ee10044d6d1de'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 08:27:44.065 ***🔗
alicE_unsubscribe_2582@localhost/res1 in
<iq id='794acea5040b81e43b9ee10044d6d1de' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2582@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 08:27:44.065 ***🔗
alice_unsubscribe_2582@localhost/res1 out
<iq type='set' id='362438300a51a46b526bad7018870342'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:27:44.066 ***🔗
alice_unsubscribe_2582@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2582@localhost/res1' id='362438300a51a46b526bad7018870342' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:27:44.066 ***🔗
alice_unsubscribe_2582@localhost/res1 out
<presence/>



*** User 2024-03-13 08:27:44.068 ***🔗
alice_unsubscribe_2582@localhost/res1 in
<presence from='alice_unsubscribe_2582@localhost/res1' to='alice_unsubscribe_2582@localhost/res1'/>



*** User 2024-03-13 08:27:44.069 ***🔗
bOb_unsubscribe_2582@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-03-13 08:27:44.069 ***🔗
bOb_unsubscribe_2582@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ac63cb0eeb6dcc0b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-13 08:27:44.069 ***🔗
bOb_unsubscribe_2582@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-03-13 08:27:44.069 ***🔗
bOb_unsubscribe_2582@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNTgyAG1ha3JvbGlrYQ==</auth>



*** User 2024-03-13 08:27:44.071 ***🔗
bOb_unsubscribe_2582@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 08:27:44.071 ***🔗
bOb_unsubscribe_2582@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-03-13 08:27:44.071 ***🔗
bOb_unsubscribe_2582@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='58d1c11f2d4ef52f' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2582@localhost'>

*** User 2024-03-13 08:27:44.071 ***🔗
bOb_unsubscribe_2582@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-03-13 08:27:44.071 ***🔗
bOb_unsubscribe_2582@localhost/res1 out
<iq type='set' id='c14d5d1e7eaf6e3301889a4ff141dfec'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 08:27:44.071 ***🔗
bOb_unsubscribe_2582@localhost/res1 in
<iq id='c14d5d1e7eaf6e3301889a4ff141dfec' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2582@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 08:27:44.072 ***🔗
bob_unsubscribe_2582@localhost/res1 out
<iq type='set' id='4f23d99de3538024a8fefacb99074b7e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:27:44.072 ***🔗
bob_unsubscribe_2582@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2582@localhost/res1' id='4f23d99de3538024a8fefacb99074b7e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:27:44.072 ***🔗
bob_unsubscribe_2582@localhost/res1 out
<presence/>



*** User 2024-03-13 08:27:44.074 ***🔗
bob_unsubscribe_2582@localhost/res1 in
<presence from='bob_unsubscribe_2582@localhost/res1' to='bob_unsubscribe_2582@localhost/res1'/>



*** User 2024-03-13 08:27:44.074 ***🔗
alice_unsubscribe_2582@localhost/res1 out
<iq type='set' id='207fcceefc53ebd59cd56e9cffb3fada'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2582@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:44.079 ***🔗
alice_unsubscribe_2582@localhost/res1 in
<iq from='alice_unsubscribe_2582@localhost' to='alice_unsubscribe_2582@localhost/res1' id='pushdafdaf7e432be06f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2582@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:44.079 ***🔗
alice_unsubscribe_2582@localhost/res1 in
<iq from='alice_unsubscribe_2582@localhost' to='alice_unsubscribe_2582@localhost/res1' id='207fcceefc53ebd59cd56e9cffb3fada' type='result'/>



*** User 2024-03-13 08:27:44.080 ***🔗
alice_unsubscribe_2582@localhost/res1 out
<iq to='alice_unsubscribe_2582@localhost' id='pushdafdaf7e432be06f' type='result'/>



*** User 2024-03-13 08:27:44.080 ***🔗
alice_unsubscribe_2582@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2582@localhost'/>



*** User 2024-03-13 08:27:44.087 ***🔗
alice_unsubscribe_2582@localhost/res1 in
<iq from='alice_unsubscribe_2582@localhost' to='alice_unsubscribe_2582@localhost/res1' id='pushc14707b025b7ce27' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2582@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:44.087 ***🔗
alice_unsubscribe_2582@localhost/res1 out
<iq to='alice_unsubscribe_2582@localhost' id='pushc14707b025b7ce27' type='result'/>



*** User 2024-03-13 08:27:44.087 ***🔗
bob_unsubscribe_2582@localhost/res1 in
<presence from='alice_unsubscribe_2582@localhost' to='bob_unsubscribe_2582@localhost/res1' type='subscribe'/>



*** User 2024-03-13 08:27:44.088 ***🔗
bob_unsubscribe_2582@localhost/res1 out
<iq type='set' id='f1e20d4a4723894eeb216e459abd6657'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2582@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:44.098 ***🔗
bob_unsubscribe_2582@localhost/res1 in
<iq from='bob_unsubscribe_2582@localhost' to='bob_unsubscribe_2582@localhost/res1' id='push5d215b618dc67e12' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2582@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:44.098 ***🔗
bob_unsubscribe_2582@localhost/res1 out
<iq to='bob_unsubscribe_2582@localhost' id='push5d215b618dc67e12' type='result'/>



*** User 2024-03-13 08:27:44.098 ***🔗
bob_unsubscribe_2582@localhost/res1 in
<iq from='bob_unsubscribe_2582@localhost' to='bob_unsubscribe_2582@localhost/res1' id='f1e20d4a4723894eeb216e459abd6657' type='result'/>



*** User 2024-03-13 08:27:44.098 ***🔗
bob_unsubscribe_2582@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2582@localhost'/>



*** User 2024-03-13 08:27:44.125 ***🔗
alice_unsubscribe_2582@localhost/res1 in
<iq from='alice_unsubscribe_2582@localhost' to='alice_unsubscribe_2582@localhost/res1' id='push838bcad31b8d7e21' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2582@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:44.126 ***🔗
alice_unsubscribe_2582@localhost/res1 in
<presence from='bob_unsubscribe_2582@localhost' to='alice_unsubscribe_2582@localhost/res1' type='subscribed'/>



*** User 2024-03-13 08:27:44.126 ***🔗
alice_unsubscribe_2582@localhost/res1 in
<presence from='bob_unsubscribe_2582@localhost/res1' to='alice_unsubscribe_2582@localhost/res1'/>



*** User 2024-03-13 08:27:44.126 ***🔗
bob_unsubscribe_2582@localhost/res1 in
<iq from='bob_unsubscribe_2582@localhost' to='bob_unsubscribe_2582@localhost/res1' id='pusha1737a6b6b24db9d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2582@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:44.126 ***🔗
alice_unsubscribe_2582@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2582@localhost'/>



*** User 2024-03-13 08:27:44.133 ***🔗
alice_unsubscribe_2582@localhost/res1 in
<iq from='alice_unsubscribe_2582@localhost' to='alice_unsubscribe_2582@localhost/res1' id='pushabec3efe6cb6062e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2582@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:44.133 ***🔗
alice_unsubscribe_2582@localhost/res1 out
<iq to='alice_unsubscribe_2582@localhost' id='pushabec3efe6cb6062e' type='result'/>



*** User 2024-03-13 08:27:44.133 ***🔗
bob_unsubscribe_2582@localhost/res1 in
<iq from='bob_unsubscribe_2582@localhost' to='bob_unsubscribe_2582@localhost/res1' id='pushe9aab6885b54e42e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2582@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:44.133 ***🔗
bob_unsubscribe_2582@localhost/res1 in
<presence from='alice_unsubscribe_2582@localhost' to='bob_unsubscribe_2582@localhost/res1' type='unsubscribe'/>



*** User 2024-03-13 08:27:44.133 ***🔗
alice_unsubscribe_2582@localhost/res1 in
<presence from='bob_unsubscribe_2582@localhost/res1' to='alice_unsubscribe_2582@localhost/res1' type='unavailable'/>



*** User 2024-03-13 08:27:44.134 ***🔗
bob_unsubscribe_2582@localhost/res1 out
</stream:stream>

*** User 2024-03-13 08:27:44.134 ***🔗
bob_unsubscribe_2582@localhost/res1 in
</stream:stream>

*** User 2024-03-13 08:27:44.134 ***🔗
alice_unsubscribe_2582@localhost/res1 out
</stream:stream>

*** User 2024-03-13 08:27:44.135 ***🔗
alice_unsubscribe_2582@localhost/res1 in
</stream:stream>
*** CT 2024-03-13 08:27:44.147 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4358.html



=== Ended at 2024-03-13 08:27:44
=== successfully completed test case
=== === Returned value: ok