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

=== Config value:

    [{watchdog,<0.71912.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f3caad7d6bd0.2024-04-16_10.55.17/big_tests.tests.presence_SUITE.logs/run.2024-04-16_11.07.33/presence_suite.unsubscribe.64261.html"},
     {tc_group_properties,[{name,subscribe_group},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@f3caad7d6bd0.2024-04-16_10.55.17/big_tests.tests.presence_SUITE.logs/run.2024-04-16_11.07.33/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@f3caad7d6bd0.2024-04-16_10.55.17"

=== Started at 2024-04-16 11:07:35


*** CT 2024-04-16 11:07:35.133 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2289.html

*** User 2024-04-16 11:07:35.147 ***🔗
alicE_unsubscribe_2735@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 2024-04-16 11:07:35.147 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='97cfc611acbd3334' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:07:35.147 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 11:07:35.147 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI3MzUAbWF0eWdyeXNh</auth>



*** User 2024-04-16 11:07:35.165 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:07:35.165 ***🔗
alicE_unsubscribe_2735@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 2024-04-16 11:07:35.166 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0b74d78af05e78b7' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2735@domain.example.com'>

*** User 2024-04-16 11:07:35.166 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 11:07:35.166 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 out
<iq type='set' id='9626766d2b7beda40140abe4e45e3427'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:07:35.166 ***🔗
alicE_unsubscribe_2735@domain.example.com/res1 in
<iq id='9626766d2b7beda40140abe4e45e3427' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2735@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:07:35.166 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<iq type='set' id='6b0237d0283887ec49b3e1536627098c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:07:35.188 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' id='6b0237d0283887ec49b3e1536627098c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:07:35.188 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 11:07:35.191 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<presence from='alice_unsubscribe_2735@domain.example.com/res1' to='alice_unsubscribe_2735@domain.example.com/res1'/>



*** User 2024-04-16 11:07:35.191 ***🔗
bOb_unsubscribe_2735@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 2024-04-16 11:07:35.192 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a902e8cd8722ba21' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:07:35.192 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 11:07:35.192 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNzM1AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-16 11:07:35.193 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:07:35.193 ***🔗
bOb_unsubscribe_2735@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 2024-04-16 11:07:35.193 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3c615eb232051eda' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2735@domain.example.com'>

*** User 2024-04-16 11:07:35.194 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-16 11:07:35.194 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 out
<iq type='set' id='624249842985b56ef0b8f51791038f63'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:07:35.194 ***🔗
bOb_unsubscribe_2735@domain.example.com/res1 in
<iq id='624249842985b56ef0b8f51791038f63' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2735@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:07:35.194 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 out
<iq type='set' id='7e02f91b341c8d58cea4a9524f39120d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:07:35.195 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' id='7e02f91b341c8d58cea4a9524f39120d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:07:35.195 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 11:07:35.197 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<presence from='bob_unsubscribe_2735@domain.example.com/res1' to='bob_unsubscribe_2735@domain.example.com/res1'/>



*** User 2024-04-16 11:07:35.197 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<iq type='set' id='2e00d8a98f23468869b95a1bf05f4fad'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2735@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:07:35.218 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<iq from='alice_unsubscribe_2735@domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' id='push35e62efa2654ff2e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2735@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:07:35.218 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<iq from='alice_unsubscribe_2735@domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' id='2e00d8a98f23468869b95a1bf05f4fad' type='result'/>



*** User 2024-04-16 11:07:35.218 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<iq to='alice_unsubscribe_2735@domain.example.com' id='push35e62efa2654ff2e' type='result'/>



*** User 2024-04-16 11:07:35.218 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2735@domain.example.com'/>



*** User 2024-04-16 11:07:35.224 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<iq from='alice_unsubscribe_2735@domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' id='push1ecae67681f425ad' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2735@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:07:35.224 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<iq to='alice_unsubscribe_2735@domain.example.com' id='push1ecae67681f425ad' type='result'/>



*** User 2024-04-16 11:07:35.224 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<presence from='alice_unsubscribe_2735@domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-16 11:07:35.224 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 out
<iq type='set' id='44dae81e6cbb3dc09cebfaf7c71b0cd8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2735@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:07:35.230 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<iq from='bob_unsubscribe_2735@domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' id='push4e60a4be8e5c2ce0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2735@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:07:35.231 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 out
<iq to='bob_unsubscribe_2735@domain.example.com' id='push4e60a4be8e5c2ce0' type='result'/>



*** User 2024-04-16 11:07:35.231 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<iq from='bob_unsubscribe_2735@domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' id='44dae81e6cbb3dc09cebfaf7c71b0cd8' type='result'/>



*** User 2024-04-16 11:07:35.231 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2735@domain.example.com'/>



*** User 2024-04-16 11:07:35.237 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<iq from='alice_unsubscribe_2735@domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' id='pushf0b6291f9762888a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2735@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:07:35.237 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<presence from='bob_unsubscribe_2735@domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-16 11:07:35.237 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<presence from='bob_unsubscribe_2735@domain.example.com/res1' to='alice_unsubscribe_2735@domain.example.com/res1'/>



*** User 2024-04-16 11:07:35.237 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<iq from='bob_unsubscribe_2735@domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' id='pusha94016ef740872dd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2735@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:07:35.237 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2735@domain.example.com'/>



*** User 2024-04-16 11:07:35.277 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<iq from='alice_unsubscribe_2735@domain.example.com' to='alice_unsubscribe_2735@domain.example.com/res1' id='pusha0d04b8009e18133' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2735@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:07:35.277 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
<iq to='alice_unsubscribe_2735@domain.example.com' id='pusha0d04b8009e18133' type='result'/>



*** User 2024-04-16 11:07:35.277 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<iq from='bob_unsubscribe_2735@domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' id='pushce6937c6435f0fb1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2735@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:07:35.277 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
<presence from='alice_unsubscribe_2735@domain.example.com' to='bob_unsubscribe_2735@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-16 11:07:35.277 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
<presence from='bob_unsubscribe_2735@domain.example.com/res1' to='alice_unsubscribe_2735@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-16 11:07:35.278 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 11:07:35.278 ***🔗
bob_unsubscribe_2735@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-16 11:07:35.278 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 11:07:35.279 ***🔗
alice_unsubscribe_2735@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-16 11:07:35.287 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2289.html



=== Ended at 2024-04-16 11:07:35
=== successfully completed test case
=== === Returned value: ok