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

=== Config value:

    [{watchdog,<0.80030.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@cec807ac1e64.2024-04-22_17.28.38/big_tests.tests.presence_SUITE.logs/run.2024-04-22_17.43.03/presence_suite.unsubscribe.120452.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@cec807ac1e64.2024-04-22_17.28.38/big_tests.tests.presence_SUITE.logs/run.2024-04-22_17.43.03/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@cec807ac1e64.2024-04-22_17.28.38"

=== Started at 2024-04-22 17:43:05


*** CT 2024-04-22 17:43:05.673 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_5624.html

*** User 2024-04-22 17:43:05.688 ***🔗
alicE_unsubscribe_2885@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-04-22 17:43:05.688 ***🔗
alicE_unsubscribe_2885@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ab98f2999e72386b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:43:05.688 ***🔗
alicE_unsubscribe_2885@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-04-22 17:43:05.688 ***🔗
alicE_unsubscribe_2885@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI4ODUAbWF0eWdyeXNh</auth>



*** User 2024-04-22 17:43:05.689 ***🔗
alicE_unsubscribe_2885@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:43:05.689 ***🔗
alicE_unsubscribe_2885@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-04-22 17:43:05.689 ***🔗
alicE_unsubscribe_2885@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='58180e09467529ac' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2885@localhost'>

*** User 2024-04-22 17:43:05.689 ***🔗
alicE_unsubscribe_2885@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-04-22 17:43:05.689 ***🔗
alicE_unsubscribe_2885@localhost/res1 out
<iq type='set' id='b89ead2d074a6e65766e14035482d0c5'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:43:05.690 ***🔗
alicE_unsubscribe_2885@localhost/res1 in
<iq id='b89ead2d074a6e65766e14035482d0c5' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2885@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:43:05.690 ***🔗
alice_unsubscribe_2885@localhost/res1 out
<iq type='set' id='365002da762cd7048ffb64b4c010c19f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:43:05.691 ***🔗
alice_unsubscribe_2885@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2885@localhost/res1' id='365002da762cd7048ffb64b4c010c19f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:43:05.691 ***🔗
alice_unsubscribe_2885@localhost/res1 out
<presence/>



*** User 2024-04-22 17:43:05.692 ***🔗
alice_unsubscribe_2885@localhost/res1 in
<presence from='alice_unsubscribe_2885@localhost/res1' to='alice_unsubscribe_2885@localhost/res1'/>



*** User 2024-04-22 17:43:05.693 ***🔗
bOb_unsubscribe_2885@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-04-22 17:43:05.693 ***🔗
bOb_unsubscribe_2885@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='56ac10ce38b007b7' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:43:05.693 ***🔗
bOb_unsubscribe_2885@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-04-22 17:43:05.693 ***🔗
bOb_unsubscribe_2885@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yODg1AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-22 17:43:05.694 ***🔗
bOb_unsubscribe_2885@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:43:05.694 ***🔗
bOb_unsubscribe_2885@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-04-22 17:43:05.695 ***🔗
bOb_unsubscribe_2885@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='87702f9f373a46d5' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2885@localhost'>

*** User 2024-04-22 17:43:05.695 ***🔗
bOb_unsubscribe_2885@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-04-22 17:43:05.695 ***🔗
bOb_unsubscribe_2885@localhost/res1 out
<iq type='set' id='164f49542452c5dc5257ae0294ea094b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:43:05.695 ***🔗
bOb_unsubscribe_2885@localhost/res1 in
<iq id='164f49542452c5dc5257ae0294ea094b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2885@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:43:05.695 ***🔗
bob_unsubscribe_2885@localhost/res1 out
<iq type='set' id='ffcc06be344d90050a35cdea9cbe9d5e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:43:05.696 ***🔗
bob_unsubscribe_2885@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2885@localhost/res1' id='ffcc06be344d90050a35cdea9cbe9d5e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:43:05.696 ***🔗
bob_unsubscribe_2885@localhost/res1 out
<presence/>



*** User 2024-04-22 17:43:05.698 ***🔗
bob_unsubscribe_2885@localhost/res1 in
<presence from='bob_unsubscribe_2885@localhost/res1' to='bob_unsubscribe_2885@localhost/res1'/>



*** User 2024-04-22 17:43:05.698 ***🔗
alice_unsubscribe_2885@localhost/res1 out
<iq type='set' id='8b9abb7ee0aa1955f4a88f22a2626208'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2885@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:43:05.708 ***🔗
alice_unsubscribe_2885@localhost/res1 in
<iq from='alice_unsubscribe_2885@localhost' to='alice_unsubscribe_2885@localhost/res1' id='push05ea956bbdb8ab12' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2885@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:43:05.708 ***🔗
alice_unsubscribe_2885@localhost/res1 in
<iq from='alice_unsubscribe_2885@localhost' to='alice_unsubscribe_2885@localhost/res1' id='8b9abb7ee0aa1955f4a88f22a2626208' type='result'/>



*** User 2024-04-22 17:43:05.709 ***🔗
alice_unsubscribe_2885@localhost/res1 out
<iq to='alice_unsubscribe_2885@localhost' id='push05ea956bbdb8ab12' type='result'/>



*** User 2024-04-22 17:43:05.709 ***🔗
alice_unsubscribe_2885@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2885@localhost'/>



*** User 2024-04-22 17:43:05.714 ***🔗
alice_unsubscribe_2885@localhost/res1 in
<iq from='alice_unsubscribe_2885@localhost' to='alice_unsubscribe_2885@localhost/res1' id='push289f384749bc596e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2885@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:43:05.714 ***🔗
alice_unsubscribe_2885@localhost/res1 out
<iq to='alice_unsubscribe_2885@localhost' id='push289f384749bc596e' type='result'/>



*** User 2024-04-22 17:43:05.714 ***🔗
bob_unsubscribe_2885@localhost/res1 in
<presence from='alice_unsubscribe_2885@localhost' to='bob_unsubscribe_2885@localhost/res1' type='subscribe'/>



*** User 2024-04-22 17:43:05.714 ***🔗
bob_unsubscribe_2885@localhost/res1 out
<iq type='set' id='32fda337e42d24460d2e1e33396d396c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2885@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:43:05.744 ***🔗
bob_unsubscribe_2885@localhost/res1 in
<iq from='bob_unsubscribe_2885@localhost' to='bob_unsubscribe_2885@localhost/res1' id='pushdbfb07b0c44a7483' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2885@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:43:05.744 ***🔗
bob_unsubscribe_2885@localhost/res1 out
<iq to='bob_unsubscribe_2885@localhost' id='pushdbfb07b0c44a7483' type='result'/>



*** User 2024-04-22 17:43:05.744 ***🔗
bob_unsubscribe_2885@localhost/res1 in
<iq from='bob_unsubscribe_2885@localhost' to='bob_unsubscribe_2885@localhost/res1' id='32fda337e42d24460d2e1e33396d396c' type='result'/>



*** User 2024-04-22 17:43:05.744 ***🔗
bob_unsubscribe_2885@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2885@localhost'/>



*** User 2024-04-22 17:43:05.750 ***🔗
alice_unsubscribe_2885@localhost/res1 in
<iq from='alice_unsubscribe_2885@localhost' to='alice_unsubscribe_2885@localhost/res1' id='pushb8b327ac3907166d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2885@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:43:05.750 ***🔗
alice_unsubscribe_2885@localhost/res1 in
<presence from='bob_unsubscribe_2885@localhost' to='alice_unsubscribe_2885@localhost/res1' type='subscribed'/>



*** User 2024-04-22 17:43:05.751 ***🔗
alice_unsubscribe_2885@localhost/res1 in
<presence from='bob_unsubscribe_2885@localhost/res1' to='alice_unsubscribe_2885@localhost/res1'/>



*** User 2024-04-22 17:43:05.751 ***🔗
bob_unsubscribe_2885@localhost/res1 in
<iq from='bob_unsubscribe_2885@localhost' to='bob_unsubscribe_2885@localhost/res1' id='pushd69a1e12f94f627a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2885@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:43:05.751 ***🔗
alice_unsubscribe_2885@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2885@localhost'/>



*** User 2024-04-22 17:43:05.760 ***🔗
alice_unsubscribe_2885@localhost/res1 in
<iq from='alice_unsubscribe_2885@localhost' to='alice_unsubscribe_2885@localhost/res1' id='push785aea9c56d02d25' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2885@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:43:05.760 ***🔗
alice_unsubscribe_2885@localhost/res1 out
<iq to='alice_unsubscribe_2885@localhost' id='push785aea9c56d02d25' type='result'/>



*** User 2024-04-22 17:43:05.760 ***🔗
bob_unsubscribe_2885@localhost/res1 in
<iq from='bob_unsubscribe_2885@localhost' to='bob_unsubscribe_2885@localhost/res1' id='push4b6f0ea637e943a5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2885@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:43:05.760 ***🔗
bob_unsubscribe_2885@localhost/res1 in
<presence from='alice_unsubscribe_2885@localhost' to='bob_unsubscribe_2885@localhost/res1' type='unsubscribe'/>



*** User 2024-04-22 17:43:05.760 ***🔗
alice_unsubscribe_2885@localhost/res1 in
<presence from='bob_unsubscribe_2885@localhost/res1' to='alice_unsubscribe_2885@localhost/res1' type='unavailable'/>



*** User 2024-04-22 17:43:05.760 ***🔗
bob_unsubscribe_2885@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:43:05.760 ***🔗
bob_unsubscribe_2885@localhost/res1 in
</stream:stream>

*** User 2024-04-22 17:43:05.760 ***🔗
alice_unsubscribe_2885@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:43:05.761 ***🔗
alice_unsubscribe_2885@localhost/res1 in
</stream:stream>
*** CT 2024-04-22 17:43:05.769 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_5624.html



=== Ended at 2024-04-22 17:43:05
=== successfully completed test case
=== === Returned value: ok