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

=== Config value:

    [{watchdog,<0.75866.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@c3f703cbaa20.2024-03-06_10.06.32/big_tests.tests.presence_SUITE.logs/run.2024-03-06_10.21.21/presence_suite.unsubscribe.140675.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@c3f703cbaa20.2024-03-06_10.06.32/big_tests.tests.presence_SUITE.logs/run.2024-03-06_10.21.21/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@c3f703cbaa20.2024-03-06_10.06.32"

=== Started at 2024-03-06 10:21:23


*** CT 2024-03-06 10:21:23.732 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4739.html

*** User 2024-03-06 10:21:23.740 ***🔗
alicE_unsubscribe_2859@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-06 10:21:23.740 ***🔗
alicE_unsubscribe_2859@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='22b5ab6fb4b86a32' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-06 10:21:23.740 ***🔗
alicE_unsubscribe_2859@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-06 10:21:23.740 ***🔗
alicE_unsubscribe_2859@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI4NTkAbWF0eWdyeXNh</auth>



*** User 2024-03-06 10:21:23.741 ***🔗
alicE_unsubscribe_2859@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-06 10:21:23.741 ***🔗
alicE_unsubscribe_2859@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-06 10:21:23.741 ***🔗
alicE_unsubscribe_2859@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='028a0cde3405a8dc' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2859@localhost'>

*** User 2024-03-06 10:21:23.742 ***🔗
alicE_unsubscribe_2859@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-06 10:21:23.742 ***🔗
alicE_unsubscribe_2859@localhost/res1 out
<iq type='set' id='1afdba315963b72c5a8142b2e2b8bb41'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-06 10:21:23.742 ***🔗
alicE_unsubscribe_2859@localhost/res1 in
<iq id='1afdba315963b72c5a8142b2e2b8bb41' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2859@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-06 10:21:23.742 ***🔗
alice_unsubscribe_2859@localhost/res1 out
<iq type='set' id='99a21eb2179d751db6b7f1648028a83b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 10:21:23.742 ***🔗
alice_unsubscribe_2859@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2859@localhost/res1' id='99a21eb2179d751db6b7f1648028a83b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 10:21:23.742 ***🔗
alice_unsubscribe_2859@localhost/res1 out
<presence/>



*** User 2024-03-06 10:21:23.743 ***🔗
alice_unsubscribe_2859@localhost/res1 in
<presence from='alice_unsubscribe_2859@localhost/res1' to='alice_unsubscribe_2859@localhost/res1'/>



*** User 2024-03-06 10:21:23.743 ***🔗
bOb_unsubscribe_2859@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-06 10:21:23.744 ***🔗
bOb_unsubscribe_2859@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='724e6979db680627' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-06 10:21:23.744 ***🔗
bOb_unsubscribe_2859@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-06 10:21:23.744 ***🔗
bOb_unsubscribe_2859@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yODU5AG1ha3JvbGlrYQ==</auth>



*** User 2024-03-06 10:21:23.744 ***🔗
bOb_unsubscribe_2859@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-06 10:21:23.744 ***🔗
bOb_unsubscribe_2859@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-06 10:21:23.745 ***🔗
bOb_unsubscribe_2859@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='530ef80b21ddefce' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2859@localhost'>

*** User 2024-03-06 10:21:23.745 ***🔗
bOb_unsubscribe_2859@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-06 10:21:23.745 ***🔗
bOb_unsubscribe_2859@localhost/res1 out
<iq type='set' id='a1d84c9c81ae8d41190d24c8227a3f97'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-06 10:21:23.745 ***🔗
bOb_unsubscribe_2859@localhost/res1 in
<iq id='a1d84c9c81ae8d41190d24c8227a3f97' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2859@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-06 10:21:23.745 ***🔗
bob_unsubscribe_2859@localhost/res1 out
<iq type='set' id='4f4be4b38d059625558d5d3185159a05'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 10:21:23.745 ***🔗
bob_unsubscribe_2859@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2859@localhost/res1' id='4f4be4b38d059625558d5d3185159a05' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 10:21:23.745 ***🔗
bob_unsubscribe_2859@localhost/res1 out
<presence/>



*** User 2024-03-06 10:21:23.746 ***🔗
bob_unsubscribe_2859@localhost/res1 in
<presence from='bob_unsubscribe_2859@localhost/res1' to='bob_unsubscribe_2859@localhost/res1'/>



*** User 2024-03-06 10:21:23.746 ***🔗
alice_unsubscribe_2859@localhost/res1 out
<iq type='set' id='c51ee66c2fb29e19cd2da5917976e6ca'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2859@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:21:23.755 ***🔗
alice_unsubscribe_2859@localhost/res1 in
<iq from='alice_unsubscribe_2859@localhost' to='alice_unsubscribe_2859@localhost/res1' id='push596f6212292008dc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2859@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:21:23.755 ***🔗
alice_unsubscribe_2859@localhost/res1 in
<iq from='alice_unsubscribe_2859@localhost' to='alice_unsubscribe_2859@localhost/res1' id='c51ee66c2fb29e19cd2da5917976e6ca' type='result'/>



*** User 2024-03-06 10:21:23.755 ***🔗
alice_unsubscribe_2859@localhost/res1 out
<iq to='alice_unsubscribe_2859@localhost' id='push596f6212292008dc' type='result'/>



*** User 2024-03-06 10:21:23.755 ***🔗
alice_unsubscribe_2859@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2859@localhost'/>



*** User 2024-03-06 10:21:23.758 ***🔗
alice_unsubscribe_2859@localhost/res1 in
<iq from='alice_unsubscribe_2859@localhost' to='alice_unsubscribe_2859@localhost/res1' id='push3407394e4d3e3583' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2859@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:21:23.758 ***🔗
alice_unsubscribe_2859@localhost/res1 out
<iq to='alice_unsubscribe_2859@localhost' id='push3407394e4d3e3583' type='result'/>



*** User 2024-03-06 10:21:23.758 ***🔗
bob_unsubscribe_2859@localhost/res1 in
<presence from='alice_unsubscribe_2859@localhost' to='bob_unsubscribe_2859@localhost/res1' type='subscribe'/>



*** User 2024-03-06 10:21:23.758 ***🔗
bob_unsubscribe_2859@localhost/res1 out
<iq type='set' id='c5cde130a117506f0eadacf7411f543b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2859@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:21:23.760 ***🔗
bob_unsubscribe_2859@localhost/res1 in
<iq from='bob_unsubscribe_2859@localhost' to='bob_unsubscribe_2859@localhost/res1' id='push3abbc273f3061c5a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2859@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:21:23.760 ***🔗
bob_unsubscribe_2859@localhost/res1 out
<iq to='bob_unsubscribe_2859@localhost' id='push3abbc273f3061c5a' type='result'/>



*** User 2024-03-06 10:21:23.760 ***🔗
bob_unsubscribe_2859@localhost/res1 in
<iq from='bob_unsubscribe_2859@localhost' to='bob_unsubscribe_2859@localhost/res1' id='c5cde130a117506f0eadacf7411f543b' type='result'/>



*** User 2024-03-06 10:21:23.760 ***🔗
bob_unsubscribe_2859@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2859@localhost'/>



*** User 2024-03-06 10:21:23.769 ***🔗
alice_unsubscribe_2859@localhost/res1 in
<iq from='alice_unsubscribe_2859@localhost' to='alice_unsubscribe_2859@localhost/res1' id='push4738f7001b2a7411' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_2859@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:21:23.769 ***🔗
alice_unsubscribe_2859@localhost/res1 in
<presence from='bob_unsubscribe_2859@localhost' to='alice_unsubscribe_2859@localhost/res1' type='subscribed'/>



*** User 2024-03-06 10:21:23.769 ***🔗
alice_unsubscribe_2859@localhost/res1 in
<presence from='bob_unsubscribe_2859@localhost/res1' to='alice_unsubscribe_2859@localhost/res1'/>



*** User 2024-03-06 10:21:23.769 ***🔗
bob_unsubscribe_2859@localhost/res1 in
<iq from='bob_unsubscribe_2859@localhost' to='bob_unsubscribe_2859@localhost/res1' id='push9e48d3d9aca7bab3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2859@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:21:23.769 ***🔗
alice_unsubscribe_2859@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2859@localhost'/>



*** User 2024-03-06 10:21:23.796 ***🔗
alice_unsubscribe_2859@localhost/res1 in
<iq from='alice_unsubscribe_2859@localhost' to='alice_unsubscribe_2859@localhost/res1' id='push95fac0f751d549f0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2859@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:21:23.797 ***🔗
alice_unsubscribe_2859@localhost/res1 out
<iq to='alice_unsubscribe_2859@localhost' id='push95fac0f751d549f0' type='result'/>



*** User 2024-03-06 10:21:23.797 ***🔗
bob_unsubscribe_2859@localhost/res1 in
<iq from='bob_unsubscribe_2859@localhost' to='bob_unsubscribe_2859@localhost/res1' id='push4d1bda493c3253f0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2859@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:21:23.797 ***🔗
bob_unsubscribe_2859@localhost/res1 in
<presence from='alice_unsubscribe_2859@localhost' to='bob_unsubscribe_2859@localhost/res1' type='unsubscribe'/>



*** User 2024-03-06 10:21:23.797 ***🔗
alice_unsubscribe_2859@localhost/res1 in
<presence from='bob_unsubscribe_2859@localhost/res1' to='alice_unsubscribe_2859@localhost/res1' type='unavailable'/>



*** User 2024-03-06 10:21:23.797 ***🔗
bob_unsubscribe_2859@localhost/res1 out
</stream:stream>

*** User 2024-03-06 10:21:23.797 ***🔗
bob_unsubscribe_2859@localhost/res1 in
</stream:stream>

*** User 2024-03-06 10:21:23.797 ***🔗
alice_unsubscribe_2859@localhost/res1 out
</stream:stream>

*** User 2024-03-06 10:21:23.798 ***🔗
alice_unsubscribe_2859@localhost/res1 in
</stream:stream>
*** CT 2024-03-06 10:21:23.804 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4739.html



=== Ended at 2024-03-06 10:21:23
=== successfully completed test case
=== === Returned value: ok