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

=== Config value:

    [{watchdog,<0.30423.1>},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {preset,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.presence_SUITE.logs/run.2022-05-11_09.04.17/presence_suite.unsubscribe.146946.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@df370d24fb6d.2022-05-11_08.56.40/big_tests.tests.presence_SUITE.logs/run.2022-05-11_09.04.17/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@df370d24fb6d.2022-05-11_08.56.40"

=== Started at 2022-05-11 09:04:18


*** CT 2022-05-11 09:04:18.905 *** View log from node mongooseim@localhost when started mongooseim@localhost_2410.html
*** CT 2022-05-11 09:04:18.906 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_524.html

*** User 2022-05-11 09:04:18.917 ***
alicE_unsubscribe_1945@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-05-11 09:04:18.917 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='87b9094045e89f28' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:18.918 ***
alicE_unsubscribe_1945@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-05-11 09:04:18.918 ***
alicE_unsubscribe_1945@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzE5NDUAbWF0eWdyeXNh</auth>



*** User 2022-05-11 09:04:18.919 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:04:18.919 ***
alicE_unsubscribe_1945@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-05-11 09:04:18.919 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f2ab73b074acf62b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:18.919 ***
alicE_unsubscribe_1945@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-05-11 09:04:18.920 ***
alicE_unsubscribe_1945@domain.example.com/res1 out
<iq type='set' id='6a85ead3eb2b07c9e289bae96100c99d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:04:18.920 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<iq id='6a85ead3eb2b07c9e289bae96100c99d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_1945@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:04:18.920 ***
alicE_unsubscribe_1945@domain.example.com/res1 out
<iq type='set' id='28bd72fca66b85995d7ae238df17056c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:18.920 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<iq type='result' id='28bd72fca66b85995d7ae238df17056c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:18.921 ***
alicE_unsubscribe_1945@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:04:18.922 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<presence from='alicE_unsubscribe_1945@domain.example.com/res1' to='alice_unsubscribe_1945@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:18.922 ***
bOb_unsubscribe_1945@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-05-11 09:04:18.922 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='587702878be7abd9' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:18.923 ***
bOb_unsubscribe_1945@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-05-11 09:04:18.923 ***
bOb_unsubscribe_1945@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xOTQ1AG1ha3JvbGlrYQ==</auth>



*** User 2022-05-11 09:04:18.923 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:04:18.923 ***
bOb_unsubscribe_1945@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-05-11 09:04:18.924 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66bccf172640c2e2' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:04:18.924 ***
bOb_unsubscribe_1945@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-05-11 09:04:18.924 ***
bOb_unsubscribe_1945@domain.example.com/res1 out
<iq type='set' id='7c9075120e19041481a29c1b09d0fbe0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:04:18.924 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
<iq id='7c9075120e19041481a29c1b09d0fbe0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_1945@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:04:18.924 ***
bOb_unsubscribe_1945@domain.example.com/res1 out
<iq type='set' id='f048fb00b0443e81de5bdcc5d2199cda'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:18.924 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
<iq type='result' id='f048fb00b0443e81de5bdcc5d2199cda'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:04:18.924 ***
bOb_unsubscribe_1945@domain.example.com/res1 out
<presence/>



*** User 2022-05-11 09:04:18.926 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
<presence from='bOb_unsubscribe_1945@domain.example.com/res1' to='bob_unsubscribe_1945@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:18.926 ***
alicE_unsubscribe_1945@domain.example.com/res1 out
<iq type='set' id='0c1618c152b1fdab98de9eb286a86432'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_1945@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:18.934 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1945@domain.example.com' to='alicE_unsubscribe_1945@domain.example.com/res1' id='push758b13c0f9c24ccf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1945@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:18.934 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1945@domain.example.com' to='alicE_unsubscribe_1945@domain.example.com/res1' id='0c1618c152b1fdab98de9eb286a86432' type='result'/>



*** User 2022-05-11 09:04:18.935 ***
alicE_unsubscribe_1945@domain.example.com/res1 out
<iq to='alicE_unsubscribe_1945@domain.example.com' id='push758b13c0f9c24ccf' type='result'/>



*** User 2022-05-11 09:04:18.935 ***
alicE_unsubscribe_1945@domain.example.com/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1945@domain.example.com'/>



*** User 2022-05-11 09:04:18.941 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1945@domain.example.com' to='alicE_unsubscribe_1945@domain.example.com/res1' id='push63f15f59446fc374' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_1945@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:18.942 ***
alicE_unsubscribe_1945@domain.example.com/res1 out
<iq to='alicE_unsubscribe_1945@domain.example.com' id='push63f15f59446fc374' type='result'/>



*** User 2022-05-11 09:04:18.942 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
<presence from='alicE_unsubscribe_1945@domain.example.com' to='bOb_unsubscribe_1945@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-11 09:04:18.942 ***
bOb_unsubscribe_1945@domain.example.com/res1 out
<iq type='set' id='0697bca78e076bc933211c93416ec496'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_1945@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:18.944 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
<iq from='bOb_unsubscribe_1945@domain.example.com' to='bOb_unsubscribe_1945@domain.example.com/res1' id='pushab031262ce8d1c0f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1945@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:18.944 ***
bOb_unsubscribe_1945@domain.example.com/res1 out
<iq to='bOb_unsubscribe_1945@domain.example.com' id='pushab031262ce8d1c0f' type='result'/>



*** User 2022-05-11 09:04:18.944 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
<iq from='bOb_unsubscribe_1945@domain.example.com' to='bOb_unsubscribe_1945@domain.example.com/res1' id='0697bca78e076bc933211c93416ec496' type='result'/>



*** User 2022-05-11 09:04:18.944 ***
bOb_unsubscribe_1945@domain.example.com/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1945@domain.example.com'/>



*** User 2022-05-11 09:04:18.948 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1945@domain.example.com' to='alicE_unsubscribe_1945@domain.example.com/res1' id='push0ff8039a3b9ed7f9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_1945@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:18.948 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<presence from='bOb_unsubscribe_1945@domain.example.com' to='alicE_unsubscribe_1945@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-11 09:04:18.949 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<presence from='bOb_unsubscribe_1945@domain.example.com/res1' to='alice_unsubscribe_1945@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-11 09:04:18.949 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
<iq from='bOb_unsubscribe_1945@domain.example.com' to='bOb_unsubscribe_1945@domain.example.com/res1' id='push26aa66d993ff8d97' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1945@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:18.949 ***
alicE_unsubscribe_1945@domain.example.com/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1945@domain.example.com'/>



*** User 2022-05-11 09:04:18.980 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<iq from='alicE_unsubscribe_1945@domain.example.com' to='alicE_unsubscribe_1945@domain.example.com/res1' id='pushe7d5f20946c8afa2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_1945@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:18.980 ***
alicE_unsubscribe_1945@domain.example.com/res1 out
<iq to='alicE_unsubscribe_1945@domain.example.com' id='pushe7d5f20946c8afa2' type='result'/>



*** User 2022-05-11 09:04:18.980 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
<iq from='bOb_unsubscribe_1945@domain.example.com' to='bOb_unsubscribe_1945@domain.example.com/res1' id='push03001d38fbed255b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1945@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:04:18.980 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
<presence from='alicE_unsubscribe_1945@domain.example.com' to='bOb_unsubscribe_1945@domain.example.com/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-05-11 09:04:18.980 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
<presence from='bOb_unsubscribe_1945@domain.example.com/res1' to='alice_unsubscribe_1945@domain.example.com/res1' type='unavailable'/>



*** User 2022-05-11 09:04:18.980 ***
bOb_unsubscribe_1945@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:04:18.980 ***
bOb_unsubscribe_1945@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-11 09:04:18.980 ***
alicE_unsubscribe_1945@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-11 09:04:18.981 ***
alicE_unsubscribe_1945@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-11 09:04:18.993 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_524.html
*** CT 2022-05-11 09:04:18.994 *** View log from node mongooseim@localhost when finished mongooseim@localhost_2410.html



=== Ended at 2022-05-11 09:04:19
=== successfully completed test case
=== === Returned value: ok