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

=== Config value:

    [{watchdog,<0.72037.0>},
     {preset,"odbc_mssql_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@2ee716155f46.2024-04-16_11.59.06/big_tests.tests.presence_SUITE.logs/run.2024-04-16_12.13.18/presence_suite.remove_unsubscribe.175619.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@2ee716155f46.2024-04-16_11.59.06/big_tests.tests.presence_SUITE.logs/run.2024-04-16_12.13.18/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@2ee716155f46.2024-04-16_11.59.06"

=== Started at 2024-04-16 12:13:20


*** CT 2024-04-16 12:13:20.767 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2574.html

*** User 2024-04-16 12:13:20.782 ***🔗
alicE_remove_unsubscribe_2934@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 12:13:20.783 ***🔗
alicE_remove_unsubscribe_2934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f00742cafca619c2' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:13:20.783 ***🔗
alicE_remove_unsubscribe_2934@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 12:13:20.783 ***🔗
alicE_remove_unsubscribe_2934@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yOTM0AG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 12:13:20.784 ***🔗
alicE_remove_unsubscribe_2934@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:13:20.784 ***🔗
alicE_remove_unsubscribe_2934@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 12:13:20.784 ***🔗
alicE_remove_unsubscribe_2934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a085c362e5fd00cd' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2934@domain.example.com'>

*** User 2024-04-16 12:13:20.784 ***🔗
alicE_remove_unsubscribe_2934@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 12:13:20.784 ***🔗
alicE_remove_unsubscribe_2934@domain.example.com/res1 out
<iq type='set' id='6054eeeccfbcc0ee4327e74302372a4f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:13:20.784 ***🔗
alicE_remove_unsubscribe_2934@domain.example.com/res1 in
<iq id='6054eeeccfbcc0ee4327e74302372a4f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_2934@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:13:20.784 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 out
<iq type='set' id='5c2b848f11f4a1ae903c6bbd19e21021'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:13:20.785 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2934@domain.example.com/res1' id='5c2b848f11f4a1ae903c6bbd19e21021' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:13:20.785 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 12:13:20.786 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2934@domain.example.com/res1' to='alice_remove_unsubscribe_2934@domain.example.com/res1'/>



*** User 2024-04-16 12:13:20.786 ***🔗
bOb_remove_unsubscribe_2934@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 12:13:20.786 ***🔗
bOb_remove_unsubscribe_2934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2f0a5106854d611' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 12:13:20.786 ***🔗
bOb_remove_unsubscribe_2934@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 12:13:20.787 ***🔗
bOb_remove_unsubscribe_2934@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjkzNABtYWtyb2xpa2E=</auth>



*** User 2024-04-16 12:13:20.787 ***🔗
bOb_remove_unsubscribe_2934@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 12:13:20.787 ***🔗
bOb_remove_unsubscribe_2934@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 12:13:20.787 ***🔗
bOb_remove_unsubscribe_2934@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2c763c97bfc515d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2934@domain.example.com'>

*** User 2024-04-16 12:13:20.788 ***🔗
bOb_remove_unsubscribe_2934@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 12:13:20.788 ***🔗
bOb_remove_unsubscribe_2934@domain.example.com/res1 out
<iq type='set' id='89b65b79bda8690857f2a1d9787d23e6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 12:13:20.788 ***🔗
bOb_remove_unsubscribe_2934@domain.example.com/res1 in
<iq id='89b65b79bda8690857f2a1d9787d23e6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_2934@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 12:13:20.788 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 out
<iq type='set' id='2aedd3152fe5b768d8d4debac99f927f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:13:20.788 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2934@domain.example.com/res1' id='2aedd3152fe5b768d8d4debac99f927f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 12:13:20.788 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 12:13:20.789 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2934@domain.example.com/res1' to='bob_remove_unsubscribe_2934@domain.example.com/res1'/>



*** User 2024-04-16 12:13:20.789 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 out
<iq type='set' id='25fa09920a639c67de317d26aa2cc09b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2934@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:13:20.800 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2934@domain.example.com' to='alice_remove_unsubscribe_2934@domain.example.com/res1' id='pushd3401f2d703e7384' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2934@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:13:20.800 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2934@domain.example.com' to='alice_remove_unsubscribe_2934@domain.example.com/res1' id='25fa09920a639c67de317d26aa2cc09b' type='result'/>



*** User 2024-04-16 12:13:20.800 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2934@domain.example.com' id='pushd3401f2d703e7384' type='result'/>



*** User 2024-04-16 12:13:20.800 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2934@domain.example.com'/>



*** User 2024-04-16 12:13:20.807 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2934@domain.example.com' to='alice_remove_unsubscribe_2934@domain.example.com/res1' id='pushdea9322a84ce4171' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_2934@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:13:20.807 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2934@domain.example.com' id='pushdea9322a84ce4171' type='result'/>



*** User 2024-04-16 12:13:20.807 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2934@domain.example.com' to='bob_remove_unsubscribe_2934@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-16 12:13:20.808 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 out
<iq type='set' id='0aa1aef0f1cd4526ec20b5dc5d0830d0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_2934@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:13:20.812 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2934@domain.example.com' to='bob_remove_unsubscribe_2934@domain.example.com/res1' id='pusha25da66c06c0b5e9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2934@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:13:20.812 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2934@domain.example.com' id='pusha25da66c06c0b5e9' type='result'/>



*** User 2024-04-16 12:13:20.812 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2934@domain.example.com' to='bob_remove_unsubscribe_2934@domain.example.com/res1' id='0aa1aef0f1cd4526ec20b5dc5d0830d0' type='result'/>



*** User 2024-04-16 12:13:20.812 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2934@domain.example.com'/>



*** User 2024-04-16 12:13:20.857 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2934@domain.example.com' to='alice_remove_unsubscribe_2934@domain.example.com/res1' id='pushd03fd3cb0ea7ba00' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2934@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:13:20.857 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2934@domain.example.com' to='alice_remove_unsubscribe_2934@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-16 12:13:20.857 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2934@domain.example.com/res1' to='alice_remove_unsubscribe_2934@domain.example.com/res1'/>



*** User 2024-04-16 12:13:20.857 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2934@domain.example.com' to='bob_remove_unsubscribe_2934@domain.example.com/res1' id='push68ea2fa8ea14a60e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2934@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:13:20.857 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 out
<iq type='set' id='1baf231fefd06f4efb7cc7c49f6ae20b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2934@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-16 12:13:20.859 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2934@domain.example.com' to='alice_remove_unsubscribe_2934@domain.example.com/res1' id='pushd2dd16ea82651c9e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2934@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-16 12:13:20.866 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2934@domain.example.com/res1' to='alice_remove_unsubscribe_2934@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-16 12:13:20.866 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2934@domain.example.com' to='alice_remove_unsubscribe_2934@domain.example.com/res1' id='1baf231fefd06f4efb7cc7c49f6ae20b' type='result'/>



*** User 2024-04-16 12:13:20.866 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2934@domain.example.com' to='bob_remove_unsubscribe_2934@domain.example.com/res1' id='push7c8487d98b2aefeb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2934@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 12:13:20.866 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2934@domain.example.com' to='bob_remove_unsubscribe_2934@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-16 12:13:20.866 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 12:13:20.866 ***🔗
bob_remove_unsubscribe_2934@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-16 12:13:20.866 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 12:13:20.867 ***🔗
alice_remove_unsubscribe_2934@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-16 12:13:20.870 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2574.html



=== Ended at 2024-04-16 12:13:20
=== successfully completed test case
=== === Returned value: ok