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

=== Config value:

    [{watchdog,<0.6876.2>},
     {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@c99c1168ae9b.2024-04-23_11.31.47/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.44.29/presence_suite.unsubscribe.145795.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@c99c1168ae9b.2024-04-23_11.31.47/big_tests.tests.presence_SUITE.logs/run.2024-04-23_11.44.29/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@c99c1168ae9b.2024-04-23_11.31.47"

=== Started at 2024-04-23 11:44:31


*** CT 2024-04-23 11:44:31.513 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2557.html

*** User 2024-04-23 11:44:31.524 ***🔗
alicE_unsubscribe_2885@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-23 11:44:31.525 ***🔗
alicE_unsubscribe_2885@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6e7f82baeeb04db7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:44:31.525 ***🔗
alicE_unsubscribe_2885@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-23 11:44:31.525 ***🔗
alicE_unsubscribe_2885@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI4ODUAbWF0eWdyeXNh</auth>



*** User 2024-04-23 11:44:31.526 ***🔗
alicE_unsubscribe_2885@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:44:31.526 ***🔗
alicE_unsubscribe_2885@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-23 11:44:31.526 ***🔗
alicE_unsubscribe_2885@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='03aa78d6f6b8c90d' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2885@domain.example.com'>

*** User 2024-04-23 11:44:31.526 ***🔗
alicE_unsubscribe_2885@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-23 11:44:31.526 ***🔗
alicE_unsubscribe_2885@domain.example.com/res1 out
<iq type='set' id='f9e3affc080746845d792074ba8560b8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:44:31.527 ***🔗
alicE_unsubscribe_2885@domain.example.com/res1 in
<iq id='f9e3affc080746845d792074ba8560b8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2885@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:44:31.527 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 out
<iq type='set' id='ded297f60996f71a5a12509f48e9ac7f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:44:31.527 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2885@domain.example.com/res1' id='ded297f60996f71a5a12509f48e9ac7f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:44:31.527 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 11:44:31.528 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 in
<presence from='alice_unsubscribe_2885@domain.example.com/res1' to='alice_unsubscribe_2885@domain.example.com/res1'/>



*** User 2024-04-23 11:44:31.529 ***🔗
bOb_unsubscribe_2885@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-23 11:44:31.530 ***🔗
bOb_unsubscribe_2885@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3e6e1f556bff0e40' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 11:44:31.530 ***🔗
bOb_unsubscribe_2885@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-23 11:44:31.530 ***🔗
bOb_unsubscribe_2885@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yODg1AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 11:44:31.531 ***🔗
bOb_unsubscribe_2885@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 11:44:31.531 ***🔗
bOb_unsubscribe_2885@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-23 11:44:31.531 ***🔗
bOb_unsubscribe_2885@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4d5b8181192ab2e0' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2885@domain.example.com'>

*** User 2024-04-23 11:44:31.531 ***🔗
bOb_unsubscribe_2885@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-23 11:44:31.531 ***🔗
bOb_unsubscribe_2885@domain.example.com/res1 out
<iq type='set' id='756366b2f073bf0b286e14f126cef842'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 11:44:31.532 ***🔗
bOb_unsubscribe_2885@domain.example.com/res1 in
<iq id='756366b2f073bf0b286e14f126cef842' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2885@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 11:44:31.532 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 out
<iq type='set' id='cb532ad03d59ec18d5cb59343839e041'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:44:31.532 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2885@domain.example.com/res1' id='cb532ad03d59ec18d5cb59343839e041' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 11:44:31.532 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 11:44:31.533 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 in
<presence from='bob_unsubscribe_2885@domain.example.com/res1' to='bob_unsubscribe_2885@domain.example.com/res1'/>



*** User 2024-04-23 11:44:31.534 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 out
<iq type='set' id='c96fd2c75e3c5186f1df93a8d4e12f15'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2885@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:44:31.541 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 in
<iq from='alice_unsubscribe_2885@domain.example.com' to='alice_unsubscribe_2885@domain.example.com/res1' id='push4f57f3c0ea785282' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2885@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:44:31.541 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 in
<iq from='alice_unsubscribe_2885@domain.example.com' to='alice_unsubscribe_2885@domain.example.com/res1' id='c96fd2c75e3c5186f1df93a8d4e12f15' type='result'/>



*** User 2024-04-23 11:44:31.541 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 out
<iq to='alice_unsubscribe_2885@domain.example.com' id='push4f57f3c0ea785282' type='result'/>



*** User 2024-04-23 11:44:31.541 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2885@domain.example.com'/>



*** User 2024-04-23 11:44:31.547 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 in
<iq from='alice_unsubscribe_2885@domain.example.com' to='alice_unsubscribe_2885@domain.example.com/res1' id='pusha6ffbb8bbb700387' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2885@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:44:31.547 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 out
<iq to='alice_unsubscribe_2885@domain.example.com' id='pusha6ffbb8bbb700387' type='result'/>



*** User 2024-04-23 11:44:31.547 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 in
<presence from='alice_unsubscribe_2885@domain.example.com' to='bob_unsubscribe_2885@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-23 11:44:31.547 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 out
<iq type='set' id='4e98cf6dfd73c3046eea104954e488ed'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2885@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:44:31.550 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 in
<iq from='bob_unsubscribe_2885@domain.example.com' to='bob_unsubscribe_2885@domain.example.com/res1' id='pushb159bf4a864173b8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2885@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:44:31.551 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 out
<iq to='bob_unsubscribe_2885@domain.example.com' id='pushb159bf4a864173b8' type='result'/>



*** User 2024-04-23 11:44:31.551 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 in
<iq from='bob_unsubscribe_2885@domain.example.com' to='bob_unsubscribe_2885@domain.example.com/res1' id='4e98cf6dfd73c3046eea104954e488ed' type='result'/>



*** User 2024-04-23 11:44:31.551 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2885@domain.example.com'/>



*** User 2024-04-23 11:44:31.556 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 in
<iq from='alice_unsubscribe_2885@domain.example.com' to='alice_unsubscribe_2885@domain.example.com/res1' id='push476dd5ac49bb9cae' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2885@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:44:31.556 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 in
<presence from='bob_unsubscribe_2885@domain.example.com' to='alice_unsubscribe_2885@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-23 11:44:31.556 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 in
<presence from='bob_unsubscribe_2885@domain.example.com/res1' to='alice_unsubscribe_2885@domain.example.com/res1'/>



*** User 2024-04-23 11:44:31.556 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 in
<iq from='bob_unsubscribe_2885@domain.example.com' to='bob_unsubscribe_2885@domain.example.com/res1' id='pusha0c11f3a345e589d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2885@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:44:31.556 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2885@domain.example.com'/>



*** User 2024-04-23 11:44:31.589 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 in
<iq from='alice_unsubscribe_2885@domain.example.com' to='alice_unsubscribe_2885@domain.example.com/res1' id='pushb085f6235155825a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2885@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:44:31.590 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 out
<iq to='alice_unsubscribe_2885@domain.example.com' id='pushb085f6235155825a' type='result'/>



*** User 2024-04-23 11:44:31.590 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 in
<iq from='bob_unsubscribe_2885@domain.example.com' to='bob_unsubscribe_2885@domain.example.com/res1' id='pushcc98d95ea94012f6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2885@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 11:44:31.590 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 in
<presence from='alice_unsubscribe_2885@domain.example.com' to='bob_unsubscribe_2885@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-23 11:44:31.590 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 in
<presence from='bob_unsubscribe_2885@domain.example.com/res1' to='alice_unsubscribe_2885@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-23 11:44:31.590 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 11:44:31.590 ***🔗
bob_unsubscribe_2885@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-23 11:44:31.590 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 11:44:31.591 ***🔗
alice_unsubscribe_2885@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-23 11:44:31.600 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2557.html



=== Ended at 2024-04-23 11:44:31
=== successfully completed test case
=== === Returned value: ok