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

=== Config value:

    [{watchdog,<0.3252.2>},
     {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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.presence_SUITE.logs/run.2022-04-04_15.13.08/presence_suite.remove_unsubscribe.104323.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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.presence_SUITE.logs/run.2022-04-04_15.13.08/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@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:13:10


*** CT 2022-04-04 15:13:10.459 *** View log from node mongooseim@localhost when started mongooseim@localhost_4741.html
*** CT 2022-04-04 15:13:10.459 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_1974.html

*** User 2022-04-04 15:13:10.468 ***
alicE_remove_unsubscribe_2027@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-04 15:13:10.468 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='59f2f57320245c98' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:10.469 ***
alicE_remove_unsubscribe_2027@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-04 15:13:10.469 ***
alicE_remove_unsubscribe_2027@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yMDI3AG1hdHlncnlzYQ==</auth>



*** User 2022-04-04 15:13:10.469 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:13:10.470 ***
alicE_remove_unsubscribe_2027@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-04 15:13:10.470 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f7fec80db6573745' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:10.470 ***
alicE_remove_unsubscribe_2027@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-04 15:13:10.470 ***
alicE_remove_unsubscribe_2027@localhost/res1 out
<iq type='set' id='1db1675807892c2e2846e2dad3db1769'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:13:10.470 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<iq id='1db1675807892c2e2846e2dad3db1769' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_remove_unsubscribe_2027@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:13:10.470 ***
alicE_remove_unsubscribe_2027@localhost/res1 out
<iq type='set' id='887a0e2a9f514cbc5de10a8fde93e979'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:10.471 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<iq type='result' id='887a0e2a9f514cbc5de10a8fde93e979'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:10.471 ***
alicE_remove_unsubscribe_2027@localhost/res1 out
<presence/>



*** User 2022-04-04 15:13:10.472 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<presence from='alicE_remove_unsubscribe_2027@localhost/res1' to='alice_remove_unsubscribe_2027@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:10.473 ***
bOb_remove_unsubscribe_2027@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-04 15:13:10.473 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d3f77c81a5f633af' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:10.473 ***
bOb_remove_unsubscribe_2027@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-04 15:13:10.473 ***
bOb_remove_unsubscribe_2027@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjAyNwBtYWtyb2xpa2E=</auth>



*** User 2022-04-04 15:13:10.474 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:13:10.474 ***
bOb_remove_unsubscribe_2027@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-04 15:13:10.475 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3319bb9126b3360f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:13:10.475 ***
bOb_remove_unsubscribe_2027@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-04 15:13:10.475 ***
bOb_remove_unsubscribe_2027@localhost/res1 out
<iq type='set' id='b82f1d0fad861a3e5b4ee66234011604'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:13:10.475 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
<iq id='b82f1d0fad861a3e5b4ee66234011604' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_remove_unsubscribe_2027@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:13:10.475 ***
bOb_remove_unsubscribe_2027@localhost/res1 out
<iq type='set' id='6027511d5531bbae8567863e5cfeddfc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:10.475 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
<iq type='result' id='6027511d5531bbae8567863e5cfeddfc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:13:10.475 ***
bOb_remove_unsubscribe_2027@localhost/res1 out
<presence/>



*** User 2022-04-04 15:13:10.482 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
<presence from='bOb_remove_unsubscribe_2027@localhost/res1' to='bob_remove_unsubscribe_2027@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:10.482 ***
alicE_remove_unsubscribe_2027@localhost/res1 out
<iq type='set' id='d62305adc4ec4e8e1d0de21294de2b49'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_remove_unsubscribe_2027@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:10.494 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<iq from='alicE_remove_unsubscribe_2027@localhost' to='alicE_remove_unsubscribe_2027@localhost/res1' id='push650d257f1d5d5ba8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2027@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:10.494 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<iq from='alicE_remove_unsubscribe_2027@localhost' to='alicE_remove_unsubscribe_2027@localhost/res1' id='d62305adc4ec4e8e1d0de21294de2b49' type='result'/>



*** User 2022-04-04 15:13:10.495 ***
alicE_remove_unsubscribe_2027@localhost/res1 out
<iq to='alicE_remove_unsubscribe_2027@localhost' id='push650d257f1d5d5ba8' type='result'/>



*** User 2022-04-04 15:13:10.495 ***
alicE_remove_unsubscribe_2027@localhost/res1 out
<presence type='subscribe' to='bOb_remove_unsubscribe_2027@localhost'/>



*** User 2022-04-04 15:13:10.536 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<iq from='alicE_remove_unsubscribe_2027@localhost' to='alicE_remove_unsubscribe_2027@localhost/res1' id='push7bd53db1a7879d12' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2027@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:10.536 ***
alicE_remove_unsubscribe_2027@localhost/res1 out
<iq to='alicE_remove_unsubscribe_2027@localhost' id='push7bd53db1a7879d12' type='result'/>



*** User 2022-04-04 15:13:10.536 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
<presence from='alicE_remove_unsubscribe_2027@localhost' to='bOb_remove_unsubscribe_2027@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-04-04 15:13:10.537 ***
bOb_remove_unsubscribe_2027@localhost/res1 out
<iq type='set' id='64e74be06c8ca23f39a1c2cd9d5748ab'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_remove_unsubscribe_2027@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:10.544 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
<iq from='bOb_remove_unsubscribe_2027@localhost' to='bOb_remove_unsubscribe_2027@localhost/res1' id='pushe14f3ceac1520ab9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2027@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:10.544 ***
bOb_remove_unsubscribe_2027@localhost/res1 out
<iq to='bOb_remove_unsubscribe_2027@localhost' id='pushe14f3ceac1520ab9' type='result'/>



*** User 2022-04-04 15:13:10.544 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
<iq from='bOb_remove_unsubscribe_2027@localhost' to='bOb_remove_unsubscribe_2027@localhost/res1' id='64e74be06c8ca23f39a1c2cd9d5748ab' type='result'/>



*** User 2022-04-04 15:13:10.544 ***
bOb_remove_unsubscribe_2027@localhost/res1 out
<presence type='subscribed' to='alicE_remove_unsubscribe_2027@localhost'/>



*** User 2022-04-04 15:13:10.551 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<iq from='alicE_remove_unsubscribe_2027@localhost' to='alicE_remove_unsubscribe_2027@localhost/res1' id='pushd42b5f9fdefebf51' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_2027@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:10.551 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<presence from='bOb_remove_unsubscribe_2027@localhost' to='alicE_remove_unsubscribe_2027@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-04-04 15:13:10.551 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<presence from='bOb_remove_unsubscribe_2027@localhost/res1' to='alice_remove_unsubscribe_2027@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:13:10.551 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
<iq from='bOb_remove_unsubscribe_2027@localhost' to='bOb_remove_unsubscribe_2027@localhost/res1' id='push9f267cbf573c14cd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_2027@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:10.552 ***
alicE_remove_unsubscribe_2027@localhost/res1 out
<iq type='set' id='ea03ea7ce39015da17f4669b0532ae52'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_remove_unsubscribe_2027@localhost' subscription='remove'/>
	</query>
</iq>



*** User 2022-04-04 15:13:10.554 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<iq from='alicE_remove_unsubscribe_2027@localhost' to='alicE_remove_unsubscribe_2027@localhost/res1' id='push99a49decbea2568d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_2027@localhost'/>
	</query>
</iq>



*** User 2022-04-04 15:13:10.562 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<iq from='alicE_remove_unsubscribe_2027@localhost' to='alicE_remove_unsubscribe_2027@localhost/res1' id='ea03ea7ce39015da17f4669b0532ae52' type='result'/>



*** User 2022-04-04 15:13:10.562 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
<presence from='bOb_remove_unsubscribe_2027@localhost/res1' to='alice_remove_unsubscribe_2027@localhost/res1' type='unavailable'/>



*** User 2022-04-04 15:13:10.562 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
<iq from='bob_remove_unsubscribe_2027@localhost' to='bob_remove_unsubscribe_2027@localhost/res1' id='push7712cb6898bcb20d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2027@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:13:10.562 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
<presence from='alicE_remove_unsubscribe_2027@localhost' to='bob_remove_unsubscribe_2027@localhost/res1' type='unsubscribe'/>



*** User 2022-04-04 15:13:10.563 ***
bOb_remove_unsubscribe_2027@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:13:10.563 ***
bOb_remove_unsubscribe_2027@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:13:10.563 ***
alicE_remove_unsubscribe_2027@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:13:10.563 ***
alicE_remove_unsubscribe_2027@localhost/res1 in
</stream:stream>
*** CT 2022-04-04 15:13:10.565 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_1974.html
*** CT 2022-04-04 15:13:10.566 *** View log from node mongooseim@localhost when finished mongooseim@localhost_4741.html



=== Ended at 2022-04-04 15:13:10
=== successfully completed test case
=== === Returned value: ok