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

=== Config value:

    [{watchdog,<0.78144.0>},
     {preset,"odbc_mssql_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@f41cbf1d623b.2024-04-15_16.46.00/big_tests.tests.presence_SUITE.logs/run.2024-04-15_17.02.11/presence_suite.unsubscribe.167299.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@f41cbf1d623b.2024-04-15_16.46.00/big_tests.tests.presence_SUITE.logs/run.2024-04-15_17.02.11/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@f41cbf1d623b.2024-04-15_16.46.00"

=== Started at 2024-04-15 17:02:13


*** CT 2024-04-15 17:02:13.593 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4764.html

*** User 2024-04-15 17:02:13.638 ***🔗
alicE_unsubscribe_3056@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-15 17:02:13.639 ***🔗
alicE_unsubscribe_3056@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c5cbbc947088eb34' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 17:02:13.639 ***🔗
alicE_unsubscribe_3056@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-15 17:02:13.639 ***🔗
alicE_unsubscribe_3056@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzMwNTYAbWF0eWdyeXNh</auth>



*** User 2024-04-15 17:02:13.652 ***🔗
alicE_unsubscribe_3056@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 17:02:13.652 ***🔗
alicE_unsubscribe_3056@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-15 17:02:13.653 ***🔗
alicE_unsubscribe_3056@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='182c75da6cf70797' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_3056@localhost'>

*** User 2024-04-15 17:02:13.653 ***🔗
alicE_unsubscribe_3056@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-15 17:02:13.653 ***🔗
alicE_unsubscribe_3056@localhost/res1 out
<iq type='set' id='b565d91220f4799db82261557540ebed'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 17:02:13.653 ***🔗
alicE_unsubscribe_3056@localhost/res1 in
<iq id='b565d91220f4799db82261557540ebed' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_3056@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 17:02:13.653 ***🔗
alice_unsubscribe_3056@localhost/res1 out
<iq type='set' id='a13ecd06ca6e8b02afc890bcffb7e833'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 17:02:13.654 ***🔗
alice_unsubscribe_3056@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_3056@localhost/res1' id='a13ecd06ca6e8b02afc890bcffb7e833' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 17:02:13.654 ***🔗
alice_unsubscribe_3056@localhost/res1 out
<presence/>



*** User 2024-04-15 17:02:13.656 ***🔗
alice_unsubscribe_3056@localhost/res1 in
<presence from='alice_unsubscribe_3056@localhost/res1' to='alice_unsubscribe_3056@localhost/res1'/>



*** User 2024-04-15 17:02:13.656 ***🔗
bOb_unsubscribe_3056@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-15 17:02:13.657 ***🔗
bOb_unsubscribe_3056@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='212b89ebcbd83d72' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 17:02:13.657 ***🔗
bOb_unsubscribe_3056@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-15 17:02:13.657 ***🔗
bOb_unsubscribe_3056@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8zMDU2AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-15 17:02:13.668 ***🔗
bOb_unsubscribe_3056@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 17:02:13.668 ***🔗
bOb_unsubscribe_3056@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-15 17:02:13.669 ***🔗
bOb_unsubscribe_3056@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='62652a6034734c25' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_3056@localhost'>

*** User 2024-04-15 17:02:13.669 ***🔗
bOb_unsubscribe_3056@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-15 17:02:13.669 ***🔗
bOb_unsubscribe_3056@localhost/res1 out
<iq type='set' id='a1d794c1bcf12ee64af62f315e37a2c5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 17:02:13.669 ***🔗
bOb_unsubscribe_3056@localhost/res1 in
<iq id='a1d794c1bcf12ee64af62f315e37a2c5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_3056@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 17:02:13.669 ***🔗
bob_unsubscribe_3056@localhost/res1 out
<iq type='set' id='683764e97d16b05ca09b43ef2bc25cd2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 17:02:13.670 ***🔗
bob_unsubscribe_3056@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_3056@localhost/res1' id='683764e97d16b05ca09b43ef2bc25cd2' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 17:02:13.670 ***🔗
bob_unsubscribe_3056@localhost/res1 out
<presence/>



*** User 2024-04-15 17:02:13.671 ***🔗
bob_unsubscribe_3056@localhost/res1 in
<presence from='bob_unsubscribe_3056@localhost/res1' to='bob_unsubscribe_3056@localhost/res1'/>



*** User 2024-04-15 17:02:13.671 ***🔗
alice_unsubscribe_3056@localhost/res1 out
<iq type='set' id='fe8bc47ea6c241a063eb26b5f409ab86'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_3056@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 17:02:13.679 ***🔗
alice_unsubscribe_3056@localhost/res1 in
<iq from='alice_unsubscribe_3056@localhost' to='alice_unsubscribe_3056@localhost/res1' id='push9e52e4d40c394c5e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3056@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 17:02:13.680 ***🔗
alice_unsubscribe_3056@localhost/res1 in
<iq from='alice_unsubscribe_3056@localhost' to='alice_unsubscribe_3056@localhost/res1' id='fe8bc47ea6c241a063eb26b5f409ab86' type='result'/>



*** User 2024-04-15 17:02:13.680 ***🔗
alice_unsubscribe_3056@localhost/res1 out
<iq to='alice_unsubscribe_3056@localhost' id='push9e52e4d40c394c5e' type='result'/>



*** User 2024-04-15 17:02:13.680 ***🔗
alice_unsubscribe_3056@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_3056@localhost'/>



*** User 2024-04-15 17:02:13.731 ***🔗
alice_unsubscribe_3056@localhost/res1 in
<iq from='alice_unsubscribe_3056@localhost' to='alice_unsubscribe_3056@localhost/res1' id='pushb7fdee4bc6009387' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_3056@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 17:02:13.731 ***🔗
alice_unsubscribe_3056@localhost/res1 out
<iq to='alice_unsubscribe_3056@localhost' id='pushb7fdee4bc6009387' type='result'/>



*** User 2024-04-15 17:02:13.731 ***🔗
bob_unsubscribe_3056@localhost/res1 in
<presence from='alice_unsubscribe_3056@localhost' to='bob_unsubscribe_3056@localhost/res1' type='subscribe'/>



*** User 2024-04-15 17:02:13.731 ***🔗
bob_unsubscribe_3056@localhost/res1 out
<iq type='set' id='d8863cf60f4de69628ae6d8c23aa7fe9'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_3056@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 17:02:13.744 ***🔗
bob_unsubscribe_3056@localhost/res1 in
<iq from='bob_unsubscribe_3056@localhost' to='bob_unsubscribe_3056@localhost/res1' id='pushcce78c5bdd5e9524' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3056@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 17:02:13.744 ***🔗
bob_unsubscribe_3056@localhost/res1 out
<iq to='bob_unsubscribe_3056@localhost' id='pushcce78c5bdd5e9524' type='result'/>



*** User 2024-04-15 17:02:13.744 ***🔗
bob_unsubscribe_3056@localhost/res1 in
<iq from='bob_unsubscribe_3056@localhost' to='bob_unsubscribe_3056@localhost/res1' id='d8863cf60f4de69628ae6d8c23aa7fe9' type='result'/>



*** User 2024-04-15 17:02:13.744 ***🔗
bob_unsubscribe_3056@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_3056@localhost'/>



*** User 2024-04-15 17:02:13.756 ***🔗
alice_unsubscribe_3056@localhost/res1 in
<iq from='alice_unsubscribe_3056@localhost' to='alice_unsubscribe_3056@localhost/res1' id='push968f7f75e13725e2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3056@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 17:02:13.756 ***🔗
alice_unsubscribe_3056@localhost/res1 in
<presence from='bob_unsubscribe_3056@localhost' to='alice_unsubscribe_3056@localhost/res1' type='subscribed'/>



*** User 2024-04-15 17:02:13.756 ***🔗
alice_unsubscribe_3056@localhost/res1 in
<presence from='bob_unsubscribe_3056@localhost/res1' to='alice_unsubscribe_3056@localhost/res1'/>



*** User 2024-04-15 17:02:13.756 ***🔗
bob_unsubscribe_3056@localhost/res1 in
<iq from='bob_unsubscribe_3056@localhost' to='bob_unsubscribe_3056@localhost/res1' id='pushb9911ec092a35270' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3056@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 17:02:13.756 ***🔗
alice_unsubscribe_3056@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_3056@localhost'/>



*** User 2024-04-15 17:02:13.768 ***🔗
alice_unsubscribe_3056@localhost/res1 in
<iq from='alice_unsubscribe_3056@localhost' to='alice_unsubscribe_3056@localhost/res1' id='push16fc2ce39e0c1c3c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_3056@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 17:02:13.768 ***🔗
alice_unsubscribe_3056@localhost/res1 out
<iq to='alice_unsubscribe_3056@localhost' id='push16fc2ce39e0c1c3c' type='result'/>



*** User 2024-04-15 17:02:13.768 ***🔗
bob_unsubscribe_3056@localhost/res1 in
<iq from='bob_unsubscribe_3056@localhost' to='bob_unsubscribe_3056@localhost/res1' id='pushe4ad44a911f67fa5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3056@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 17:02:13.768 ***🔗
bob_unsubscribe_3056@localhost/res1 in
<presence from='alice_unsubscribe_3056@localhost' to='bob_unsubscribe_3056@localhost/res1' type='unsubscribe'/>



*** User 2024-04-15 17:02:13.769 ***🔗
alice_unsubscribe_3056@localhost/res1 in
<presence from='bob_unsubscribe_3056@localhost/res1' to='alice_unsubscribe_3056@localhost/res1' type='unavailable'/>



*** User 2024-04-15 17:02:13.769 ***🔗
bob_unsubscribe_3056@localhost/res1 out
</stream:stream>

*** User 2024-04-15 17:02:13.769 ***🔗
bob_unsubscribe_3056@localhost/res1 in
</stream:stream>

*** User 2024-04-15 17:02:13.769 ***🔗
alice_unsubscribe_3056@localhost/res1 out
</stream:stream>

*** User 2024-04-15 17:02:13.769 ***🔗
alice_unsubscribe_3056@localhost/res1 in
</stream:stream>
*** CT 2024-04-15 17:02:13.780 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4764.html



=== Ended at 2024-04-15 17:02:13
=== successfully completed test case
=== === Returned value: ok