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

=== Config value:

    [{watchdog,<0.22756.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.presence_SUITE.logs/run.2022-01-27_12.36.15/presence_suite.unsubscribe.103811.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@998557c7e1d1.2022-01-27_12.27.57/big_tests.tests.presence_SUITE.logs/run.2022-01-27_12.36.15/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@998557c7e1d1.2022-01-27_12.27.57"

=== Started at 2022-01-27 12:36:17


*** CT 2022-01-27 12:36:17.216 *** View log from node mongooseim@localhost when started mongooseim@localhost_2352.html
*** CT 2022-01-27 12:36:17.217 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_655.html

*** User 2022-01-27 12:36:17.237 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 12:36:17.238 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ff1ebf44480fdfaf' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:17.238 ***
alicE_unsubscribe_1688@domain.example.com/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 12:36:17.238 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzE2ODgAbWF0eWdyeXNh</auth>



*** User 2022-01-27 12:36:17.246 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:36:17.247 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 12:36:17.247 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9a7082d9c5c43813' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:17.247 ***
alicE_unsubscribe_1688@domain.example.com/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 12:36:17.248 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
<iq type='set' id='ab4180ff02beaaab51c6b61aed253c14'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:36:17.248 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<iq id='ab4180ff02beaaab51c6b61aed253c14' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_1688@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:36:17.248 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
<iq type='set' id='9f35e003b08a49e73c59b1ae6e2ac9fc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:17.248 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<iq type='result' id='9f35e003b08a49e73c59b1ae6e2ac9fc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:17.249 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:36:17.250 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<presence from='alicE_unsubscribe_1688@domain.example.com/res1' to='alice_unsubscribe_1688@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:17.252 ***
bOb_unsubscribe_1688@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 12:36:17.252 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8f6932bcc743a8a8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:17.252 ***
bOb_unsubscribe_1688@domain.example.com/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 12:36:17.252 ***
bOb_unsubscribe_1688@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xNjg4AG1ha3JvbGlrYQ==</auth>



*** User 2022-01-27 12:36:17.253 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 12:36:17.253 ***
bOb_unsubscribe_1688@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-01-27 12:36:17.254 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1ab9d5c99d5bbff' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-01-27 12:36:17.254 ***
bOb_unsubscribe_1688@domain.example.com/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 12:36:17.254 ***
bOb_unsubscribe_1688@domain.example.com/res1 out
<iq type='set' id='b15456c6e37bc39167e0b0bc9ba1d1ea'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 12:36:17.254 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
<iq id='b15456c6e37bc39167e0b0bc9ba1d1ea' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_1688@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 12:36:17.255 ***
bOb_unsubscribe_1688@domain.example.com/res1 out
<iq type='set' id='cd24794050781f452976066f93f3f1e6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:17.255 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
<iq type='result' id='cd24794050781f452976066f93f3f1e6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 12:36:17.255 ***
bOb_unsubscribe_1688@domain.example.com/res1 out
<presence/>



*** User 2022-01-27 12:36:17.258 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
<presence from='bOb_unsubscribe_1688@domain.example.com/res1' to='bob_unsubscribe_1688@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:17.258 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
<iq type='set' id='7f99ecced7eeb6014b01c66f8ce65ace'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_1688@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 12:36:17.270 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1688@domain.example.com' to='alicE_unsubscribe_1688@domain.example.com/res1' id='push12578d7cfda8fab3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1688@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 12:36:17.270 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1688@domain.example.com' to='alicE_unsubscribe_1688@domain.example.com/res1' id='7f99ecced7eeb6014b01c66f8ce65ace' type='result'/>



*** User 2022-01-27 12:36:17.271 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
<iq to='alicE_unsubscribe_1688@domain.example.com' id='push12578d7cfda8fab3' type='result'/>



*** User 2022-01-27 12:36:17.271 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1688@domain.example.com'/>



*** User 2022-01-27 12:36:17.290 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1688@domain.example.com' to='alicE_unsubscribe_1688@domain.example.com/res1' id='push1a72f8d366c23c2e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1688@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 12:36:17.290 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
<iq to='alicE_unsubscribe_1688@domain.example.com' id='push1a72f8d366c23c2e' type='result'/>



*** User 2022-01-27 12:36:17.290 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
<presence from='alicE_unsubscribe_1688@domain.example.com' to='bOb_unsubscribe_1688@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 12:36:17.291 ***
bOb_unsubscribe_1688@domain.example.com/res1 out
<iq type='set' id='c2eddf765ade135daf69577ebbcfa3bd'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_1688@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 12:36:17.343 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
<iq from='bOb_unsubscribe_1688@domain.example.com' to='bOb_unsubscribe_1688@domain.example.com/res1' id='push353f2bdcd1a7708a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1688@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 12:36:17.343 ***
bOb_unsubscribe_1688@domain.example.com/res1 out
<iq to='bOb_unsubscribe_1688@domain.example.com' id='push353f2bdcd1a7708a' type='result'/>



*** User 2022-01-27 12:36:17.344 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
<iq from='bOb_unsubscribe_1688@domain.example.com' to='bOb_unsubscribe_1688@domain.example.com/res1' id='c2eddf765ade135daf69577ebbcfa3bd' type='result'/>



*** User 2022-01-27 12:36:17.344 ***
bOb_unsubscribe_1688@domain.example.com/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1688@domain.example.com'/>



*** User 2022-01-27 12:36:17.368 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1688@domain.example.com' to='alicE_unsubscribe_1688@domain.example.com/res1' id='push8f045e63df35cbe4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_1688@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 12:36:17.368 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<presence from='bOb_unsubscribe_1688@domain.example.com' to='alicE_unsubscribe_1688@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 12:36:17.368 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<presence from='bOb_unsubscribe_1688@domain.example.com/res1' to='alice_unsubscribe_1688@domain.example.com/res1' xml:lang='en'/>



*** User 2022-01-27 12:36:17.369 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
<iq from='bOb_unsubscribe_1688@domain.example.com' to='bOb_unsubscribe_1688@domain.example.com/res1' id='push9456fa93f1875732' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1688@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 12:36:17.369 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1688@domain.example.com'/>



*** User 2022-01-27 12:36:17.403 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1688@domain.example.com' to='alicE_unsubscribe_1688@domain.example.com/res1' id='pushf8df273c12fc2808' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1688@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 12:36:17.403 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
<iq to='alicE_unsubscribe_1688@domain.example.com' id='pushf8df273c12fc2808' type='result'/>



*** User 2022-01-27 12:36:17.404 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
<iq from='bOb_unsubscribe_1688@domain.example.com' to='bOb_unsubscribe_1688@domain.example.com/res1' id='push5ad286c4245f51b4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1688@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 12:36:17.404 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
<presence from='alicE_unsubscribe_1688@domain.example.com' to='bOb_unsubscribe_1688@domain.example.com/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-01-27 12:36:17.404 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
<presence from='bOb_unsubscribe_1688@domain.example.com/res1' to='alice_unsubscribe_1688@domain.example.com/res1' type='unavailable'/>



*** User 2022-01-27 12:36:17.404 ***
bOb_unsubscribe_1688@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:36:17.410 ***
bOb_unsubscribe_1688@domain.example.com/res1 in
</stream:stream>

*** User 2022-01-27 12:36:17.410 ***
alicE_unsubscribe_1688@domain.example.com/res1 out
</stream:stream>

*** User 2022-01-27 12:36:17.410 ***
alicE_unsubscribe_1688@domain.example.com/res1 in
</stream:stream>
*** CT 2022-01-27 12:36:17.448 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_655.html
*** CT 2022-01-27 12:36:17.449 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2352.html



=== Ended at 2022-01-27 12:36:17
=== successfully completed test case
=== === Returned value: ok