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

=== Config value:

    [{watchdog,<0.79092.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f2e0a288de76.2024-03-21_07.46.09/big_tests.tests.presence_SUITE.logs/run.2024-03-21_07.59.57/presence_suite.unsubscribe.199426.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@f2e0a288de76.2024-03-21_07.46.09/big_tests.tests.presence_SUITE.logs/run.2024-03-21_07.59.57/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@f2e0a288de76.2024-03-21_07.46.09"

=== Started at 2024-03-21 07:59:59


*** CT 2024-03-21 07:59:59.828 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5553.html

*** User 2024-03-21 07:59:59.840 ***🔗
alicE_unsubscribe_2878@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-21 07:59:59.840 ***🔗
alicE_unsubscribe_2878@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc0863ae5564c415' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:59:59.840 ***🔗
alicE_unsubscribe_2878@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-21 07:59:59.840 ***🔗
alicE_unsubscribe_2878@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI4NzgAbWF0eWdyeXNh</auth>



*** User 2024-03-21 07:59:59.842 ***🔗
alicE_unsubscribe_2878@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:59:59.842 ***🔗
alicE_unsubscribe_2878@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-21 07:59:59.842 ***🔗
alicE_unsubscribe_2878@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='19d9c6ca8967c822' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2878@localhost'>

*** User 2024-03-21 07:59:59.842 ***🔗
alicE_unsubscribe_2878@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-21 07:59:59.842 ***🔗
alicE_unsubscribe_2878@localhost/res1 out
<iq type='set' id='fdc34ae09c22368fc73b2a9dce583fc3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:59:59.842 ***🔗
alicE_unsubscribe_2878@localhost/res1 in
<iq id='fdc34ae09c22368fc73b2a9dce583fc3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2878@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:59:59.842 ***🔗
alice_unsubscribe_2878@localhost/res1 out
<iq type='set' id='6542ddcd23154a29d47d11c287266875'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:59.844 ***🔗
alice_unsubscribe_2878@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2878@localhost/res1' id='6542ddcd23154a29d47d11c287266875' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:59.844 ***🔗
alice_unsubscribe_2878@localhost/res1 out
<presence/>



*** User 2024-03-21 07:59:59.846 ***🔗
alice_unsubscribe_2878@localhost/res1 in
<presence from='alice_unsubscribe_2878@localhost/res1' to='alice_unsubscribe_2878@localhost/res1'/>



*** User 2024-03-21 07:59:59.846 ***🔗
bOb_unsubscribe_2878@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-21 07:59:59.847 ***🔗
bOb_unsubscribe_2878@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b86998a1f66bb64e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:59:59.847 ***🔗
bOb_unsubscribe_2878@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-21 07:59:59.847 ***🔗
bOb_unsubscribe_2878@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yODc4AG1ha3JvbGlrYQ==</auth>



*** User 2024-03-21 07:59:59.848 ***🔗
bOb_unsubscribe_2878@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:59:59.848 ***🔗
bOb_unsubscribe_2878@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-21 07:59:59.848 ***🔗
bOb_unsubscribe_2878@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6f7928e617734979' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2878@localhost'>

*** User 2024-03-21 07:59:59.848 ***🔗
bOb_unsubscribe_2878@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-21 07:59:59.848 ***🔗
bOb_unsubscribe_2878@localhost/res1 out
<iq type='set' id='dac3a6c8a3625bd86cff37e3b03d361d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:59:59.849 ***🔗
bOb_unsubscribe_2878@localhost/res1 in
<iq id='dac3a6c8a3625bd86cff37e3b03d361d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2878@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:59:59.849 ***🔗
bob_unsubscribe_2878@localhost/res1 out
<iq type='set' id='b2467994bdc8a749558255c9e2146d4c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:59.850 ***🔗
bob_unsubscribe_2878@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2878@localhost/res1' id='b2467994bdc8a749558255c9e2146d4c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:59:59.850 ***🔗
bob_unsubscribe_2878@localhost/res1 out
<presence/>



*** User 2024-03-21 07:59:59.852 ***🔗
bob_unsubscribe_2878@localhost/res1 in
<presence from='bob_unsubscribe_2878@localhost/res1' to='bob_unsubscribe_2878@localhost/res1'/>



*** User 2024-03-21 07:59:59.852 ***🔗
alice_unsubscribe_2878@localhost/res1 out
<iq type='set' id='8ee7ea428e082c079ca275ca7460a5b5'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2878@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:59.877 ***🔗
alice_unsubscribe_2878@localhost/res1 in
<iq from='alice_unsubscribe_2878@localhost' to='alice_unsubscribe_2878@localhost/res1' id='push9d464841cb74e574' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2878@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:59.877 ***🔗
alice_unsubscribe_2878@localhost/res1 in
<iq from='alice_unsubscribe_2878@localhost' to='alice_unsubscribe_2878@localhost/res1' id='8ee7ea428e082c079ca275ca7460a5b5' type='result'/>



*** User 2024-03-21 07:59:59.878 ***🔗
alice_unsubscribe_2878@localhost/res1 out
<iq to='alice_unsubscribe_2878@localhost' id='push9d464841cb74e574' type='result'/>



*** User 2024-03-21 07:59:59.878 ***🔗
alice_unsubscribe_2878@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2878@localhost'/>



*** User 2024-03-21 07:59:59.884 ***🔗
alice_unsubscribe_2878@localhost/res1 in
<iq from='alice_unsubscribe_2878@localhost' to='alice_unsubscribe_2878@localhost/res1' id='push882d727fedd23e47' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2878@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:59.884 ***🔗
alice_unsubscribe_2878@localhost/res1 out
<iq to='alice_unsubscribe_2878@localhost' id='push882d727fedd23e47' type='result'/>



*** User 2024-03-21 07:59:59.884 ***🔗
bob_unsubscribe_2878@localhost/res1 in
<presence from='alice_unsubscribe_2878@localhost' to='bob_unsubscribe_2878@localhost/res1' type='subscribe'/>



*** User 2024-03-21 07:59:59.884 ***🔗
bob_unsubscribe_2878@localhost/res1 out
<iq type='set' id='4fd3da5353591436fc6c05f0318b9842'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2878@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:59.894 ***🔗
bob_unsubscribe_2878@localhost/res1 in
<iq from='bob_unsubscribe_2878@localhost' to='bob_unsubscribe_2878@localhost/res1' id='push0e7fd4211246486e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2878@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:59.894 ***🔗
bob_unsubscribe_2878@localhost/res1 out
<iq to='bob_unsubscribe_2878@localhost' id='push0e7fd4211246486e' type='result'/>



*** User 2024-03-21 07:59:59.894 ***🔗
bob_unsubscribe_2878@localhost/res1 in
<iq from='bob_unsubscribe_2878@localhost' to='bob_unsubscribe_2878@localhost/res1' id='4fd3da5353591436fc6c05f0318b9842' type='result'/>



*** User 2024-03-21 07:59:59.894 ***🔗
bob_unsubscribe_2878@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2878@localhost'/>



*** User 2024-03-21 07:59:59.903 ***🔗
alice_unsubscribe_2878@localhost/res1 in
<iq from='alice_unsubscribe_2878@localhost' to='alice_unsubscribe_2878@localhost/res1' id='push972785c4ff7ed3e3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2878@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:59.903 ***🔗
alice_unsubscribe_2878@localhost/res1 in
<presence from='bob_unsubscribe_2878@localhost' to='alice_unsubscribe_2878@localhost/res1' type='subscribed'/>



*** User 2024-03-21 07:59:59.903 ***🔗
alice_unsubscribe_2878@localhost/res1 in
<presence from='bob_unsubscribe_2878@localhost/res1' to='alice_unsubscribe_2878@localhost/res1'/>



*** User 2024-03-21 07:59:59.903 ***🔗
bob_unsubscribe_2878@localhost/res1 in
<iq from='bob_unsubscribe_2878@localhost' to='bob_unsubscribe_2878@localhost/res1' id='push4e32e9a0cf3095ee' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2878@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:59.903 ***🔗
alice_unsubscribe_2878@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2878@localhost'/>



*** User 2024-03-21 07:59:59.913 ***🔗
alice_unsubscribe_2878@localhost/res1 in
<iq from='alice_unsubscribe_2878@localhost' to='alice_unsubscribe_2878@localhost/res1' id='push39d413ce65be8a04' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2878@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:59.913 ***🔗
alice_unsubscribe_2878@localhost/res1 out
<iq to='alice_unsubscribe_2878@localhost' id='push39d413ce65be8a04' type='result'/>



*** User 2024-03-21 07:59:59.914 ***🔗
bob_unsubscribe_2878@localhost/res1 in
<iq from='bob_unsubscribe_2878@localhost' to='bob_unsubscribe_2878@localhost/res1' id='pushe0174c802c56256d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2878@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:59:59.914 ***🔗
bob_unsubscribe_2878@localhost/res1 in
<presence from='alice_unsubscribe_2878@localhost' to='bob_unsubscribe_2878@localhost/res1' type='unsubscribe'/>



*** User 2024-03-21 07:59:59.914 ***🔗
alice_unsubscribe_2878@localhost/res1 in
<presence from='bob_unsubscribe_2878@localhost/res1' to='alice_unsubscribe_2878@localhost/res1' type='unavailable'/>



*** User 2024-03-21 07:59:59.914 ***🔗
bob_unsubscribe_2878@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:59:59.914 ***🔗
bob_unsubscribe_2878@localhost/res1 in
</stream:stream>

*** User 2024-03-21 07:59:59.915 ***🔗
alice_unsubscribe_2878@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:59:59.915 ***🔗
alice_unsubscribe_2878@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 07:59:59.923 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5553.html



=== Ended at 2024-03-21 07:59:59
=== successfully completed test case
=== === Returned value: ok