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

=== Config value:

    [{watchdog,<0.16577.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"elasticsearch_and_cassandra_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.presence_SUITE.logs/run.2022-06-22_09.27.19/presence_suite.unsubscribe.62467.html"},
     {tc_group_properties,[{name,subscribe_group},
                           {repeat_until_all_ok,3},
                           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@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.presence_SUITE.logs/run.2022-06-22_09.27.19/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@47358c7e636c.2022-06-22_09.17.07"

=== Started at 2022-06-22 09:27:20


*** CT 2022-06-22 09:27:20.688 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4510.html
*** CT 2022-06-22 09:27:20.688 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_2022.html

*** User 2022-06-22 09:27:20.694 ***🔗
alicE_unsubscribe_1375@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:27:20.694 ***🔗
alicE_unsubscribe_1375@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa34cd4e973388d9' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.694 ***🔗
alicE_unsubscribe_1375@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:27:20.694 ***🔗
alicE_unsubscribe_1375@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzEzNzUAbWF0eWdyeXNh</auth>



*** User 2022-06-22 09:27:20.695 ***🔗
alicE_unsubscribe_1375@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:27:20.695 ***🔗
alicE_unsubscribe_1375@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:27:20.695 ***🔗
alicE_unsubscribe_1375@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ed2ff9112840d2d6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.695 ***🔗
alicE_unsubscribe_1375@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:27:20.696 ***🔗
alicE_unsubscribe_1375@localhost/res1 out
<iq type='set' id='005a625e6012829d817ed10c45c0c54e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.696 ***🔗
alicE_unsubscribe_1375@localhost/res1 in
<iq id='005a625e6012829d817ed10c45c0c54e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_1375@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.696 ***🔗
alice_unsubscribe_1375@localhost/res1 out
<iq type='set' id='ebae277080d0c7bdb14e8f20ad5759f8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.699 ***🔗
alice_unsubscribe_1375@localhost/res1 in
<iq type='result' id='ebae277080d0c7bdb14e8f20ad5759f8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.699 ***🔗
alice_unsubscribe_1375@localhost/res1 out
<presence/>



*** User 2022-06-22 09:27:20.700 ***🔗
alice_unsubscribe_1375@localhost/res1 in
<presence from='alice_unsubscribe_1375@localhost/res1' to='alice_unsubscribe_1375@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:27:20.701 ***🔗
bOb_unsubscribe_1375@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:27:20.701 ***🔗
bOb_unsubscribe_1375@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a87f47dfe22c06c0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.701 ***🔗
bOb_unsubscribe_1375@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:27:20.701 ***🔗
bOb_unsubscribe_1375@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xMzc1AG1ha3JvbGlrYQ==</auth>



*** User 2022-06-22 09:27:20.702 ***🔗
bOb_unsubscribe_1375@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:27:20.702 ***🔗
bOb_unsubscribe_1375@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-06-22 09:27:20.703 ***🔗
bOb_unsubscribe_1375@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1bb6b81799ee1bf' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:27:20.703 ***🔗
bOb_unsubscribe_1375@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-06-22 09:27:20.703 ***🔗
bOb_unsubscribe_1375@localhost/res1 out
<iq type='set' id='9e316831b7dbe71ea19b07ceb2e52b6f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.703 ***🔗
bOb_unsubscribe_1375@localhost/res1 in
<iq id='9e316831b7dbe71ea19b07ceb2e52b6f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_1375@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:27:20.703 ***🔗
bob_unsubscribe_1375@localhost/res1 out
<iq type='set' id='89f4306227c5856372521b21627b057d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.704 ***🔗
bob_unsubscribe_1375@localhost/res1 in
<iq type='result' id='89f4306227c5856372521b21627b057d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:27:20.704 ***🔗
bob_unsubscribe_1375@localhost/res1 out
<presence/>



*** User 2022-06-22 09:27:20.704 ***🔗
bob_unsubscribe_1375@localhost/res1 in
<presence from='bob_unsubscribe_1375@localhost/res1' to='bob_unsubscribe_1375@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:27:20.705 ***🔗
alice_unsubscribe_1375@localhost/res1 out
<iq type='set' id='0b060b8b60601cc1e707bfeb57f558b8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_1375@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.706 ***🔗
alice_unsubscribe_1375@localhost/res1 in
<iq from='alice_unsubscribe_1375@localhost' to='alice_unsubscribe_1375@localhost/res1' id='push99908888d83e4b33' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1375@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.706 ***🔗
alice_unsubscribe_1375@localhost/res1 in
<iq from='alice_unsubscribe_1375@localhost' to='alice_unsubscribe_1375@localhost/res1' id='0b060b8b60601cc1e707bfeb57f558b8' type='result'/>



*** User 2022-06-22 09:27:20.706 ***🔗
alice_unsubscribe_1375@localhost/res1 out
<iq to='alice_unsubscribe_1375@localhost' id='push99908888d83e4b33' type='result'/>



*** User 2022-06-22 09:27:20.706 ***🔗
alice_unsubscribe_1375@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_1375@localhost'/>



*** User 2022-06-22 09:27:20.707 ***🔗
alice_unsubscribe_1375@localhost/res1 in
<iq from='alice_unsubscribe_1375@localhost' to='alice_unsubscribe_1375@localhost/res1' id='push24dfce422a7efe30' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1375@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.707 ***🔗
alice_unsubscribe_1375@localhost/res1 out
<iq to='alice_unsubscribe_1375@localhost' id='push24dfce422a7efe30' type='result'/>



*** User 2022-06-22 09:27:20.707 ***🔗
bob_unsubscribe_1375@localhost/res1 in
<presence from='alice_unsubscribe_1375@localhost' to='bob_unsubscribe_1375@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-06-22 09:27:20.707 ***🔗
bob_unsubscribe_1375@localhost/res1 out
<iq type='set' id='9b5d341c2a242a3e0b9c2d6d0a0372a8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_1375@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.708 ***🔗
bob_unsubscribe_1375@localhost/res1 in
<iq from='bob_unsubscribe_1375@localhost' to='bob_unsubscribe_1375@localhost/res1' id='pushd0818f13afbdc3b6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1375@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.708 ***🔗
bob_unsubscribe_1375@localhost/res1 out
<iq to='bob_unsubscribe_1375@localhost' id='pushd0818f13afbdc3b6' type='result'/>



*** User 2022-06-22 09:27:20.709 ***🔗
bob_unsubscribe_1375@localhost/res1 in
<iq from='bob_unsubscribe_1375@localhost' to='bob_unsubscribe_1375@localhost/res1' id='9b5d341c2a242a3e0b9c2d6d0a0372a8' type='result'/>



*** User 2022-06-22 09:27:20.709 ***🔗
bob_unsubscribe_1375@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_1375@localhost'/>



*** User 2022-06-22 09:27:20.710 ***🔗
alice_unsubscribe_1375@localhost/res1 in
<iq from='alice_unsubscribe_1375@localhost' to='alice_unsubscribe_1375@localhost/res1' id='pushdbff2532c0e9b7df' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_1375@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.710 ***🔗
alice_unsubscribe_1375@localhost/res1 in
<presence from='bob_unsubscribe_1375@localhost' to='alice_unsubscribe_1375@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-06-22 09:27:20.710 ***🔗
alice_unsubscribe_1375@localhost/res1 in
<presence from='bob_unsubscribe_1375@localhost/res1' to='alice_unsubscribe_1375@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:27:20.710 ***🔗
bob_unsubscribe_1375@localhost/res1 in
<iq from='bob_unsubscribe_1375@localhost' to='bob_unsubscribe_1375@localhost/res1' id='push49b3518d7295a9ae' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1375@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.710 ***🔗
alice_unsubscribe_1375@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_1375@localhost'/>



*** User 2022-06-22 09:27:20.712 ***🔗
alice_unsubscribe_1375@localhost/res1 in
<iq from='alice_unsubscribe_1375@localhost' to='alice_unsubscribe_1375@localhost/res1' id='pushdf35417045c0e319' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1375@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.712 ***🔗
alice_unsubscribe_1375@localhost/res1 out
<iq to='alice_unsubscribe_1375@localhost' id='pushdf35417045c0e319' type='result'/>



*** User 2022-06-22 09:27:20.712 ***🔗
bob_unsubscribe_1375@localhost/res1 in
<iq from='bob_unsubscribe_1375@localhost' to='bob_unsubscribe_1375@localhost/res1' id='push52a48a626edb6d50' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1375@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:27:20.712 ***🔗
bob_unsubscribe_1375@localhost/res1 in
<presence from='alice_unsubscribe_1375@localhost' to='bob_unsubscribe_1375@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-06-22 09:27:20.712 ***🔗
alice_unsubscribe_1375@localhost/res1 in
<presence from='bob_unsubscribe_1375@localhost/res1' to='alice_unsubscribe_1375@localhost/res1' type='unavailable'/>



*** User 2022-06-22 09:27:20.712 ***🔗
bob_unsubscribe_1375@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:27:20.712 ***🔗
bob_unsubscribe_1375@localhost/res1 in
</stream:stream>

*** User 2022-06-22 09:27:20.713 ***🔗
alice_unsubscribe_1375@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:27:20.713 ***🔗
alice_unsubscribe_1375@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 09:27:20.718 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_2022.html
*** CT 2022-06-22 09:27:20.719 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4510.html



=== Ended at 2022-06-22 09:27:20
=== successfully completed test case
=== === Returned value: ok