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

=== Config value:

    [{watchdog,<0.69719.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@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.presence_SUITE.logs/run.2024-03-11_09.18.29/presence_suite.unsubscribe.115203.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@fe524ba9ae35.2024-03-11_09.05.30/big_tests.tests.presence_SUITE.logs/run.2024-03-11_09.18.29/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@fe524ba9ae35.2024-03-11_09.05.30"

=== Started at 2024-03-11 09:18:31


*** CT 2024-03-11 09:18:31.649 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4307.html

*** User 2024-03-11 09:18:31.655 ***🔗
alicE_unsubscribe_2529@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-11 09:18:31.656 ***🔗
alicE_unsubscribe_2529@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0554a71cf50613f2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 09:18:31.656 ***🔗
alicE_unsubscribe_2529@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-11 09:18:31.656 ***🔗
alicE_unsubscribe_2529@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI1MjkAbWF0eWdyeXNh</auth>



*** User 2024-03-11 09:18:31.657 ***🔗
alicE_unsubscribe_2529@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 09:18:31.657 ***🔗
alicE_unsubscribe_2529@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-11 09:18:31.657 ***🔗
alicE_unsubscribe_2529@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2dd43e11db56ea14' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2529@localhost'>

*** User 2024-03-11 09:18:31.657 ***🔗
alicE_unsubscribe_2529@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-11 09:18:31.657 ***🔗
alicE_unsubscribe_2529@localhost/res1 out
<iq type='set' id='23aa9d6f69dfa426b14259a6d3b58da8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 09:18:31.658 ***🔗
alicE_unsubscribe_2529@localhost/res1 in
<iq id='23aa9d6f69dfa426b14259a6d3b58da8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2529@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 09:18:31.658 ***🔗
alice_unsubscribe_2529@localhost/res1 out
<iq type='set' id='a9f581876d494de5734f1b66748e7f6e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:18:31.658 ***🔗
alice_unsubscribe_2529@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2529@localhost/res1' id='a9f581876d494de5734f1b66748e7f6e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:18:31.659 ***🔗
alice_unsubscribe_2529@localhost/res1 out
<presence/>



*** User 2024-03-11 09:18:31.660 ***🔗
alice_unsubscribe_2529@localhost/res1 in
<presence from='alice_unsubscribe_2529@localhost/res1' to='alice_unsubscribe_2529@localhost/res1'/>



*** User 2024-03-11 09:18:31.660 ***🔗
bOb_unsubscribe_2529@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-11 09:18:31.660 ***🔗
bOb_unsubscribe_2529@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='45c6cd6404914e79' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 09:18:31.661 ***🔗
bOb_unsubscribe_2529@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-11 09:18:31.661 ***🔗
bOb_unsubscribe_2529@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNTI5AG1ha3JvbGlrYQ==</auth>



*** User 2024-03-11 09:18:31.661 ***🔗
bOb_unsubscribe_2529@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 09:18:31.661 ***🔗
bOb_unsubscribe_2529@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-11 09:18:31.662 ***🔗
bOb_unsubscribe_2529@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d9204e5d07a7aaed' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2529@localhost'>

*** User 2024-03-11 09:18:31.662 ***🔗
bOb_unsubscribe_2529@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-11 09:18:31.662 ***🔗
bOb_unsubscribe_2529@localhost/res1 out
<iq type='set' id='37e686854c1deb111333cfdec19bcb8d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 09:18:31.662 ***🔗
bOb_unsubscribe_2529@localhost/res1 in
<iq id='37e686854c1deb111333cfdec19bcb8d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2529@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 09:18:31.662 ***🔗
bob_unsubscribe_2529@localhost/res1 out
<iq type='set' id='eeccfee68541190489c48d56d812beb5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:18:31.668 ***🔗
bob_unsubscribe_2529@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2529@localhost/res1' id='eeccfee68541190489c48d56d812beb5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 09:18:31.668 ***🔗
bob_unsubscribe_2529@localhost/res1 out
<presence/>



*** User 2024-03-11 09:18:31.669 ***🔗
bob_unsubscribe_2529@localhost/res1 in
<presence from='bob_unsubscribe_2529@localhost/res1' to='bob_unsubscribe_2529@localhost/res1'/>



*** User 2024-03-11 09:18:31.669 ***🔗
alice_unsubscribe_2529@localhost/res1 out
<iq type='set' id='3f9f73336b1c25a2d6793cc540846af9'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2529@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 09:18:31.673 ***🔗
alice_unsubscribe_2529@localhost/res1 in
<iq from='alice_unsubscribe_2529@localhost' to='alice_unsubscribe_2529@localhost/res1' id='push9d573468428d737c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2529@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 09:18:31.673 ***🔗
alice_unsubscribe_2529@localhost/res1 in
<iq from='alice_unsubscribe_2529@localhost' to='alice_unsubscribe_2529@localhost/res1' id='3f9f73336b1c25a2d6793cc540846af9' type='result'/>



*** User 2024-03-11 09:18:31.673 ***🔗
alice_unsubscribe_2529@localhost/res1 out
<iq to='alice_unsubscribe_2529@localhost' id='push9d573468428d737c' type='result'/>



*** User 2024-03-11 09:18:31.673 ***🔗
alice_unsubscribe_2529@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2529@localhost'/>



*** User 2024-03-11 09:18:31.676 ***🔗
alice_unsubscribe_2529@localhost/res1 in
<iq from='alice_unsubscribe_2529@localhost' to='alice_unsubscribe_2529@localhost/res1' id='push4417e11783a10ad1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2529@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 09:18:31.676 ***🔗
alice_unsubscribe_2529@localhost/res1 out
<iq to='alice_unsubscribe_2529@localhost' id='push4417e11783a10ad1' type='result'/>



*** User 2024-03-11 09:18:31.676 ***🔗
bob_unsubscribe_2529@localhost/res1 in
<presence from='alice_unsubscribe_2529@localhost' to='bob_unsubscribe_2529@localhost/res1' type='subscribe'/>



*** User 2024-03-11 09:18:31.676 ***🔗
bob_unsubscribe_2529@localhost/res1 out
<iq type='set' id='a14ab5d4d82b5e9d16a9b58002dd59f7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2529@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 09:18:31.682 ***🔗
bob_unsubscribe_2529@localhost/res1 in
<iq from='bob_unsubscribe_2529@localhost' to='bob_unsubscribe_2529@localhost/res1' id='push6d0781912ffbcd84' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2529@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 09:18:31.683 ***🔗
bob_unsubscribe_2529@localhost/res1 out
<iq to='bob_unsubscribe_2529@localhost' id='push6d0781912ffbcd84' type='result'/>



*** User 2024-03-11 09:18:31.683 ***🔗
bob_unsubscribe_2529@localhost/res1 in
<iq from='bob_unsubscribe_2529@localhost' to='bob_unsubscribe_2529@localhost/res1' id='a14ab5d4d82b5e9d16a9b58002dd59f7' type='result'/>



*** User 2024-03-11 09:18:31.683 ***🔗
bob_unsubscribe_2529@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2529@localhost'/>



*** User 2024-03-11 09:18:31.686 ***🔗
alice_unsubscribe_2529@localhost/res1 in
<iq from='alice_unsubscribe_2529@localhost' to='alice_unsubscribe_2529@localhost/res1' id='pushb5939e9a98b546f6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_2529@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 09:18:31.686 ***🔗
alice_unsubscribe_2529@localhost/res1 in
<presence from='bob_unsubscribe_2529@localhost' to='alice_unsubscribe_2529@localhost/res1' type='subscribed'/>



*** User 2024-03-11 09:18:31.686 ***🔗
alice_unsubscribe_2529@localhost/res1 in
<presence from='bob_unsubscribe_2529@localhost/res1' to='alice_unsubscribe_2529@localhost/res1'/>



*** User 2024-03-11 09:18:31.686 ***🔗
bob_unsubscribe_2529@localhost/res1 in
<iq from='bob_unsubscribe_2529@localhost' to='bob_unsubscribe_2529@localhost/res1' id='pusha2f3eaa449bc6e3f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2529@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 09:18:31.686 ***🔗
alice_unsubscribe_2529@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2529@localhost'/>



*** User 2024-03-11 09:18:31.691 ***🔗
alice_unsubscribe_2529@localhost/res1 in
<iq from='alice_unsubscribe_2529@localhost' to='alice_unsubscribe_2529@localhost/res1' id='push022658b287e4ea61' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2529@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 09:18:31.691 ***🔗
alice_unsubscribe_2529@localhost/res1 out
<iq to='alice_unsubscribe_2529@localhost' id='push022658b287e4ea61' type='result'/>



*** User 2024-03-11 09:18:31.691 ***🔗
bob_unsubscribe_2529@localhost/res1 in
<iq from='bob_unsubscribe_2529@localhost' to='bob_unsubscribe_2529@localhost/res1' id='push8af4aca84cae2c09' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2529@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 09:18:31.691 ***🔗
bob_unsubscribe_2529@localhost/res1 in
<presence from='alice_unsubscribe_2529@localhost' to='bob_unsubscribe_2529@localhost/res1' type='unsubscribe'/>



*** User 2024-03-11 09:18:31.691 ***🔗
alice_unsubscribe_2529@localhost/res1 in
<presence from='bob_unsubscribe_2529@localhost/res1' to='alice_unsubscribe_2529@localhost/res1' type='unavailable'/>



*** User 2024-03-11 09:18:31.692 ***🔗
bob_unsubscribe_2529@localhost/res1 out
</stream:stream>

*** User 2024-03-11 09:18:31.692 ***🔗
bob_unsubscribe_2529@localhost/res1 in
</stream:stream>

*** User 2024-03-11 09:18:31.692 ***🔗
alice_unsubscribe_2529@localhost/res1 out
</stream:stream>

*** User 2024-03-11 09:18:31.692 ***🔗
alice_unsubscribe_2529@localhost/res1 in
</stream:stream>
*** CT 2024-03-11 09:18:31.701 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4307.html



=== Ended at 2024-03-11 09:18:31
=== successfully completed test case
=== === Returned value: ok