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

=== Config value:

    [{watchdog,<0.68288.0>},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.presence_SUITE.logs/run.2023-11-14_11.54.07/presence_suite.unsubscribe.134275.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@a2fc54846062.2023-11-14_11.38.11/big_tests.tests.presence_SUITE.logs/run.2023-11-14_11.54.07/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@a2fc54846062.2023-11-14_11.38.11"

=== Started at 2023-11-14 11:54:08


*** CT 2023-11-14 11:54:08.924 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2509.html

*** User 2023-11-14 11:54:08.934 ***🔗
alicE_unsubscribe_3187@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 2023-11-14 11:54:08.934 ***🔗
alicE_unsubscribe_3187@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='976f277a1cf75cb1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-14 11:54:08.935 ***🔗
alicE_unsubscribe_3187@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 2023-11-14 11:54:08.935 ***🔗
alicE_unsubscribe_3187@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzMxODcAbWF0eWdyeXNh</auth>



*** User 2023-11-14 11:54:08.936 ***🔗
alicE_unsubscribe_3187@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-14 11:54:08.936 ***🔗
alicE_unsubscribe_3187@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 2023-11-14 11:54:08.936 ***🔗
alicE_unsubscribe_3187@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b5a2518a49f9a869' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_3187@domain.example.com'>

*** User 2023-11-14 11:54:08.936 ***🔗
alicE_unsubscribe_3187@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 2023-11-14 11:54:08.936 ***🔗
alicE_unsubscribe_3187@domain.example.com/res1 out
<iq type='set' id='4696200da0c945a6f2d15c4efbd22cb6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:54:08.937 ***🔗
alicE_unsubscribe_3187@domain.example.com/res1 in
<iq id='4696200da0c945a6f2d15c4efbd22cb6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_3187@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-14 11:54:08.937 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 out
<iq type='set' id='b1541ad8a50f5eaae8ba776dd3a49e4c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:54:08.939 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_3187@domain.example.com/res1' id='b1541ad8a50f5eaae8ba776dd3a49e4c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:54:08.939 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:54:08.940 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 in
<presence from='alice_unsubscribe_3187@domain.example.com/res1' to='alice_unsubscribe_3187@domain.example.com/res1'/>



*** User 2023-11-14 11:54:08.941 ***🔗
bOb_unsubscribe_3187@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 2023-11-14 11:54:08.941 ***🔗
bOb_unsubscribe_3187@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f78bcf2a80a786c2' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-14 11:54:08.941 ***🔗
bOb_unsubscribe_3187@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 2023-11-14 11:54:08.941 ***🔗
bOb_unsubscribe_3187@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8zMTg3AG1ha3JvbGlrYQ==</auth>



*** User 2023-11-14 11:54:08.942 ***🔗
bOb_unsubscribe_3187@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-14 11:54:08.942 ***🔗
bOb_unsubscribe_3187@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 2023-11-14 11:54:08.942 ***🔗
bOb_unsubscribe_3187@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75698ee641f1dd2a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_3187@domain.example.com'>

*** User 2023-11-14 11:54:08.943 ***🔗
bOb_unsubscribe_3187@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 2023-11-14 11:54:08.943 ***🔗
bOb_unsubscribe_3187@domain.example.com/res1 out
<iq type='set' id='38cbb35eed4464c713bb912032e0a510'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-14 11:54:08.943 ***🔗
bOb_unsubscribe_3187@domain.example.com/res1 in
<iq id='38cbb35eed4464c713bb912032e0a510' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_3187@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-14 11:54:08.943 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 out
<iq type='set' id='fe87891369282aec709998c605405b2d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:54:08.943 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_3187@domain.example.com/res1' id='fe87891369282aec709998c605405b2d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-14 11:54:08.943 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 out
<presence/>



*** User 2023-11-14 11:54:08.945 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 in
<presence from='bob_unsubscribe_3187@domain.example.com/res1' to='bob_unsubscribe_3187@domain.example.com/res1'/>



*** User 2023-11-14 11:54:08.945 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 out
<iq type='set' id='2208d3d033355de2cb633c24979eed65'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_3187@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:54:08.951 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 in
<iq from='alice_unsubscribe_3187@domain.example.com' to='alice_unsubscribe_3187@domain.example.com/res1' id='pushd9cdc77a1062b9e6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_3187@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:54:08.951 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 in
<iq from='alice_unsubscribe_3187@domain.example.com' to='alice_unsubscribe_3187@domain.example.com/res1' id='2208d3d033355de2cb633c24979eed65' type='result'/>



*** User 2023-11-14 11:54:08.951 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 out
<iq to='alice_unsubscribe_3187@domain.example.com' id='pushd9cdc77a1062b9e6' type='result'/>



*** User 2023-11-14 11:54:08.951 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_3187@domain.example.com'/>



*** User 2023-11-14 11:54:08.971 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 in
<iq from='alice_unsubscribe_3187@domain.example.com' to='alice_unsubscribe_3187@domain.example.com/res1' id='push92923565a922f7e2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_3187@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:54:08.971 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 out
<iq to='alice_unsubscribe_3187@domain.example.com' id='push92923565a922f7e2' type='result'/>



*** User 2023-11-14 11:54:08.971 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 in
<presence from='alice_unsubscribe_3187@domain.example.com' to='bob_unsubscribe_3187@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-14 11:54:08.971 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 out
<iq type='set' id='e2d134ee8d0310a49ff175c2e755133b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_3187@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:54:08.974 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 in
<iq from='bob_unsubscribe_3187@domain.example.com' to='bob_unsubscribe_3187@domain.example.com/res1' id='push2bdaff29f82ffb76' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_3187@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:54:08.975 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 out
<iq to='bob_unsubscribe_3187@domain.example.com' id='push2bdaff29f82ffb76' type='result'/>



*** User 2023-11-14 11:54:08.975 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 in
<iq from='bob_unsubscribe_3187@domain.example.com' to='bob_unsubscribe_3187@domain.example.com/res1' id='e2d134ee8d0310a49ff175c2e755133b' type='result'/>



*** User 2023-11-14 11:54:08.975 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_3187@domain.example.com'/>



*** User 2023-11-14 11:54:08.979 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 in
<iq from='alice_unsubscribe_3187@domain.example.com' to='alice_unsubscribe_3187@domain.example.com/res1' id='pushc717c5eb08b19a31' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_3187@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:54:08.979 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 in
<presence from='bob_unsubscribe_3187@domain.example.com' to='alice_unsubscribe_3187@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-14 11:54:08.979 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 in
<presence from='bob_unsubscribe_3187@domain.example.com/res1' to='alice_unsubscribe_3187@domain.example.com/res1'/>



*** User 2023-11-14 11:54:08.979 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 in
<iq from='bob_unsubscribe_3187@domain.example.com' to='bob_unsubscribe_3187@domain.example.com/res1' id='push0ef36faf54527b68' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_3187@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:54:08.979 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_3187@domain.example.com'/>



*** User 2023-11-14 11:54:08.984 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 in
<iq from='alice_unsubscribe_3187@domain.example.com' to='alice_unsubscribe_3187@domain.example.com/res1' id='pushbe3e6a0f169ee7d0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_3187@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:54:08.984 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 out
<iq to='alice_unsubscribe_3187@domain.example.com' id='pushbe3e6a0f169ee7d0' type='result'/>



*** User 2023-11-14 11:54:08.984 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 in
<iq from='bob_unsubscribe_3187@domain.example.com' to='bob_unsubscribe_3187@domain.example.com/res1' id='pusheb4e4decff251526' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_3187@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-14 11:54:08.984 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 in
<presence from='alice_unsubscribe_3187@domain.example.com' to='bob_unsubscribe_3187@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-14 11:54:08.984 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 in
<presence from='bob_unsubscribe_3187@domain.example.com/res1' to='alice_unsubscribe_3187@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-14 11:54:08.984 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-14 11:54:08.985 ***🔗
bob_unsubscribe_3187@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-14 11:54:08.985 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-14 11:54:08.985 ***🔗
alice_unsubscribe_3187@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-14 11:54:08.993 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2509.html



=== Ended at 2023-11-14 11:54:09
=== successfully completed test case
=== === Returned value: ok