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

=== Config value:

    [{watchdog,<0.74935.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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.47.29/presence_suite.unsubscribe.109828.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@079a843f8d8b.2023-11-16_09.33.39/big_tests.tests.presence_SUITE.logs/run.2023-11-16_09.47.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@079a843f8d8b.2023-11-16_09.33.39"

=== Started at 2023-11-16 09:47:30


*** CT 2023-11-16 09:47:30.920 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4733.html

*** User 2023-11-16 09:47:30.930 ***🔗
alicE_unsubscribe_2754@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-16 09:47:30.930 ***🔗
alicE_unsubscribe_2754@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='99bce5a2e8128d4b' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:47:30.931 ***🔗
alicE_unsubscribe_2754@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-16 09:47:30.931 ***🔗
alicE_unsubscribe_2754@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI3NTQAbWF0eWdyeXNh</auth>



*** User 2023-11-16 09:47:30.931 ***🔗
alicE_unsubscribe_2754@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:47:30.932 ***🔗
alicE_unsubscribe_2754@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-16 09:47:30.932 ***🔗
alicE_unsubscribe_2754@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2bd00ff56e46982' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2754@localhost'>

*** User 2023-11-16 09:47:30.932 ***🔗
alicE_unsubscribe_2754@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-16 09:47:30.932 ***🔗
alicE_unsubscribe_2754@localhost/res1 out
<iq type='set' id='b5a98d06580202f1353f0525efb948f3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:47:30.932 ***🔗
alicE_unsubscribe_2754@localhost/res1 in
<iq id='b5a98d06580202f1353f0525efb948f3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2754@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:47:30.932 ***🔗
alice_unsubscribe_2754@localhost/res1 out
<iq type='set' id='e9aa4aa41366e7b96c40b3374df3f710'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:30.933 ***🔗
alice_unsubscribe_2754@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2754@localhost/res1' id='e9aa4aa41366e7b96c40b3374df3f710' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:30.933 ***🔗
alice_unsubscribe_2754@localhost/res1 out
<presence/>



*** User 2023-11-16 09:47:30.934 ***🔗
alice_unsubscribe_2754@localhost/res1 in
<presence from='alice_unsubscribe_2754@localhost/res1' to='alice_unsubscribe_2754@localhost/res1'/>



*** User 2023-11-16 09:47:30.934 ***🔗
bOb_unsubscribe_2754@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-16 09:47:30.935 ***🔗
bOb_unsubscribe_2754@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ab5d6f2b605d9949' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:47:30.935 ***🔗
bOb_unsubscribe_2754@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-16 09:47:30.935 ***🔗
bOb_unsubscribe_2754@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNzU0AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-16 09:47:30.936 ***🔗
bOb_unsubscribe_2754@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:47:30.936 ***🔗
bOb_unsubscribe_2754@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-16 09:47:30.936 ***🔗
bOb_unsubscribe_2754@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ccbcbef5deea5c17' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2754@localhost'>

*** User 2023-11-16 09:47:30.936 ***🔗
bOb_unsubscribe_2754@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-16 09:47:30.936 ***🔗
bOb_unsubscribe_2754@localhost/res1 out
<iq type='set' id='47b0e0f6c546acb226cedab756734aed'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:47:30.936 ***🔗
bOb_unsubscribe_2754@localhost/res1 in
<iq id='47b0e0f6c546acb226cedab756734aed' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2754@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:47:30.937 ***🔗
bob_unsubscribe_2754@localhost/res1 out
<iq type='set' id='f30895e1fbb94be71427f6cdb0c08cd4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:30.937 ***🔗
bob_unsubscribe_2754@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2754@localhost/res1' id='f30895e1fbb94be71427f6cdb0c08cd4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:47:30.937 ***🔗
bob_unsubscribe_2754@localhost/res1 out
<presence/>



*** User 2023-11-16 09:47:30.938 ***🔗
bob_unsubscribe_2754@localhost/res1 in
<presence from='bob_unsubscribe_2754@localhost/res1' to='bob_unsubscribe_2754@localhost/res1'/>



*** User 2023-11-16 09:47:30.938 ***🔗
alice_unsubscribe_2754@localhost/res1 out
<iq type='set' id='67cb6fa49083a1672f7193a387ee0141'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2754@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:47:30.944 ***🔗
alice_unsubscribe_2754@localhost/res1 in
<iq from='alice_unsubscribe_2754@localhost' to='alice_unsubscribe_2754@localhost/res1' id='push7006bee671d8f8e0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2754@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:47:30.944 ***🔗
alice_unsubscribe_2754@localhost/res1 in
<iq from='alice_unsubscribe_2754@localhost' to='alice_unsubscribe_2754@localhost/res1' id='67cb6fa49083a1672f7193a387ee0141' type='result'/>



*** User 2023-11-16 09:47:30.944 ***🔗
alice_unsubscribe_2754@localhost/res1 out
<iq to='alice_unsubscribe_2754@localhost' id='push7006bee671d8f8e0' type='result'/>



*** User 2023-11-16 09:47:30.944 ***🔗
alice_unsubscribe_2754@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2754@localhost'/>



*** User 2023-11-16 09:47:30.948 ***🔗
alice_unsubscribe_2754@localhost/res1 in
<iq from='alice_unsubscribe_2754@localhost' to='alice_unsubscribe_2754@localhost/res1' id='pushefd0d0ea5b2d8b0c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2754@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:47:30.948 ***🔗
alice_unsubscribe_2754@localhost/res1 out
<iq to='alice_unsubscribe_2754@localhost' id='pushefd0d0ea5b2d8b0c' type='result'/>



*** User 2023-11-16 09:47:30.948 ***🔗
bob_unsubscribe_2754@localhost/res1 in
<presence from='alice_unsubscribe_2754@localhost' to='bob_unsubscribe_2754@localhost/res1' type='subscribe'/>



*** User 2023-11-16 09:47:30.948 ***🔗
bob_unsubscribe_2754@localhost/res1 out
<iq type='set' id='7541180b01958885dc1a4f9545f9ab85'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2754@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:47:30.952 ***🔗
bob_unsubscribe_2754@localhost/res1 in
<iq from='bob_unsubscribe_2754@localhost' to='bob_unsubscribe_2754@localhost/res1' id='push5ab329c26fe79a5e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2754@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:47:30.952 ***🔗
bob_unsubscribe_2754@localhost/res1 out
<iq to='bob_unsubscribe_2754@localhost' id='push5ab329c26fe79a5e' type='result'/>



*** User 2023-11-16 09:47:30.952 ***🔗
bob_unsubscribe_2754@localhost/res1 in
<iq from='bob_unsubscribe_2754@localhost' to='bob_unsubscribe_2754@localhost/res1' id='7541180b01958885dc1a4f9545f9ab85' type='result'/>



*** User 2023-11-16 09:47:30.952 ***🔗
bob_unsubscribe_2754@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2754@localhost'/>



*** User 2023-11-16 09:47:30.957 ***🔗
alice_unsubscribe_2754@localhost/res1 in
<iq from='alice_unsubscribe_2754@localhost' to='alice_unsubscribe_2754@localhost/res1' id='push83d91c8e9dba82b7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_2754@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:47:30.957 ***🔗
alice_unsubscribe_2754@localhost/res1 in
<presence from='bob_unsubscribe_2754@localhost' to='alice_unsubscribe_2754@localhost/res1' type='subscribed'/>



*** User 2023-11-16 09:47:30.957 ***🔗
alice_unsubscribe_2754@localhost/res1 in
<presence from='bob_unsubscribe_2754@localhost/res1' to='alice_unsubscribe_2754@localhost/res1'/>



*** User 2023-11-16 09:47:30.957 ***🔗
bob_unsubscribe_2754@localhost/res1 in
<iq from='bob_unsubscribe_2754@localhost' to='bob_unsubscribe_2754@localhost/res1' id='pushfc974252d779b4b6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2754@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:47:30.957 ***🔗
alice_unsubscribe_2754@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2754@localhost'/>



*** User 2023-11-16 09:47:30.962 ***🔗
alice_unsubscribe_2754@localhost/res1 in
<iq from='alice_unsubscribe_2754@localhost' to='alice_unsubscribe_2754@localhost/res1' id='push1bb16daa67cb10f6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2754@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:47:30.962 ***🔗
alice_unsubscribe_2754@localhost/res1 out
<iq to='alice_unsubscribe_2754@localhost' id='push1bb16daa67cb10f6' type='result'/>



*** User 2023-11-16 09:47:30.962 ***🔗
bob_unsubscribe_2754@localhost/res1 in
<iq from='bob_unsubscribe_2754@localhost' to='bob_unsubscribe_2754@localhost/res1' id='push2d98c69a2a7a2451' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2754@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:47:30.962 ***🔗
bob_unsubscribe_2754@localhost/res1 in
<presence from='alice_unsubscribe_2754@localhost' to='bob_unsubscribe_2754@localhost/res1' type='unsubscribe'/>



*** User 2023-11-16 09:47:30.962 ***🔗
alice_unsubscribe_2754@localhost/res1 in
<presence from='bob_unsubscribe_2754@localhost/res1' to='alice_unsubscribe_2754@localhost/res1' type='unavailable'/>



*** User 2023-11-16 09:47:30.962 ***🔗
bob_unsubscribe_2754@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:47:30.963 ***🔗
bob_unsubscribe_2754@localhost/res1 in
</stream:stream>

*** User 2023-11-16 09:47:30.963 ***🔗
alice_unsubscribe_2754@localhost/res1 out
</stream:stream>

*** User 2023-11-16 09:47:30.963 ***🔗
alice_unsubscribe_2754@localhost/res1 in
</stream:stream>
*** CT 2023-11-16 09:47:31.014 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4733.html



=== Ended at 2023-11-16 09:47:31
=== successfully completed test case
=== === Returned value: ok