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

=== Config value:

    [{watchdog,<0.74754.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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.51/presence_suite.unsubscribe.151683.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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.51/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@1c2ae12cdb1a.2023-11-17_15.10.15"

=== Started at 2023-11-17 15:22:53


*** CT 2023-11-17 15:22:53.483 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4553.html

*** User 2023-11-17 15:22:53.498 ***🔗
alicE_unsubscribe_2615@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-17 15:22:53.498 ***🔗
alicE_unsubscribe_2615@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9656ef13c70fdc8a' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:22:53.498 ***🔗
alicE_unsubscribe_2615@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-17 15:22:53.498 ***🔗
alicE_unsubscribe_2615@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI2MTUAbWF0eWdyeXNh</auth>



*** User 2023-11-17 15:22:53.499 ***🔗
alicE_unsubscribe_2615@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:22:53.499 ***🔗
alicE_unsubscribe_2615@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-17 15:22:53.499 ***🔗
alicE_unsubscribe_2615@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='167ed490859671c3' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2615@localhost'>

*** User 2023-11-17 15:22:53.499 ***🔗
alicE_unsubscribe_2615@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-17 15:22:53.499 ***🔗
alicE_unsubscribe_2615@localhost/res1 out
<iq type='set' id='4ac2e243f8d6b603527fdaa2b0a3990d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:53.500 ***🔗
alicE_unsubscribe_2615@localhost/res1 in
<iq id='4ac2e243f8d6b603527fdaa2b0a3990d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2615@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:53.500 ***🔗
alice_unsubscribe_2615@localhost/res1 out
<iq type='set' id='b7a084a435a7d891256df018d6101f06'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:53.500 ***🔗
alice_unsubscribe_2615@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2615@localhost/res1' id='b7a084a435a7d891256df018d6101f06' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:53.500 ***🔗
alice_unsubscribe_2615@localhost/res1 out
<presence/>



*** User 2023-11-17 15:22:53.501 ***🔗
alice_unsubscribe_2615@localhost/res1 in
<presence from='alice_unsubscribe_2615@localhost/res1' to='alice_unsubscribe_2615@localhost/res1'/>



*** User 2023-11-17 15:22:53.502 ***🔗
bOb_unsubscribe_2615@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-17 15:22:53.502 ***🔗
bOb_unsubscribe_2615@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e4ec93dc65889657' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:22:53.502 ***🔗
bOb_unsubscribe_2615@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-17 15:22:53.502 ***🔗
bOb_unsubscribe_2615@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNjE1AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-17 15:22:53.503 ***🔗
bOb_unsubscribe_2615@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:22:53.503 ***🔗
bOb_unsubscribe_2615@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-17 15:22:53.503 ***🔗
bOb_unsubscribe_2615@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dfa43a22c510ca77' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2615@localhost'>

*** User 2023-11-17 15:22:53.503 ***🔗
bOb_unsubscribe_2615@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-17 15:22:53.503 ***🔗
bOb_unsubscribe_2615@localhost/res1 out
<iq type='set' id='1a5897d49d5cd877ba0b8e8da41a4309'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:53.503 ***🔗
bOb_unsubscribe_2615@localhost/res1 in
<iq id='1a5897d49d5cd877ba0b8e8da41a4309' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2615@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:53.503 ***🔗
bob_unsubscribe_2615@localhost/res1 out
<iq type='set' id='5c6e3110521159633a7dd90b4affcecc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:53.504 ***🔗
bob_unsubscribe_2615@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2615@localhost/res1' id='5c6e3110521159633a7dd90b4affcecc' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:53.504 ***🔗
bob_unsubscribe_2615@localhost/res1 out
<presence/>



*** User 2023-11-17 15:22:53.506 ***🔗
bob_unsubscribe_2615@localhost/res1 in
<presence from='bob_unsubscribe_2615@localhost/res1' to='bob_unsubscribe_2615@localhost/res1'/>



*** User 2023-11-17 15:22:53.506 ***🔗
alice_unsubscribe_2615@localhost/res1 out
<iq type='set' id='a68c0bddda62dfeeda6e197a8a9114c1'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2615@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:53.514 ***🔗
alice_unsubscribe_2615@localhost/res1 in
<iq from='alice_unsubscribe_2615@localhost' to='alice_unsubscribe_2615@localhost/res1' id='push56dc27d19f2fd462' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2615@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:53.514 ***🔗
alice_unsubscribe_2615@localhost/res1 in
<iq from='alice_unsubscribe_2615@localhost' to='alice_unsubscribe_2615@localhost/res1' id='a68c0bddda62dfeeda6e197a8a9114c1' type='result'/>



*** User 2023-11-17 15:22:53.514 ***🔗
alice_unsubscribe_2615@localhost/res1 out
<iq to='alice_unsubscribe_2615@localhost' id='push56dc27d19f2fd462' type='result'/>



*** User 2023-11-17 15:22:53.514 ***🔗
alice_unsubscribe_2615@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2615@localhost'/>



*** User 2023-11-17 15:22:53.518 ***🔗
alice_unsubscribe_2615@localhost/res1 in
<iq from='alice_unsubscribe_2615@localhost' to='alice_unsubscribe_2615@localhost/res1' id='pushc1fe6f6d47070b1c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2615@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:53.518 ***🔗
alice_unsubscribe_2615@localhost/res1 out
<iq to='alice_unsubscribe_2615@localhost' id='pushc1fe6f6d47070b1c' type='result'/>



*** User 2023-11-17 15:22:53.518 ***🔗
bob_unsubscribe_2615@localhost/res1 in
<presence from='alice_unsubscribe_2615@localhost' to='bob_unsubscribe_2615@localhost/res1' type='subscribe'/>



*** User 2023-11-17 15:22:53.518 ***🔗
bob_unsubscribe_2615@localhost/res1 out
<iq type='set' id='af03e94aac4cf820a5ebcd9b78e0fb20'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2615@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:53.520 ***🔗
bob_unsubscribe_2615@localhost/res1 in
<iq from='bob_unsubscribe_2615@localhost' to='bob_unsubscribe_2615@localhost/res1' id='push940a57588df23078' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2615@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:53.520 ***🔗
bob_unsubscribe_2615@localhost/res1 out
<iq to='bob_unsubscribe_2615@localhost' id='push940a57588df23078' type='result'/>



*** User 2023-11-17 15:22:53.520 ***🔗
bob_unsubscribe_2615@localhost/res1 in
<iq from='bob_unsubscribe_2615@localhost' to='bob_unsubscribe_2615@localhost/res1' id='af03e94aac4cf820a5ebcd9b78e0fb20' type='result'/>



*** User 2023-11-17 15:22:53.520 ***🔗
bob_unsubscribe_2615@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2615@localhost'/>



*** User 2023-11-17 15:22:53.523 ***🔗
alice_unsubscribe_2615@localhost/res1 in
<iq from='alice_unsubscribe_2615@localhost' to='alice_unsubscribe_2615@localhost/res1' id='push07130888dcbf25aa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_2615@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:53.524 ***🔗
alice_unsubscribe_2615@localhost/res1 in
<presence from='bob_unsubscribe_2615@localhost' to='alice_unsubscribe_2615@localhost/res1' type='subscribed'/>



*** User 2023-11-17 15:22:53.524 ***🔗
alice_unsubscribe_2615@localhost/res1 in
<presence from='bob_unsubscribe_2615@localhost/res1' to='alice_unsubscribe_2615@localhost/res1'/>



*** User 2023-11-17 15:22:53.524 ***🔗
bob_unsubscribe_2615@localhost/res1 in
<iq from='bob_unsubscribe_2615@localhost' to='bob_unsubscribe_2615@localhost/res1' id='push07aec3f54603e8c1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2615@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:53.524 ***🔗
alice_unsubscribe_2615@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2615@localhost'/>



*** User 2023-11-17 15:22:53.528 ***🔗
alice_unsubscribe_2615@localhost/res1 in
<iq from='alice_unsubscribe_2615@localhost' to='alice_unsubscribe_2615@localhost/res1' id='push5796e44d6a96fd8d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2615@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:53.528 ***🔗
alice_unsubscribe_2615@localhost/res1 out
<iq to='alice_unsubscribe_2615@localhost' id='push5796e44d6a96fd8d' type='result'/>



*** User 2023-11-17 15:22:53.529 ***🔗
bob_unsubscribe_2615@localhost/res1 in
<iq from='bob_unsubscribe_2615@localhost' to='bob_unsubscribe_2615@localhost/res1' id='pushb83642688ee52481' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2615@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:53.529 ***🔗
bob_unsubscribe_2615@localhost/res1 in
<presence from='alice_unsubscribe_2615@localhost' to='bob_unsubscribe_2615@localhost/res1' type='unsubscribe'/>



*** User 2023-11-17 15:22:53.529 ***🔗
alice_unsubscribe_2615@localhost/res1 in
<presence from='bob_unsubscribe_2615@localhost/res1' to='alice_unsubscribe_2615@localhost/res1' type='unavailable'/>



*** User 2023-11-17 15:22:53.529 ***🔗
bob_unsubscribe_2615@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:22:53.529 ***🔗
bob_unsubscribe_2615@localhost/res1 in
</stream:stream>

*** User 2023-11-17 15:22:53.529 ***🔗
alice_unsubscribe_2615@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:22:53.529 ***🔗
alice_unsubscribe_2615@localhost/res1 in
</stream:stream>
*** CT 2023-11-17 15:22:53.537 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4553.html



=== Ended at 2023-11-17 15:22:53
=== successfully completed test case
=== === Returned value: ok