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

=== Config value:

    [{watchdog,<0.6265.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@a458c4eb991a.2024-03-07_11.00.02/big_tests.tests.presence_SUITE.logs/run.2024-03-07_11.12.53/presence_suite.unsubscribe.221058.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@a458c4eb991a.2024-03-07_11.00.02/big_tests.tests.presence_SUITE.logs/run.2024-03-07_11.12.53/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@a458c4eb991a.2024-03-07_11.00.02"

=== Started at 2024-03-07 11:12:55


*** CT 2024-03-07 11:12:55.715 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2544.html

*** User 2024-03-07 11:12:55.724 ***🔗
alicE_unsubscribe_2852@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-03-07 11:12:55.725 ***🔗
alicE_unsubscribe_2852@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='227acea23a984008' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-07 11:12:55.725 ***🔗
alicE_unsubscribe_2852@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-03-07 11:12:55.725 ***🔗
alicE_unsubscribe_2852@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI4NTIAbWF0eWdyeXNh</auth>



*** User 2024-03-07 11:12:55.726 ***🔗
alicE_unsubscribe_2852@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-07 11:12:55.726 ***🔗
alicE_unsubscribe_2852@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-03-07 11:12:55.726 ***🔗
alicE_unsubscribe_2852@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bed28710f53e1e94' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2852@domain.example.com'>

*** User 2024-03-07 11:12:55.726 ***🔗
alicE_unsubscribe_2852@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-03-07 11:12:55.727 ***🔗
alicE_unsubscribe_2852@domain.example.com/res1 out
<iq type='set' id='59ba47a8b67f3f084b0a78981775d676'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-07 11:12:55.727 ***🔗
alicE_unsubscribe_2852@domain.example.com/res1 in
<iq id='59ba47a8b67f3f084b0a78981775d676' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2852@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-07 11:12:55.727 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 out
<iq type='set' id='d44a25237ff7d1fc5b33ea6ddaadff99'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:55.727 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2852@domain.example.com/res1' id='d44a25237ff7d1fc5b33ea6ddaadff99' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:55.728 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 out
<presence/>



*** User 2024-03-07 11:12:55.729 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 in
<presence from='alice_unsubscribe_2852@domain.example.com/res1' to='alice_unsubscribe_2852@domain.example.com/res1'/>



*** User 2024-03-07 11:12:55.729 ***🔗
bOb_unsubscribe_2852@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-03-07 11:12:55.730 ***🔗
bOb_unsubscribe_2852@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='68636ac66343a43f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-07 11:12:55.730 ***🔗
bOb_unsubscribe_2852@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-03-07 11:12:55.730 ***🔗
bOb_unsubscribe_2852@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yODUyAG1ha3JvbGlrYQ==</auth>



*** User 2024-03-07 11:12:55.731 ***🔗
bOb_unsubscribe_2852@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-07 11:12:55.731 ***🔗
bOb_unsubscribe_2852@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-03-07 11:12:55.731 ***🔗
bOb_unsubscribe_2852@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0895b3dda8120136' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2852@domain.example.com'>

*** User 2024-03-07 11:12:55.731 ***🔗
bOb_unsubscribe_2852@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-03-07 11:12:55.731 ***🔗
bOb_unsubscribe_2852@domain.example.com/res1 out
<iq type='set' id='5213137c0ca3ba6628d3517e5f758674'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-07 11:12:55.732 ***🔗
bOb_unsubscribe_2852@domain.example.com/res1 in
<iq id='5213137c0ca3ba6628d3517e5f758674' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2852@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-07 11:12:55.732 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 out
<iq type='set' id='d41aa5c59bf1544455ab9b9cfbfb8559'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:55.732 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2852@domain.example.com/res1' id='d41aa5c59bf1544455ab9b9cfbfb8559' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-07 11:12:55.732 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 out
<presence/>



*** User 2024-03-07 11:12:55.733 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 in
<presence from='bob_unsubscribe_2852@domain.example.com/res1' to='bob_unsubscribe_2852@domain.example.com/res1'/>



*** User 2024-03-07 11:12:55.733 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 out
<iq type='set' id='4c05e4b4c426457a13467f494f0ad5a7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2852@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-07 11:12:55.742 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 in
<iq from='alice_unsubscribe_2852@domain.example.com' to='alice_unsubscribe_2852@domain.example.com/res1' id='pushb7785d2824c5b10f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2852@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-07 11:12:55.742 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 in
<iq from='alice_unsubscribe_2852@domain.example.com' to='alice_unsubscribe_2852@domain.example.com/res1' id='4c05e4b4c426457a13467f494f0ad5a7' type='result'/>



*** User 2024-03-07 11:12:55.742 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 out
<iq to='alice_unsubscribe_2852@domain.example.com' id='pushb7785d2824c5b10f' type='result'/>



*** User 2024-03-07 11:12:55.742 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2852@domain.example.com'/>



*** User 2024-03-07 11:12:55.767 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 in
<iq from='alice_unsubscribe_2852@domain.example.com' to='alice_unsubscribe_2852@domain.example.com/res1' id='pushd7fe173731c7e142' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2852@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-07 11:12:55.767 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 out
<iq to='alice_unsubscribe_2852@domain.example.com' id='pushd7fe173731c7e142' type='result'/>



*** User 2024-03-07 11:12:55.767 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 in
<presence from='alice_unsubscribe_2852@domain.example.com' to='bob_unsubscribe_2852@domain.example.com/res1' type='subscribe'/>



*** User 2024-03-07 11:12:55.767 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 out
<iq type='set' id='5f6ec1064d1ca3ff16558b45a56107c4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2852@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-07 11:12:55.771 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 in
<iq from='bob_unsubscribe_2852@domain.example.com' to='bob_unsubscribe_2852@domain.example.com/res1' id='pushb423299050137bab' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2852@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-07 11:12:55.772 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 out
<iq to='bob_unsubscribe_2852@domain.example.com' id='pushb423299050137bab' type='result'/>



*** User 2024-03-07 11:12:55.772 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 in
<iq from='bob_unsubscribe_2852@domain.example.com' to='bob_unsubscribe_2852@domain.example.com/res1' id='5f6ec1064d1ca3ff16558b45a56107c4' type='result'/>



*** User 2024-03-07 11:12:55.772 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2852@domain.example.com'/>



*** User 2024-03-07 11:12:55.775 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 in
<iq from='alice_unsubscribe_2852@domain.example.com' to='alice_unsubscribe_2852@domain.example.com/res1' id='pushb9846808708abdb7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2852@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-07 11:12:55.776 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 in
<presence from='bob_unsubscribe_2852@domain.example.com' to='alice_unsubscribe_2852@domain.example.com/res1' type='subscribed'/>



*** User 2024-03-07 11:12:55.776 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 in
<presence from='bob_unsubscribe_2852@domain.example.com/res1' to='alice_unsubscribe_2852@domain.example.com/res1'/>



*** User 2024-03-07 11:12:55.776 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 in
<iq from='bob_unsubscribe_2852@domain.example.com' to='bob_unsubscribe_2852@domain.example.com/res1' id='push8a20a60c0c2115f1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2852@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-07 11:12:55.776 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2852@domain.example.com'/>



*** User 2024-03-07 11:12:55.782 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 in
<iq from='alice_unsubscribe_2852@domain.example.com' to='alice_unsubscribe_2852@domain.example.com/res1' id='push456b798cde22567f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2852@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-07 11:12:55.783 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 out
<iq to='alice_unsubscribe_2852@domain.example.com' id='push456b798cde22567f' type='result'/>



*** User 2024-03-07 11:12:55.783 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 in
<iq from='bob_unsubscribe_2852@domain.example.com' to='bob_unsubscribe_2852@domain.example.com/res1' id='push7f0e8ba82b29efdc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2852@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-07 11:12:55.783 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 in
<presence from='alice_unsubscribe_2852@domain.example.com' to='bob_unsubscribe_2852@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-03-07 11:12:55.783 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 in
<presence from='bob_unsubscribe_2852@domain.example.com/res1' to='alice_unsubscribe_2852@domain.example.com/res1' type='unavailable'/>



*** User 2024-03-07 11:12:55.783 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-07 11:12:55.783 ***🔗
bob_unsubscribe_2852@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-07 11:12:55.783 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-07 11:12:55.783 ***🔗
alice_unsubscribe_2852@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-07 11:12:55.792 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2544.html



=== Ended at 2024-03-07 11:12:55
=== successfully completed test case
=== === Returned value: ok