=== Test case: presence_SUITE:remove_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.remove_unsubscribe.43523.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.122 *** View log from node mongooseim@localhost when started mongooseim@localhost_4594.html
*** CT 2022-04-05 07:54:58.122 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2005.html

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

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



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



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

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



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



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



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



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



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



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

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



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



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

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



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



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



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



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



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



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



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



*** User 2022-04-05 07:54:58.278 ***
alicE_remove_unsubscribe_1234@localhost/res1 in
<iq from='alicE_remove_unsubscribe_1234@localhost' to='alicE_remove_unsubscribe_1234@localhost/res1' id='166af4f15aebda7d66d6f201426bca37' type='result'/>



*** User 2022-04-05 07:54:58.279 ***
alicE_remove_unsubscribe_1234@localhost/res1 out
<iq to='alicE_remove_unsubscribe_1234@localhost' id='push39272c49b971779d' type='result'/>



*** User 2022-04-05 07:54:58.279 ***
alicE_remove_unsubscribe_1234@localhost/res1 out
<presence type='subscribe' to='bOb_remove_unsubscribe_1234@localhost'/>



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



*** User 2022-04-05 07:54:58.302 ***
alicE_remove_unsubscribe_1234@localhost/res1 out
<iq to='alicE_remove_unsubscribe_1234@localhost' id='pushfcabeebe62b58acd' type='result'/>



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



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



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



*** User 2022-04-05 07:54:58.359 ***
bOb_remove_unsubscribe_1234@localhost/res1 out
<iq to='bOb_remove_unsubscribe_1234@localhost' id='pusha0df442f23c6cf70' type='result'/>



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



*** User 2022-04-05 07:54:58.359 ***
bOb_remove_unsubscribe_1234@localhost/res1 out
<presence type='subscribed' to='alicE_remove_unsubscribe_1234@localhost'/>



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



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



*** User 2022-04-05 07:54:58.389 ***
alicE_remove_unsubscribe_1234@localhost/res1 in
<presence from='bOb_remove_unsubscribe_1234@localhost/res1' to='alice_remove_unsubscribe_1234@localhost/res1' xml:lang='en'/>



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



*** User 2022-04-05 07:54:58.389 ***
alicE_remove_unsubscribe_1234@localhost/res1 out
<iq type='set' id='15e2b4e757019228f04fe2e9677da331'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_remove_unsubscribe_1234@localhost' subscription='remove'/>
	</query>
</iq>



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



*** User 2022-04-05 07:54:58.458 ***
alicE_remove_unsubscribe_1234@localhost/res1 in
<iq from='alicE_remove_unsubscribe_1234@localhost' to='alicE_remove_unsubscribe_1234@localhost/res1' id='15e2b4e757019228f04fe2e9677da331' type='result'/>



*** User 2022-04-05 07:54:58.458 ***
alicE_remove_unsubscribe_1234@localhost/res1 in
<presence from='bOb_remove_unsubscribe_1234@localhost/res1' to='alice_remove_unsubscribe_1234@localhost/res1' type='unavailable'/>



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



*** User 2022-04-05 07:54:58.458 ***
bOb_remove_unsubscribe_1234@localhost/res1 in
<presence from='alicE_remove_unsubscribe_1234@localhost' to='bob_remove_unsubscribe_1234@localhost/res1' type='unsubscribe'/>



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

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

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

*** User 2022-04-05 07:54:58.462 ***
alicE_remove_unsubscribe_1234@localhost/res1 in
</stream:stream>
*** CT 2022-04-05 07:54:58.465 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2005.html
*** CT 2022-04-05 07:54:58.465 *** 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