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

=== Config value:

    [{watchdog,<0.3376.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@a557e8d70b1c.2023-11-17_15.09.37/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.21.35/presence_suite.remove_unsubscribe.53381.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@a557e8d70b1c.2023-11-17_15.09.37/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.21.35/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@a557e8d70b1c.2023-11-17_15.09.37"

=== Started at 2023-11-17 15:21:37


*** CT 2023-11-17 15:21:37.246 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2620.html

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

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



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



*** User 2023-11-17 15:21:37.266 ***🔗
alicE_remove_unsubscribe_2664@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:21:37.267 ***🔗
alicE_remove_unsubscribe_2664@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='58da70978496ddee' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2664@domain.example.com'>

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



*** User 2023-11-17 15:21:37.268 ***🔗
alicE_remove_unsubscribe_2664@domain.example.com/res1 in
<iq id='4f29d89fddf76b9685bc8059f90ffd28' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_2664@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:21:37.268 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 out
<iq type='set' id='7eb60f724489d310d73fa6b30adb174a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:37.268 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2664@domain.example.com/res1' id='7eb60f724489d310d73fa6b30adb174a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:37.268 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 out
<presence/>



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



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

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



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



*** User 2023-11-17 15:21:37.272 ***🔗
bOb_remove_unsubscribe_2664@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:21:37.273 ***🔗
bOb_remove_unsubscribe_2664@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f888b0117a8e66be' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2664@domain.example.com'>

*** User 2023-11-17 15:21:37.273 ***🔗
bOb_remove_unsubscribe_2664@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:21:37.273 ***🔗
bOb_remove_unsubscribe_2664@domain.example.com/res1 out
<iq type='set' id='1368db8af02c970b8974dd331463bcc6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:21:37.273 ***🔗
bOb_remove_unsubscribe_2664@domain.example.com/res1 in
<iq id='1368db8af02c970b8974dd331463bcc6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_2664@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:21:37.273 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 out
<iq type='set' id='3ffc66f4cb9bd2796c9abc9a81ee4753'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:37.274 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2664@domain.example.com/res1' id='3ffc66f4cb9bd2796c9abc9a81ee4753' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:21:37.274 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 out
<presence/>



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



*** User 2023-11-17 15:21:37.274 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 out
<iq type='set' id='88e1aefd38f0f0db9b24a84025a2c14e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2664@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:21:37.293 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2664@domain.example.com' to='alice_remove_unsubscribe_2664@domain.example.com/res1' id='pushdb5124b3468f8b04' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2664@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:21:37.293 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2664@domain.example.com' to='alice_remove_unsubscribe_2664@domain.example.com/res1' id='88e1aefd38f0f0db9b24a84025a2c14e' type='result'/>



*** User 2023-11-17 15:21:37.293 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2664@domain.example.com' id='pushdb5124b3468f8b04' type='result'/>



*** User 2023-11-17 15:21:37.293 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2664@domain.example.com'/>



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



*** User 2023-11-17 15:21:37.311 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2664@domain.example.com' id='push845ab146f45eb4ba' type='result'/>



*** User 2023-11-17 15:21:37.311 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2664@domain.example.com' to='bob_remove_unsubscribe_2664@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-17 15:21:37.311 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 out
<iq type='set' id='6fec63ddc4d8878e01a8b4f0a0c81544'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_2664@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:21:37.315 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2664@domain.example.com' to='bob_remove_unsubscribe_2664@domain.example.com/res1' id='pushc6f3b2abc6537e06' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2664@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:21:37.315 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2664@domain.example.com' id='pushc6f3b2abc6537e06' type='result'/>



*** User 2023-11-17 15:21:37.315 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2664@domain.example.com' to='bob_remove_unsubscribe_2664@domain.example.com/res1' id='6fec63ddc4d8878e01a8b4f0a0c81544' type='result'/>



*** User 2023-11-17 15:21:37.315 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2664@domain.example.com'/>



*** User 2023-11-17 15:21:37.324 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2664@domain.example.com' to='alice_remove_unsubscribe_2664@domain.example.com/res1' id='pusha53bf694e66c85d7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_2664@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:21:37.324 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2664@domain.example.com' to='alice_remove_unsubscribe_2664@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-17 15:21:37.324 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2664@domain.example.com/res1' to='alice_remove_unsubscribe_2664@domain.example.com/res1'/>



*** User 2023-11-17 15:21:37.325 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2664@domain.example.com' to='bob_remove_unsubscribe_2664@domain.example.com/res1' id='pushbc1aa28654fc2cff' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_2664@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:21:37.325 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 out
<iq type='set' id='074d10973d3be2aed5f5538adcee2721'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2664@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2023-11-17 15:21:37.328 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2664@domain.example.com' to='alice_remove_unsubscribe_2664@domain.example.com/res1' id='push94c913fd80fd51d1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_2664@domain.example.com'/>
	</query>
</iq>



*** User 2023-11-17 15:21:37.333 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2664@domain.example.com/res1' to='alice_remove_unsubscribe_2664@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-17 15:21:37.333 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2664@domain.example.com' to='alice_remove_unsubscribe_2664@domain.example.com/res1' id='074d10973d3be2aed5f5538adcee2721' type='result'/>



*** User 2023-11-17 15:21:37.333 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2664@domain.example.com' to='bob_remove_unsubscribe_2664@domain.example.com/res1' id='pushaec8cbb35fb05053' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2664@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:21:37.334 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2664@domain.example.com' to='bob_remove_unsubscribe_2664@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-17 15:21:37.334 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:21:37.334 ***🔗
bob_remove_unsubscribe_2664@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:21:37.334 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:21:37.334 ***🔗
alice_remove_unsubscribe_2664@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:21:37.342 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2620.html



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