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

=== Config value:

    [{watchdog,<0.68359.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.45/presence_suite.remove_unsubscribe.89220.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.45/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@9f12fc69b406.2023-11-17_15.10.18"

=== Started at 2023-11-17 15:22:47


*** CT 2023-11-17 15:22:47.383 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2637.html

*** User 2023-11-17 15:22:47.402 ***🔗
alicE_remove_unsubscribe_2612@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-17 15:22:47.403 ***🔗
alicE_remove_unsubscribe_2612@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b011350cdd8eb77' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:22:47.403 ***🔗
alicE_remove_unsubscribe_2612@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-17 15:22:47.403 ***🔗
alicE_remove_unsubscribe_2612@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yNjEyAG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:22:47.404 ***🔗
alicE_remove_unsubscribe_2612@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:22:47.404 ***🔗
alicE_remove_unsubscribe_2612@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-17 15:22:47.404 ***🔗
alicE_remove_unsubscribe_2612@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d1194b7ca20c4d98' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2612@domain.example.com'>

*** User 2023-11-17 15:22:47.404 ***🔗
alicE_remove_unsubscribe_2612@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-17 15:22:47.404 ***🔗
alicE_remove_unsubscribe_2612@domain.example.com/res1 out
<iq type='set' id='9988bb32382df536c7a46d711a9a318c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:47.404 ***🔗
alicE_remove_unsubscribe_2612@domain.example.com/res1 in
<iq id='9988bb32382df536c7a46d711a9a318c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_2612@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:47.404 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 out
<iq type='set' id='d2e209902447aefd11aaf29d4186507c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:47.405 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2612@domain.example.com/res1' id='d2e209902447aefd11aaf29d4186507c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:47.405 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:22:47.406 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2612@domain.example.com/res1' to='alice_remove_unsubscribe_2612@domain.example.com/res1'/>



*** User 2023-11-17 15:22:47.406 ***🔗
bOb_remove_unsubscribe_2612@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-17 15:22:47.406 ***🔗
bOb_remove_unsubscribe_2612@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e1cbdf0958d4a585' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:22:47.406 ***🔗
bOb_remove_unsubscribe_2612@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-17 15:22:47.406 ***🔗
bOb_remove_unsubscribe_2612@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjYxMgBtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:22:47.407 ***🔗
bOb_remove_unsubscribe_2612@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:22:47.407 ***🔗
bOb_remove_unsubscribe_2612@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-17 15:22:47.407 ***🔗
bOb_remove_unsubscribe_2612@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='710e9ff1b3d9a1c8' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2612@domain.example.com'>

*** User 2023-11-17 15:22:47.408 ***🔗
bOb_remove_unsubscribe_2612@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-17 15:22:47.408 ***🔗
bOb_remove_unsubscribe_2612@domain.example.com/res1 out
<iq type='set' id='4eb580bdd1cfd0e8011bbc62e3962cea'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:47.408 ***🔗
bOb_remove_unsubscribe_2612@domain.example.com/res1 in
<iq id='4eb580bdd1cfd0e8011bbc62e3962cea' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_2612@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:47.408 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 out
<iq type='set' id='315c6b36c316cff20c542a2b922e339d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:47.408 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2612@domain.example.com/res1' id='315c6b36c316cff20c542a2b922e339d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:47.408 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 out
<presence/>



*** User 2023-11-17 15:22:47.409 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2612@domain.example.com/res1' to='bob_remove_unsubscribe_2612@domain.example.com/res1'/>



*** User 2023-11-17 15:22:47.409 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 out
<iq type='set' id='9e56a9b87aa0de1a7f400bcbc77e29d4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2612@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.421 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2612@domain.example.com' to='alice_remove_unsubscribe_2612@domain.example.com/res1' id='pushbbcc4159bc4cd5f8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2612@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.421 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2612@domain.example.com' to='alice_remove_unsubscribe_2612@domain.example.com/res1' id='9e56a9b87aa0de1a7f400bcbc77e29d4' type='result'/>



*** User 2023-11-17 15:22:47.421 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2612@domain.example.com' id='pushbbcc4159bc4cd5f8' type='result'/>



*** User 2023-11-17 15:22:47.421 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2612@domain.example.com'/>



*** User 2023-11-17 15:22:47.426 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2612@domain.example.com' to='alice_remove_unsubscribe_2612@domain.example.com/res1' id='push0fe47dd5a8c7c6b1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2612@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.426 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2612@domain.example.com' id='push0fe47dd5a8c7c6b1' type='result'/>



*** User 2023-11-17 15:22:47.426 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2612@domain.example.com' to='bob_remove_unsubscribe_2612@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-17 15:22:47.426 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 out
<iq type='set' id='0a2242b387c68e2c1931ce11a71e4d81'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_2612@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.444 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2612@domain.example.com' to='bob_remove_unsubscribe_2612@domain.example.com/res1' id='pushf605072486ba393a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2612@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.444 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2612@domain.example.com' id='pushf605072486ba393a' type='result'/>



*** User 2023-11-17 15:22:47.444 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2612@domain.example.com' to='bob_remove_unsubscribe_2612@domain.example.com/res1' id='0a2242b387c68e2c1931ce11a71e4d81' type='result'/>



*** User 2023-11-17 15:22:47.444 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2612@domain.example.com'/>



*** User 2023-11-17 15:22:47.448 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2612@domain.example.com' to='alice_remove_unsubscribe_2612@domain.example.com/res1' id='pushb183ebfabd83aca7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_2612@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.448 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2612@domain.example.com' to='alice_remove_unsubscribe_2612@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-17 15:22:47.449 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2612@domain.example.com/res1' to='alice_remove_unsubscribe_2612@domain.example.com/res1'/>



*** User 2023-11-17 15:22:47.449 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2612@domain.example.com' to='bob_remove_unsubscribe_2612@domain.example.com/res1' id='push7b8ae8f34446eb9e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_2612@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.449 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 out
<iq type='set' id='83e6509a033ab16537b4f9b8c287bbd0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2612@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2023-11-17 15:22:47.451 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2612@domain.example.com' to='alice_remove_unsubscribe_2612@domain.example.com/res1' id='push739f658aa01d5616' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_2612@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:22:47.455 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2612@domain.example.com/res1' to='alice_remove_unsubscribe_2612@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-17 15:22:47.456 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2612@domain.example.com' to='alice_remove_unsubscribe_2612@domain.example.com/res1' id='83e6509a033ab16537b4f9b8c287bbd0' type='result'/>



*** User 2023-11-17 15:22:47.456 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2612@domain.example.com' to='bob_remove_unsubscribe_2612@domain.example.com/res1' id='push38896296a3b9be47' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2612@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.456 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2612@domain.example.com' to='bob_remove_unsubscribe_2612@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-17 15:22:47.456 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:22:47.456 ***🔗
bob_remove_unsubscribe_2612@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:22:47.456 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:22:47.456 ***🔗
alice_remove_unsubscribe_2612@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:22:47.459 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2637.html



=== Ended at 2023-11-17 15:22:47
=== successfully completed test case
=== === Returned value: ok