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

=== Config value:

    [{watchdog,<0.11112.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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.presence_SUITE.logs/run.2022-04-05_07.54.55/presence_suite.unsubscribe.43395.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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.presence_SUITE.logs/run.2022-04-05_07.54.55/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@22b4515d438b.2022-04-05_07.43.19"

=== Started at 2022-04-05 07:54:58


*** CT 2022-04-05 07:54:58.116 *** View log from node mongooseim@localhost when started mongooseim@localhost_4594.html
*** CT 2022-04-05 07:54:58.117 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2005.html

*** User 2022-04-05 07:54:58.171 ***
alicE_unsubscribe_1232@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-04-05 07:54:58.174 ***
alicE_unsubscribe_1232@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d39451517adff070' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:58.174 ***
alicE_unsubscribe_1232@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-04-05 07:54:58.174 ***
alicE_unsubscribe_1232@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzEyMzIAbWF0eWdyeXNh</auth>



*** User 2022-04-05 07:54:58.177 ***
alicE_unsubscribe_1232@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:54:58.177 ***
alicE_unsubscribe_1232@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-04-05 07:54:58.177 ***
alicE_unsubscribe_1232@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d487fb36637e619e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:58.179 ***
alicE_unsubscribe_1232@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-04-05 07:54:58.179 ***
alicE_unsubscribe_1232@localhost/res1 out
<iq type='set' id='b0e894651bc261faf209063a47f4417d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:54:58.179 ***
alicE_unsubscribe_1232@localhost/res1 in
<iq id='b0e894651bc261faf209063a47f4417d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_1232@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-05 07:54:58.180 ***
alicE_unsubscribe_1232@localhost/res1 out
<iq type='set' id='ca3408d435af5c8744927499bbb48fb9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:58.180 ***
alicE_unsubscribe_1232@localhost/res1 in
<iq type='result' id='ca3408d435af5c8744927499bbb48fb9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:58.180 ***
alicE_unsubscribe_1232@localhost/res1 out
<presence/>



*** User 2022-04-05 07:54:58.188 ***
alicE_unsubscribe_1232@localhost/res1 in
<presence from='alicE_unsubscribe_1232@localhost/res1' to='alice_unsubscribe_1232@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:58.194 ***
bOb_unsubscribe_1232@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-04-05 07:54:58.197 ***
bOb_unsubscribe_1232@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='370d13f50a7ef548' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:58.198 ***
bOb_unsubscribe_1232@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-04-05 07:54:58.199 ***
bOb_unsubscribe_1232@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xMjMyAG1ha3JvbGlrYQ==</auth>



*** User 2022-04-05 07:54:58.214 ***
bOb_unsubscribe_1232@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:54:58.214 ***
bOb_unsubscribe_1232@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-04-05 07:54:58.215 ***
bOb_unsubscribe_1232@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='18c1c7b7c87e791a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:54:58.215 ***
bOb_unsubscribe_1232@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-04-05 07:54:58.216 ***
bOb_unsubscribe_1232@localhost/res1 out
<iq type='set' id='e3cf82a3b99ceebcff5419429b574b6b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:54:58.218 ***
bOb_unsubscribe_1232@localhost/res1 in
<iq id='e3cf82a3b99ceebcff5419429b574b6b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_1232@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-05 07:54:58.218 ***
bOb_unsubscribe_1232@localhost/res1 out
<iq type='set' id='489c45eac58924a073d6b75faaaae2f0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:58.219 ***
bOb_unsubscribe_1232@localhost/res1 in
<iq type='result' id='489c45eac58924a073d6b75faaaae2f0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:54:58.219 ***
bOb_unsubscribe_1232@localhost/res1 out
<presence/>



*** User 2022-04-05 07:54:58.223 ***
bOb_unsubscribe_1232@localhost/res1 in
<presence from='bOb_unsubscribe_1232@localhost/res1' to='bob_unsubscribe_1232@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:58.223 ***
alicE_unsubscribe_1232@localhost/res1 out
<iq type='set' id='5b5c468b9df9c0bb4ca13e388997e4ed'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_1232@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:58.264 ***
alicE_unsubscribe_1232@localhost/res1 in
<iq from='alicE_unsubscribe_1232@localhost' to='alicE_unsubscribe_1232@localhost/res1' id='push7d17a8f0036f07c0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1232@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:58.264 ***
alicE_unsubscribe_1232@localhost/res1 in
<iq from='alicE_unsubscribe_1232@localhost' to='alicE_unsubscribe_1232@localhost/res1' id='5b5c468b9df9c0bb4ca13e388997e4ed' type='result'/>



*** User 2022-04-05 07:54:58.264 ***
alicE_unsubscribe_1232@localhost/res1 out
<iq to='alicE_unsubscribe_1232@localhost' id='push7d17a8f0036f07c0' type='result'/>



*** User 2022-04-05 07:54:58.264 ***
alicE_unsubscribe_1232@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1232@localhost'/>



*** User 2022-04-05 07:54:58.277 ***
alicE_unsubscribe_1232@localhost/res1 in
<iq from='alicE_unsubscribe_1232@localhost' to='alicE_unsubscribe_1232@localhost/res1' id='push210cb30647f77842' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1232@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:58.277 ***
alicE_unsubscribe_1232@localhost/res1 out
<iq to='alicE_unsubscribe_1232@localhost' id='push210cb30647f77842' type='result'/>



*** User 2022-04-05 07:54:58.277 ***
bOb_unsubscribe_1232@localhost/res1 in
<presence from='alicE_unsubscribe_1232@localhost' to='bOb_unsubscribe_1232@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-04-05 07:54:58.277 ***
bOb_unsubscribe_1232@localhost/res1 out
<iq type='set' id='5d504d420f3bec23763de70db3763464'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_1232@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:58.290 ***
bOb_unsubscribe_1232@localhost/res1 in
<iq from='bOb_unsubscribe_1232@localhost' to='bOb_unsubscribe_1232@localhost/res1' id='push29a0dd494aafd43b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1232@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:58.290 ***
bOb_unsubscribe_1232@localhost/res1 out
<iq to='bOb_unsubscribe_1232@localhost' id='push29a0dd494aafd43b' type='result'/>



*** User 2022-04-05 07:54:58.290 ***
bOb_unsubscribe_1232@localhost/res1 in
<iq from='bOb_unsubscribe_1232@localhost' to='bOb_unsubscribe_1232@localhost/res1' id='5d504d420f3bec23763de70db3763464' type='result'/>



*** User 2022-04-05 07:54:58.290 ***
bOb_unsubscribe_1232@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1232@localhost'/>



*** User 2022-04-05 07:54:58.311 ***
alicE_unsubscribe_1232@localhost/res1 in
<iq from='alicE_unsubscribe_1232@localhost' to='alicE_unsubscribe_1232@localhost/res1' id='pushbd05d9b615c20634' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_1232@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:58.311 ***
alicE_unsubscribe_1232@localhost/res1 in
<presence from='bOb_unsubscribe_1232@localhost' to='alicE_unsubscribe_1232@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-04-05 07:54:58.311 ***
alicE_unsubscribe_1232@localhost/res1 in
<presence from='bOb_unsubscribe_1232@localhost/res1' to='alice_unsubscribe_1232@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:54:58.311 ***
bOb_unsubscribe_1232@localhost/res1 in
<iq from='bOb_unsubscribe_1232@localhost' to='bOb_unsubscribe_1232@localhost/res1' id='pushc2d467f92f09d647' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1232@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:58.311 ***
alicE_unsubscribe_1232@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1232@localhost'/>



*** User 2022-04-05 07:54:58.399 ***
alicE_unsubscribe_1232@localhost/res1 in
<iq from='alicE_unsubscribe_1232@localhost' to='alicE_unsubscribe_1232@localhost/res1' id='pushd8b4ba7fa7c3e115' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1232@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:58.399 ***
alicE_unsubscribe_1232@localhost/res1 out
<iq to='alicE_unsubscribe_1232@localhost' id='pushd8b4ba7fa7c3e115' type='result'/>



*** User 2022-04-05 07:54:58.399 ***
bOb_unsubscribe_1232@localhost/res1 in
<iq from='bOb_unsubscribe_1232@localhost' to='bOb_unsubscribe_1232@localhost/res1' id='pushb9b698fe54a65469' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1232@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:54:58.399 ***
bOb_unsubscribe_1232@localhost/res1 in
<presence from='alicE_unsubscribe_1232@localhost' to='bOb_unsubscribe_1232@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-04-05 07:54:58.399 ***
alicE_unsubscribe_1232@localhost/res1 in
<presence from='bOb_unsubscribe_1232@localhost/res1' to='alice_unsubscribe_1232@localhost/res1' type='unavailable'/>



*** User 2022-04-05 07:54:58.399 ***
bOb_unsubscribe_1232@localhost/res1 out
</stream:stream>

*** User 2022-04-05 07:54:58.400 ***
bOb_unsubscribe_1232@localhost/res1 in
</stream:stream>

*** User 2022-04-05 07:54:58.400 ***
alicE_unsubscribe_1232@localhost/res1 out
</stream:stream>

*** User 2022-04-05 07:54:58.401 ***
alicE_unsubscribe_1232@localhost/res1 in
</stream:stream>
*** CT 2022-04-05 07:54:58.468 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2005.html
*** CT 2022-04-05 07:54:58.469 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4594.html



=== Ended at 2022-04-05 07:54:58
=== successfully completed test case
=== === Returned value: ok