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

=== Config value:

    [{watchdog,<0.14759.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.presence_SUITE.logs/run.2022-06-22_08.55.24/presence_suite.unsubscribe.18693.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@838f153dfbc9.2022-06-22_08.43.58/big_tests.tests.presence_SUITE.logs/run.2022-06-22_08.55.24/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@838f153dfbc9.2022-06-22_08.43.58"

=== Started at 2022-06-22 08:55:26


*** CT 2022-06-22 08:55:26.635 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4303.html
*** CT 2022-06-22 08:55:26.636 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_1988.html

*** User 2022-06-22 08:55:26.660 ***🔗
alicE_unsubscribe_1380@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 08:55:26.660 ***🔗
alicE_unsubscribe_1380@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2862160df0c35e83' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.660 ***🔗
alicE_unsubscribe_1380@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 08:55:26.660 ***🔗
alicE_unsubscribe_1380@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzEzODAAbWF0eWdyeXNh</auth>



*** User 2022-06-22 08:55:26.663 ***🔗
alicE_unsubscribe_1380@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:55:26.663 ***🔗
alicE_unsubscribe_1380@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 08:55:26.663 ***🔗
alicE_unsubscribe_1380@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='db3d945a9ca8f474' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.663 ***🔗
alicE_unsubscribe_1380@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 08:55:26.664 ***🔗
alicE_unsubscribe_1380@localhost/res1 out
<iq type='set' id='12794ae0f27f75ec22bf583c9a07686b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.664 ***🔗
alicE_unsubscribe_1380@localhost/res1 in
<iq id='12794ae0f27f75ec22bf583c9a07686b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_1380@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.664 ***🔗
alice_unsubscribe_1380@localhost/res1 out
<iq type='set' id='4d0c4b5bed5369eaa136923205308f6e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.664 ***🔗
alice_unsubscribe_1380@localhost/res1 in
<iq type='result' id='4d0c4b5bed5369eaa136923205308f6e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.665 ***🔗
alice_unsubscribe_1380@localhost/res1 out
<presence/>



*** User 2022-06-22 08:55:26.666 ***🔗
alice_unsubscribe_1380@localhost/res1 in
<presence from='alice_unsubscribe_1380@localhost/res1' to='alice_unsubscribe_1380@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:55:26.667 ***🔗
bOb_unsubscribe_1380@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 08:55:26.667 ***🔗
bOb_unsubscribe_1380@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9747df4c8a7fb791' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.667 ***🔗
bOb_unsubscribe_1380@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 08:55:26.667 ***🔗
bOb_unsubscribe_1380@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xMzgwAG1ha3JvbGlrYQ==</auth>



*** User 2022-06-22 08:55:26.669 ***🔗
bOb_unsubscribe_1380@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 08:55:26.669 ***🔗
bOb_unsubscribe_1380@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 08:55:26.669 ***🔗
bOb_unsubscribe_1380@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e26c7d27d5687790' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 08:55:26.669 ***🔗
bOb_unsubscribe_1380@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 08:55:26.669 ***🔗
bOb_unsubscribe_1380@localhost/res1 out
<iq type='set' id='92819f5b2ac502b26059472a14e07b7d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.669 ***🔗
bOb_unsubscribe_1380@localhost/res1 in
<iq id='92819f5b2ac502b26059472a14e07b7d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_1380@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 08:55:26.670 ***🔗
bob_unsubscribe_1380@localhost/res1 out
<iq type='set' id='e06a7e1241ae06b9048c29fc243e005b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.670 ***🔗
bob_unsubscribe_1380@localhost/res1 in
<iq type='result' id='e06a7e1241ae06b9048c29fc243e005b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 08:55:26.670 ***🔗
bob_unsubscribe_1380@localhost/res1 out
<presence/>



*** User 2022-06-22 08:55:26.758 ***🔗
bob_unsubscribe_1380@localhost/res1 in
<presence from='bob_unsubscribe_1380@localhost/res1' to='bob_unsubscribe_1380@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:55:26.758 ***🔗
alice_unsubscribe_1380@localhost/res1 out
<iq type='set' id='21f743bfc36ec27732272c54712e01b6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_1380@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.761 ***🔗
alice_unsubscribe_1380@localhost/res1 in
<iq from='alice_unsubscribe_1380@localhost' to='alice_unsubscribe_1380@localhost/res1' id='push20c2c4be11d58968' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1380@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.761 ***🔗
alice_unsubscribe_1380@localhost/res1 in
<iq from='alice_unsubscribe_1380@localhost' to='alice_unsubscribe_1380@localhost/res1' id='21f743bfc36ec27732272c54712e01b6' type='result'/>



*** User 2022-06-22 08:55:26.761 ***🔗
alice_unsubscribe_1380@localhost/res1 out
<iq to='alice_unsubscribe_1380@localhost' id='push20c2c4be11d58968' type='result'/>



*** User 2022-06-22 08:55:26.761 ***🔗
alice_unsubscribe_1380@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_1380@localhost'/>



*** User 2022-06-22 08:55:26.767 ***🔗
alice_unsubscribe_1380@localhost/res1 in
<iq from='alice_unsubscribe_1380@localhost' to='alice_unsubscribe_1380@localhost/res1' id='push55ec70298cba0a5a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1380@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.767 ***🔗
alice_unsubscribe_1380@localhost/res1 out
<iq to='alice_unsubscribe_1380@localhost' id='push55ec70298cba0a5a' type='result'/>



*** User 2022-06-22 08:55:26.767 ***🔗
bob_unsubscribe_1380@localhost/res1 in
<presence from='alice_unsubscribe_1380@localhost' to='bob_unsubscribe_1380@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-06-22 08:55:26.767 ***🔗
bob_unsubscribe_1380@localhost/res1 out
<iq type='set' id='91c4c0a901a2ebea93cb8b1221ffd95c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_1380@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.857 ***🔗
bob_unsubscribe_1380@localhost/res1 in
<iq from='bob_unsubscribe_1380@localhost' to='bob_unsubscribe_1380@localhost/res1' id='pushb4f77ff20a6f5937' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1380@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.857 ***🔗
bob_unsubscribe_1380@localhost/res1 out
<iq to='bob_unsubscribe_1380@localhost' id='pushb4f77ff20a6f5937' type='result'/>



*** User 2022-06-22 08:55:26.857 ***🔗
bob_unsubscribe_1380@localhost/res1 in
<iq from='bob_unsubscribe_1380@localhost' to='bob_unsubscribe_1380@localhost/res1' id='91c4c0a901a2ebea93cb8b1221ffd95c' type='result'/>



*** User 2022-06-22 08:55:26.857 ***🔗
bob_unsubscribe_1380@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_1380@localhost'/>



*** User 2022-06-22 08:55:26.865 ***🔗
alice_unsubscribe_1380@localhost/res1 in
<iq from='alice_unsubscribe_1380@localhost' to='alice_unsubscribe_1380@localhost/res1' id='push227e51aae085f300' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_1380@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.865 ***🔗
alice_unsubscribe_1380@localhost/res1 in
<presence from='bob_unsubscribe_1380@localhost' to='alice_unsubscribe_1380@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-06-22 08:55:26.865 ***🔗
alice_unsubscribe_1380@localhost/res1 in
<presence from='bob_unsubscribe_1380@localhost/res1' to='alice_unsubscribe_1380@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 08:55:26.865 ***🔗
bob_unsubscribe_1380@localhost/res1 in
<iq from='bob_unsubscribe_1380@localhost' to='bob_unsubscribe_1380@localhost/res1' id='pushf34131f25f8c1e08' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1380@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.866 ***🔗
alice_unsubscribe_1380@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_1380@localhost'/>



*** User 2022-06-22 08:55:26.959 ***🔗
alice_unsubscribe_1380@localhost/res1 in
<iq from='alice_unsubscribe_1380@localhost' to='alice_unsubscribe_1380@localhost/res1' id='push16d6ef571add0346' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1380@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.959 ***🔗
alice_unsubscribe_1380@localhost/res1 out
<iq to='alice_unsubscribe_1380@localhost' id='push16d6ef571add0346' type='result'/>



*** User 2022-06-22 08:55:26.959 ***🔗
bob_unsubscribe_1380@localhost/res1 in
<iq from='bob_unsubscribe_1380@localhost' to='bob_unsubscribe_1380@localhost/res1' id='push50406a7c90454034' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1380@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 08:55:26.959 ***🔗
bob_unsubscribe_1380@localhost/res1 in
<presence from='alice_unsubscribe_1380@localhost' to='bob_unsubscribe_1380@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-06-22 08:55:26.959 ***🔗
alice_unsubscribe_1380@localhost/res1 in
<presence from='bob_unsubscribe_1380@localhost/res1' to='alice_unsubscribe_1380@localhost/res1' type='unavailable'/>



*** User 2022-06-22 08:55:26.960 ***🔗
bob_unsubscribe_1380@localhost/res1 out
</stream:stream>

*** User 2022-06-22 08:55:26.960 ***🔗
bob_unsubscribe_1380@localhost/res1 in
</stream:stream>

*** User 2022-06-22 08:55:26.960 ***🔗
alice_unsubscribe_1380@localhost/res1 out
</stream:stream>

*** User 2022-06-22 08:55:26.960 ***🔗
alice_unsubscribe_1380@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 08:55:26.971 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_1988.html
*** CT 2022-06-22 08:55:26.971 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4303.html



=== Ended at 2022-06-22 08:55:26
=== successfully completed test case
=== === Returned value: ok