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

=== Config value:

    [{watchdog,<0.32174.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/presence_suite.remove_unsubscribe.103555.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@43a5deef6262.2022-01-27_15.25.11/big_tests.tests.presence_SUITE.logs/run.2022-01-27_15.34.54/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@43a5deef6262.2022-01-27_15.25.11"

=== Started at 2022-01-27 15:34:56


*** CT 2022-01-27 15:34:56.610 *** View log from node mongooseim@localhost when started mongooseim@localhost_5449.html
*** CT 2022-01-27 15:34:56.611 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_2385.html

*** User 2022-01-27 15:34:56.640 ***
alicE_remove_unsubscribe_1845@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-01-27 15:34:56.640 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4957b69b822583ac' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:56.640 ***
alicE_remove_unsubscribe_1845@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-01-27 15:34:56.640 ***
alicE_remove_unsubscribe_1845@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8xODQ1AG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:34:56.641 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:34:56.641 ***
alicE_remove_unsubscribe_1845@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-01-27 15:34:56.642 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6da477fc55074534' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:56.642 ***
alicE_remove_unsubscribe_1845@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-01-27 15:34:56.642 ***
alicE_remove_unsubscribe_1845@localhost/res1 out
<iq type='set' id='8a80b82e57a3fe77dcae3b9dde93ad46'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:56.642 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<iq id='8a80b82e57a3fe77dcae3b9dde93ad46' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_remove_unsubscribe_1845@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:56.642 ***
alicE_remove_unsubscribe_1845@localhost/res1 out
<iq type='set' id='8e5c54ef477b3aa6fbfa2ce1ab61f7f5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:56.643 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<iq type='result' id='8e5c54ef477b3aa6fbfa2ce1ab61f7f5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:56.643 ***
alicE_remove_unsubscribe_1845@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:56.644 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<presence from='alicE_remove_unsubscribe_1845@localhost/res1' to='alice_remove_unsubscribe_1845@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:56.645 ***
bOb_remove_unsubscribe_1845@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-01-27 15:34:56.645 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='536aa563ffcbd484' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:56.645 ***
bOb_remove_unsubscribe_1845@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-01-27 15:34:56.645 ***
bOb_remove_unsubscribe_1845@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMTg0NQBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:34:56.646 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:34:56.646 ***
bOb_remove_unsubscribe_1845@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-01-27 15:34:56.647 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc0854a4c684d381' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:34:56.647 ***
bOb_remove_unsubscribe_1845@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-01-27 15:34:56.647 ***
bOb_remove_unsubscribe_1845@localhost/res1 out
<iq type='set' id='3185e1ebf526e8c4e2bb782a12fb093f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:34:56.647 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
<iq id='3185e1ebf526e8c4e2bb782a12fb093f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_remove_unsubscribe_1845@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:34:56.647 ***
bOb_remove_unsubscribe_1845@localhost/res1 out
<iq type='set' id='be541a999fd6d47a6354837941ef2437'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:56.647 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
<iq type='result' id='be541a999fd6d47a6354837941ef2437'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:34:56.648 ***
bOb_remove_unsubscribe_1845@localhost/res1 out
<presence/>



*** User 2022-01-27 15:34:56.650 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
<presence from='bOb_remove_unsubscribe_1845@localhost/res1' to='bob_remove_unsubscribe_1845@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:56.650 ***
alicE_remove_unsubscribe_1845@localhost/res1 out
<iq type='set' id='68300a368b2aec99b74654a05bcb4d62'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_remove_unsubscribe_1845@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:56.666 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<iq from='alicE_remove_unsubscribe_1845@localhost' to='alicE_remove_unsubscribe_1845@localhost/res1' id='push2f77d9edfd0ede2c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_1845@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:56.666 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<iq from='alicE_remove_unsubscribe_1845@localhost' to='alicE_remove_unsubscribe_1845@localhost/res1' id='68300a368b2aec99b74654a05bcb4d62' type='result'/>



*** User 2022-01-27 15:34:56.666 ***
alicE_remove_unsubscribe_1845@localhost/res1 out
<iq to='alicE_remove_unsubscribe_1845@localhost' id='push2f77d9edfd0ede2c' type='result'/>



*** User 2022-01-27 15:34:56.666 ***
alicE_remove_unsubscribe_1845@localhost/res1 out
<presence type='subscribe' to='bOb_remove_unsubscribe_1845@localhost'/>



*** User 2022-01-27 15:34:56.680 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<iq from='alicE_remove_unsubscribe_1845@localhost' to='alicE_remove_unsubscribe_1845@localhost/res1' id='pushb5bf1d3c6701af35' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_1845@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:56.680 ***
alicE_remove_unsubscribe_1845@localhost/res1 out
<iq to='alicE_remove_unsubscribe_1845@localhost' id='pushb5bf1d3c6701af35' type='result'/>



*** User 2022-01-27 15:34:56.680 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
<presence from='alicE_remove_unsubscribe_1845@localhost' to='bOb_remove_unsubscribe_1845@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 15:34:56.680 ***
bOb_remove_unsubscribe_1845@localhost/res1 out
<iq type='set' id='f3a48f5624c3aaf4665fa8f59ab97665'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_remove_unsubscribe_1845@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:56.687 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
<iq from='bOb_remove_unsubscribe_1845@localhost' to='bOb_remove_unsubscribe_1845@localhost/res1' id='pusha78c59f37934269f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_1845@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:56.687 ***
bOb_remove_unsubscribe_1845@localhost/res1 out
<iq to='bOb_remove_unsubscribe_1845@localhost' id='pusha78c59f37934269f' type='result'/>



*** User 2022-01-27 15:34:56.687 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
<iq from='bOb_remove_unsubscribe_1845@localhost' to='bOb_remove_unsubscribe_1845@localhost/res1' id='f3a48f5624c3aaf4665fa8f59ab97665' type='result'/>



*** User 2022-01-27 15:34:56.687 ***
bOb_remove_unsubscribe_1845@localhost/res1 out
<presence type='subscribed' to='alicE_remove_unsubscribe_1845@localhost'/>



*** User 2022-01-27 15:34:56.697 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<iq from='alicE_remove_unsubscribe_1845@localhost' to='alicE_remove_unsubscribe_1845@localhost/res1' id='push9bd65347cf830c29' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_1845@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:56.697 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<presence from='bOb_remove_unsubscribe_1845@localhost' to='alicE_remove_unsubscribe_1845@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 15:34:56.697 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<presence from='bOb_remove_unsubscribe_1845@localhost/res1' to='alice_remove_unsubscribe_1845@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:34:56.697 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
<iq from='bOb_remove_unsubscribe_1845@localhost' to='bOb_remove_unsubscribe_1845@localhost/res1' id='push580391359eef00c3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_1845@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:56.697 ***
alicE_remove_unsubscribe_1845@localhost/res1 out
<iq type='set' id='f395aae312a2752c54bf91864ae367ab'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_remove_unsubscribe_1845@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2022-01-27 15:34:56.703 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<iq from='alicE_remove_unsubscribe_1845@localhost' to='alicE_remove_unsubscribe_1845@localhost/res1' id='push113b0183711bce52' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_1845@localhost'/>
	</query>
</iq>



*** User 2022-01-27 15:34:56.749 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<presence from='bOb_remove_unsubscribe_1845@localhost/res1' to='alice_remove_unsubscribe_1845@localhost/res1' type='unavailable'/>



*** User 2022-01-27 15:34:56.749 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
<iq from='alicE_remove_unsubscribe_1845@localhost' to='alicE_remove_unsubscribe_1845@localhost/res1' id='f395aae312a2752c54bf91864ae367ab' type='result'/>



*** User 2022-01-27 15:34:56.749 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
<iq from='bob_remove_unsubscribe_1845@localhost' to='bob_remove_unsubscribe_1845@localhost/res1' id='push288b3d3f8dc6ebba' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_1845@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:34:56.749 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
<presence from='alicE_remove_unsubscribe_1845@localhost' to='bob_remove_unsubscribe_1845@localhost/res1' type='unsubscribe'/>



*** User 2022-01-27 15:34:56.749 ***
bOb_remove_unsubscribe_1845@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:34:56.750 ***
bOb_remove_unsubscribe_1845@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:34:56.750 ***
alicE_remove_unsubscribe_1845@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:34:56.750 ***
alicE_remove_unsubscribe_1845@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:34:56.752 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_2385.html
*** CT 2022-01-27 15:34:56.753 *** View log from node mongooseim@localhost when finished mongooseim@localhost_5449.html



=== Ended at 2022-01-27 15:34:56
=== successfully completed test case
=== === Returned value: ok