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

=== Config value:

    [{watchdog,<0.74670.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@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.presence_SUITE.logs/run.2023-11-13_19.09.36/presence_suite.unsubscribe.54917.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@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.presence_SUITE.logs/run.2023-11-13_19.09.36/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@e5832022abeb.2023-11-13_18.57.12"

=== Started at 2023-11-13 19:09:37


*** CT 2023-11-13 19:09:37.868 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4511.html

*** User 2023-11-13 19:09:37.877 ***🔗
alicE_unsubscribe_2661@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:09:37.877 ***🔗
alicE_unsubscribe_2661@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ad0f312bbe11588' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:09:37.877 ***🔗
alicE_unsubscribe_2661@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 2023-11-13 19:09:37.881 ***🔗
alicE_unsubscribe_2661@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI2NjEAbWF0eWdyeXNh</auth>



*** User 2023-11-13 19:09:37.882 ***🔗
alicE_unsubscribe_2661@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:09:37.882 ***🔗
alicE_unsubscribe_2661@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:09:37.882 ***🔗
alicE_unsubscribe_2661@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f3d27782bd86a564' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2661@localhost'>

*** User 2023-11-13 19:09:37.882 ***🔗
alicE_unsubscribe_2661@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 2023-11-13 19:09:37.882 ***🔗
alicE_unsubscribe_2661@localhost/res1 out
<iq type='set' id='7a3f8a9f539ce68c465dd30fe9cee2a9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:09:37.883 ***🔗
alicE_unsubscribe_2661@localhost/res1 in
<iq id='7a3f8a9f539ce68c465dd30fe9cee2a9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2661@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:09:37.883 ***🔗
alice_unsubscribe_2661@localhost/res1 out
<iq type='set' id='cd51b8a6b52ab73703e33e031928767d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:09:37.883 ***🔗
alice_unsubscribe_2661@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2661@localhost/res1' id='cd51b8a6b52ab73703e33e031928767d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:09:37.883 ***🔗
alice_unsubscribe_2661@localhost/res1 out
<presence/>



*** User 2023-11-13 19:09:37.884 ***🔗
alice_unsubscribe_2661@localhost/res1 in
<presence from='alice_unsubscribe_2661@localhost/res1' to='alice_unsubscribe_2661@localhost/res1'/>



*** User 2023-11-13 19:09:37.885 ***🔗
bOb_unsubscribe_2661@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:09:37.885 ***🔗
bOb_unsubscribe_2661@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c035574694f093fb' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:09:37.885 ***🔗
bOb_unsubscribe_2661@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 2023-11-13 19:09:37.885 ***🔗
bOb_unsubscribe_2661@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNjYxAG1ha3JvbGlrYQ==</auth>



*** User 2023-11-13 19:09:37.886 ***🔗
bOb_unsubscribe_2661@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:09:37.886 ***🔗
bOb_unsubscribe_2661@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-13 19:09:37.886 ***🔗
bOb_unsubscribe_2661@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a34d96557c29af49' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2661@localhost'>

*** User 2023-11-13 19:09:37.887 ***🔗
bOb_unsubscribe_2661@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 2023-11-13 19:09:37.887 ***🔗
bOb_unsubscribe_2661@localhost/res1 out
<iq type='set' id='d8b23cb27fdb23f6c59962c2c13109b2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:09:37.887 ***🔗
bOb_unsubscribe_2661@localhost/res1 in
<iq id='d8b23cb27fdb23f6c59962c2c13109b2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2661@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:09:37.887 ***🔗
bob_unsubscribe_2661@localhost/res1 out
<iq type='set' id='a47384dddaaf2371317ffa44d3ef77e8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:09:37.887 ***🔗
bob_unsubscribe_2661@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2661@localhost/res1' id='a47384dddaaf2371317ffa44d3ef77e8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:09:37.887 ***🔗
bob_unsubscribe_2661@localhost/res1 out
<presence/>



*** User 2023-11-13 19:09:37.888 ***🔗
bob_unsubscribe_2661@localhost/res1 in
<presence from='bob_unsubscribe_2661@localhost/res1' to='bob_unsubscribe_2661@localhost/res1'/>



*** User 2023-11-13 19:09:37.888 ***🔗
alice_unsubscribe_2661@localhost/res1 out
<iq type='set' id='15aa5e4861d2274433edb55836c56f7c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2661@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:09:37.896 ***🔗
alice_unsubscribe_2661@localhost/res1 in
<iq from='alice_unsubscribe_2661@localhost' to='alice_unsubscribe_2661@localhost/res1' id='push211b67faf6d78c08' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2661@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:09:37.896 ***🔗
alice_unsubscribe_2661@localhost/res1 in
<iq from='alice_unsubscribe_2661@localhost' to='alice_unsubscribe_2661@localhost/res1' id='15aa5e4861d2274433edb55836c56f7c' type='result'/>



*** User 2023-11-13 19:09:37.896 ***🔗
alice_unsubscribe_2661@localhost/res1 out
<iq to='alice_unsubscribe_2661@localhost' id='push211b67faf6d78c08' type='result'/>



*** User 2023-11-13 19:09:37.896 ***🔗
alice_unsubscribe_2661@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2661@localhost'/>



*** User 2023-11-13 19:09:37.901 ***🔗
alice_unsubscribe_2661@localhost/res1 in
<iq from='alice_unsubscribe_2661@localhost' to='alice_unsubscribe_2661@localhost/res1' id='push13f0dd3483400be2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2661@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:09:37.901 ***🔗
alice_unsubscribe_2661@localhost/res1 out
<iq to='alice_unsubscribe_2661@localhost' id='push13f0dd3483400be2' type='result'/>



*** User 2023-11-13 19:09:37.901 ***🔗
bob_unsubscribe_2661@localhost/res1 in
<presence from='alice_unsubscribe_2661@localhost' to='bob_unsubscribe_2661@localhost/res1' type='subscribe'/>



*** User 2023-11-13 19:09:37.901 ***🔗
bob_unsubscribe_2661@localhost/res1 out
<iq type='set' id='c6efcc3dfe0d9cac5912f1bbc8ae30a0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2661@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:09:37.903 ***🔗
bob_unsubscribe_2661@localhost/res1 in
<iq from='bob_unsubscribe_2661@localhost' to='bob_unsubscribe_2661@localhost/res1' id='push2b191623de6f5a2e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2661@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:09:37.903 ***🔗
bob_unsubscribe_2661@localhost/res1 out
<iq to='bob_unsubscribe_2661@localhost' id='push2b191623de6f5a2e' type='result'/>



*** User 2023-11-13 19:09:37.903 ***🔗
bob_unsubscribe_2661@localhost/res1 in
<iq from='bob_unsubscribe_2661@localhost' to='bob_unsubscribe_2661@localhost/res1' id='c6efcc3dfe0d9cac5912f1bbc8ae30a0' type='result'/>



*** User 2023-11-13 19:09:37.903 ***🔗
bob_unsubscribe_2661@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2661@localhost'/>



*** User 2023-11-13 19:09:37.906 ***🔗
alice_unsubscribe_2661@localhost/res1 in
<iq from='alice_unsubscribe_2661@localhost' to='alice_unsubscribe_2661@localhost/res1' id='pusha7c44481d0930c7e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_2661@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:09:37.906 ***🔗
alice_unsubscribe_2661@localhost/res1 in
<presence from='bob_unsubscribe_2661@localhost' to='alice_unsubscribe_2661@localhost/res1' type='subscribed'/>



*** User 2023-11-13 19:09:37.906 ***🔗
alice_unsubscribe_2661@localhost/res1 in
<presence from='bob_unsubscribe_2661@localhost/res1' to='alice_unsubscribe_2661@localhost/res1'/>



*** User 2023-11-13 19:09:37.907 ***🔗
bob_unsubscribe_2661@localhost/res1 in
<iq from='bob_unsubscribe_2661@localhost' to='bob_unsubscribe_2661@localhost/res1' id='pushfb4a78f3ff7da2b4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2661@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:09:37.907 ***🔗
alice_unsubscribe_2661@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2661@localhost'/>



*** User 2023-11-13 19:09:37.911 ***🔗
alice_unsubscribe_2661@localhost/res1 in
<iq from='alice_unsubscribe_2661@localhost' to='alice_unsubscribe_2661@localhost/res1' id='push4506f09734e53942' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2661@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:09:37.911 ***🔗
alice_unsubscribe_2661@localhost/res1 out
<iq to='alice_unsubscribe_2661@localhost' id='push4506f09734e53942' type='result'/>



*** User 2023-11-13 19:09:37.911 ***🔗
bob_unsubscribe_2661@localhost/res1 in
<iq from='bob_unsubscribe_2661@localhost' to='bob_unsubscribe_2661@localhost/res1' id='pushd14caede8ae7a492' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2661@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:09:37.911 ***🔗
bob_unsubscribe_2661@localhost/res1 in
<presence from='alice_unsubscribe_2661@localhost' to='bob_unsubscribe_2661@localhost/res1' type='unsubscribe'/>



*** User 2023-11-13 19:09:37.911 ***🔗
alice_unsubscribe_2661@localhost/res1 in
<presence from='bob_unsubscribe_2661@localhost/res1' to='alice_unsubscribe_2661@localhost/res1' type='unavailable'/>



*** User 2023-11-13 19:09:37.911 ***🔗
bob_unsubscribe_2661@localhost/res1 out
</stream:stream>

*** User 2023-11-13 19:09:37.911 ***🔗
bob_unsubscribe_2661@localhost/res1 in
</stream:stream>

*** User 2023-11-13 19:09:37.911 ***🔗
alice_unsubscribe_2661@localhost/res1 out
</stream:stream>

*** User 2023-11-13 19:09:37.912 ***🔗
alice_unsubscribe_2661@localhost/res1 in
</stream:stream>
*** CT 2023-11-13 19:09:37.917 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4511.html



=== Ended at 2023-11-13 19:09:37
=== successfully completed test case
=== === Returned value: ok