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

=== Config value:

    [{watchdog,<0.24942.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.24.48/presence_suite.unsubscribe.146306.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.presence_SUITE.logs/run.2022-03-04_11.24.48/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@88d84ff17c71.2022-03-04_11.16.52"

=== Started at 2022-03-04 11:24:50


*** CT 2022-03-04 11:24:50.081 *** View log from node mongooseim@localhost when started mongooseim@localhost_2400.html
*** CT 2022-03-04 11:24:50.081 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_646.html

*** User 2022-03-04 11:24:50.091 ***
alicE_unsubscribe_1749@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-03-04 11:24:50.091 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2c4d1b04f3269b58' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:50.091 ***
alicE_unsubscribe_1749@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-03-04 11:24:50.091 ***
alicE_unsubscribe_1749@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzE3NDkAbWF0eWdyeXNh</auth>



*** User 2022-03-04 11:24:50.092 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:50.092 ***
alicE_unsubscribe_1749@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-03-04 11:24:50.093 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ab24076c9e12d73c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:50.093 ***
alicE_unsubscribe_1749@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-03-04 11:24:50.093 ***
alicE_unsubscribe_1749@domain.example.com/res1 out
<iq type='set' id='087867fb00d1a7bbb6806d7719f76438'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:50.093 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<iq id='087867fb00d1a7bbb6806d7719f76438' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_1749@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:50.093 ***
alicE_unsubscribe_1749@domain.example.com/res1 out
<iq type='set' id='270be2979853d1d7254c1f2da45b6084'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:50.093 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<iq type='result' id='270be2979853d1d7254c1f2da45b6084'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:50.093 ***
alicE_unsubscribe_1749@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:50.095 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<presence from='alicE_unsubscribe_1749@domain.example.com/res1' to='alice_unsubscribe_1749@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:50.095 ***
bOb_unsubscribe_1749@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-03-04 11:24:50.096 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='16cac20363fc8e26' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:50.096 ***
bOb_unsubscribe_1749@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-03-04 11:24:50.096 ***
bOb_unsubscribe_1749@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xNzQ5AG1ha3JvbGlrYQ==</auth>



*** User 2022-03-04 11:24:50.097 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:24:50.097 ***
bOb_unsubscribe_1749@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-03-04 11:24:50.097 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d2f6c26379f5f4d' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:24:50.097 ***
bOb_unsubscribe_1749@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-03-04 11:24:50.097 ***
bOb_unsubscribe_1749@domain.example.com/res1 out
<iq type='set' id='3ba9079e4f775751daccd8804634152c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:24:50.097 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
<iq id='3ba9079e4f775751daccd8804634152c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_1749@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:24:50.098 ***
bOb_unsubscribe_1749@domain.example.com/res1 out
<iq type='set' id='5c6f6823835e0c4f352badaa33a0da0a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:50.098 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
<iq type='result' id='5c6f6823835e0c4f352badaa33a0da0a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:24:50.098 ***
bOb_unsubscribe_1749@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:24:50.099 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
<presence from='bOb_unsubscribe_1749@domain.example.com/res1' to='bob_unsubscribe_1749@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:50.099 ***
alicE_unsubscribe_1749@domain.example.com/res1 out
<iq type='set' id='b3556f75217a0afa01aee7f8b908eca1'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_1749@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.114 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1749@domain.example.com' to='alicE_unsubscribe_1749@domain.example.com/res1' id='pushf09c3beda2cbe91b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1749@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.114 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1749@domain.example.com' to='alicE_unsubscribe_1749@domain.example.com/res1' id='b3556f75217a0afa01aee7f8b908eca1' type='result'/>



*** User 2022-03-04 11:24:50.114 ***
alicE_unsubscribe_1749@domain.example.com/res1 out
<iq to='alicE_unsubscribe_1749@domain.example.com' id='pushf09c3beda2cbe91b' type='result'/>



*** User 2022-03-04 11:24:50.114 ***
alicE_unsubscribe_1749@domain.example.com/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1749@domain.example.com'/>



*** User 2022-03-04 11:24:50.129 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1749@domain.example.com' to='alicE_unsubscribe_1749@domain.example.com/res1' id='push7ea50239772868e5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1749@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.129 ***
alicE_unsubscribe_1749@domain.example.com/res1 out
<iq to='alicE_unsubscribe_1749@domain.example.com' id='push7ea50239772868e5' type='result'/>



*** User 2022-03-04 11:24:50.129 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
<presence from='alicE_unsubscribe_1749@domain.example.com' to='bOb_unsubscribe_1749@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-04 11:24:50.129 ***
bOb_unsubscribe_1749@domain.example.com/res1 out
<iq type='set' id='1bfd0985b94bb930ee22b4818adf4917'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_1749@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.145 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
<iq from='bOb_unsubscribe_1749@domain.example.com' to='bOb_unsubscribe_1749@domain.example.com/res1' id='push72d5f823126f0b34' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1749@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.146 ***
bOb_unsubscribe_1749@domain.example.com/res1 out
<iq to='bOb_unsubscribe_1749@domain.example.com' id='push72d5f823126f0b34' type='result'/>



*** User 2022-03-04 11:24:50.146 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
<iq from='bOb_unsubscribe_1749@domain.example.com' to='bOb_unsubscribe_1749@domain.example.com/res1' id='1bfd0985b94bb930ee22b4818adf4917' type='result'/>



*** User 2022-03-04 11:24:50.146 ***
bOb_unsubscribe_1749@domain.example.com/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1749@domain.example.com'/>



*** User 2022-03-04 11:24:50.151 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1749@domain.example.com' to='alicE_unsubscribe_1749@domain.example.com/res1' id='push8ff48e64c8c863fc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_1749@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.151 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<presence from='bOb_unsubscribe_1749@domain.example.com' to='alicE_unsubscribe_1749@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-04 11:24:50.151 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<presence from='bOb_unsubscribe_1749@domain.example.com/res1' to='alice_unsubscribe_1749@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:24:50.151 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
<iq from='bOb_unsubscribe_1749@domain.example.com' to='bOb_unsubscribe_1749@domain.example.com/res1' id='pushad8e0ab015d5981b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1749@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.151 ***
alicE_unsubscribe_1749@domain.example.com/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1749@domain.example.com'/>



*** User 2022-03-04 11:24:50.161 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1749@domain.example.com' to='alicE_unsubscribe_1749@domain.example.com/res1' id='push1fdb653e1f519c95' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1749@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.161 ***
alicE_unsubscribe_1749@domain.example.com/res1 out
<iq to='alicE_unsubscribe_1749@domain.example.com' id='push1fdb653e1f519c95' type='result'/>



*** User 2022-03-04 11:24:50.161 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
<iq from='bOb_unsubscribe_1749@domain.example.com' to='bOb_unsubscribe_1749@domain.example.com/res1' id='pushb06aac67becd424d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1749@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:24:50.161 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
<presence from='alicE_unsubscribe_1749@domain.example.com' to='bOb_unsubscribe_1749@domain.example.com/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-03-04 11:24:50.161 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
<presence from='bOb_unsubscribe_1749@domain.example.com/res1' to='alice_unsubscribe_1749@domain.example.com/res1' type='unavailable'/>



*** User 2022-03-04 11:24:50.161 ***
bOb_unsubscribe_1749@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:50.162 ***
bOb_unsubscribe_1749@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:24:50.162 ***
alicE_unsubscribe_1749@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:24:50.162 ***
alicE_unsubscribe_1749@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:24:50.171 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_646.html
*** CT 2022-03-04 11:24:50.172 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2400.html



=== Ended at 2022-03-04 11:24:50
=== successfully completed test case
=== === Returned value: ok