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

=== Config value:

    [{watchdog,<0.69642.0>},
     {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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.53.15/presence_suite.remove_unsubscribe.104068.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@d081adacb998.2024-01-14_19.39.56/big_tests.tests.presence_SUITE.logs/run.2024-01-14_19.53.15/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@d081adacb998.2024-01-14_19.39.56"

=== Started at 2024-01-14 19:53:17


*** CT 2024-01-14 19:53:17.273 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2631.html

*** User 2024-01-14 19:53:17.288 ***🔗
alicE_remove_unsubscribe_2700@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-01-14 19:53:17.288 ***🔗
alicE_remove_unsubscribe_2700@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dfd506a926c3a5bd' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:53:17.289 ***🔗
alicE_remove_unsubscribe_2700@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-01-14 19:53:17.289 ***🔗
alicE_remove_unsubscribe_2700@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yNzAwAG1hdHlncnlzYQ==</auth>



*** User 2024-01-14 19:53:17.294 ***🔗
alicE_remove_unsubscribe_2700@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:53:17.294 ***🔗
alicE_remove_unsubscribe_2700@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-01-14 19:53:17.295 ***🔗
alicE_remove_unsubscribe_2700@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4ac64c40131ecc40' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2700@domain.example.com'>

*** User 2024-01-14 19:53:17.295 ***🔗
alicE_remove_unsubscribe_2700@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-01-14 19:53:17.295 ***🔗
alicE_remove_unsubscribe_2700@domain.example.com/res1 out
<iq type='set' id='cb45cfa4c052e18d9e8d91187b56e7f7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-14 19:53:17.295 ***🔗
alicE_remove_unsubscribe_2700@domain.example.com/res1 in
<iq id='cb45cfa4c052e18d9e8d91187b56e7f7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_2700@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:53:17.295 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 out
<iq type='set' id='1d312fd369770a3c0b15bcfb52c8db26'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:17.296 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2700@domain.example.com/res1' id='1d312fd369770a3c0b15bcfb52c8db26' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:17.296 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 out
<presence/>



*** User 2024-01-14 19:53:17.297 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2700@domain.example.com/res1' to='alice_remove_unsubscribe_2700@domain.example.com/res1'/>



*** User 2024-01-14 19:53:17.298 ***🔗
bOb_remove_unsubscribe_2700@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-01-14 19:53:17.298 ***🔗
bOb_remove_unsubscribe_2700@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b31de8ed9fac35a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-01-14 19:53:17.298 ***🔗
bOb_remove_unsubscribe_2700@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-01-14 19:53:17.298 ***🔗
bOb_remove_unsubscribe_2700@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjcwMABtYWtyb2xpa2E=</auth>



*** User 2024-01-14 19:53:17.304 ***🔗
bOb_remove_unsubscribe_2700@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-14 19:53:17.304 ***🔗
bOb_remove_unsubscribe_2700@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-01-14 19:53:17.304 ***🔗
bOb_remove_unsubscribe_2700@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e25c5bbdccca5215' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2700@domain.example.com'>

*** User 2024-01-14 19:53:17.304 ***🔗
bOb_remove_unsubscribe_2700@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-01-14 19:53:17.305 ***🔗
bOb_remove_unsubscribe_2700@domain.example.com/res1 out
<iq type='set' id='9637f6c5d8fd4b2d3078e5ebb4ea01fa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-14 19:53:17.305 ***🔗
bOb_remove_unsubscribe_2700@domain.example.com/res1 in
<iq id='9637f6c5d8fd4b2d3078e5ebb4ea01fa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_2700@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-01-14 19:53:17.305 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 out
<iq type='set' id='da046139110aef0bf95e59db17eaaa5a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:17.306 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2700@domain.example.com/res1' id='da046139110aef0bf95e59db17eaaa5a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-14 19:53:17.306 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 out
<presence/>



*** User 2024-01-14 19:53:17.312 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2700@domain.example.com/res1' to='bob_remove_unsubscribe_2700@domain.example.com/res1'/>



*** User 2024-01-14 19:53:17.312 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 out
<iq type='set' id='667bb9406450be2cec0a252d60954cb7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2700@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:53:17.334 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2700@domain.example.com' to='alice_remove_unsubscribe_2700@domain.example.com/res1' id='push0d2498446b064828' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2700@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:53:17.334 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2700@domain.example.com' to='alice_remove_unsubscribe_2700@domain.example.com/res1' id='667bb9406450be2cec0a252d60954cb7' type='result'/>



*** User 2024-01-14 19:53:17.335 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2700@domain.example.com' id='push0d2498446b064828' type='result'/>



*** User 2024-01-14 19:53:17.335 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2700@domain.example.com'/>



*** User 2024-01-14 19:53:17.339 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2700@domain.example.com' to='alice_remove_unsubscribe_2700@domain.example.com/res1' id='push38dc96167a505219' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2700@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:53:17.339 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2700@domain.example.com' id='push38dc96167a505219' type='result'/>



*** User 2024-01-14 19:53:17.339 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2700@domain.example.com' to='bob_remove_unsubscribe_2700@domain.example.com/res1' type='subscribe'/>



*** User 2024-01-14 19:53:17.339 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 out
<iq type='set' id='66c731876f722633a1fc7231fc7f678a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_2700@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:53:17.353 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2700@domain.example.com' to='bob_remove_unsubscribe_2700@domain.example.com/res1' id='push20bd4da4df9dea2d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2700@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:53:17.353 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2700@domain.example.com' id='push20bd4da4df9dea2d' type='result'/>



*** User 2024-01-14 19:53:17.354 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2700@domain.example.com' to='bob_remove_unsubscribe_2700@domain.example.com/res1' id='66c731876f722633a1fc7231fc7f678a' type='result'/>



*** User 2024-01-14 19:53:17.354 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2700@domain.example.com'/>



*** User 2024-01-14 19:53:17.361 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2700@domain.example.com' to='alice_remove_unsubscribe_2700@domain.example.com/res1' id='pushc73a0c11e6f13872' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_2700@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:53:17.361 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2700@domain.example.com' to='alice_remove_unsubscribe_2700@domain.example.com/res1' type='subscribed'/>



*** User 2024-01-14 19:53:17.362 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2700@domain.example.com/res1' to='alice_remove_unsubscribe_2700@domain.example.com/res1'/>



*** User 2024-01-14 19:53:17.362 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2700@domain.example.com' to='bob_remove_unsubscribe_2700@domain.example.com/res1' id='push3bb39641e3f84dfd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_2700@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:53:17.362 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 out
<iq type='set' id='1230604bad820c6de8baf5d8faeae0c9'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2700@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-01-14 19:53:17.364 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2700@domain.example.com' to='alice_remove_unsubscribe_2700@domain.example.com/res1' id='pushf2572ccb3ca8bea1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_2700@domain.example.com'/>
	</query>
</iq>



*** User 2024-01-14 19:53:17.369 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2700@domain.example.com/res1' to='alice_remove_unsubscribe_2700@domain.example.com/res1' type='unavailable'/>



*** User 2024-01-14 19:53:17.369 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2700@domain.example.com' to='alice_remove_unsubscribe_2700@domain.example.com/res1' id='1230604bad820c6de8baf5d8faeae0c9' type='result'/>



*** User 2024-01-14 19:53:17.369 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2700@domain.example.com' to='bob_remove_unsubscribe_2700@domain.example.com/res1' id='push423c0f56400b9fda' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2700@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-14 19:53:17.369 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2700@domain.example.com' to='bob_remove_unsubscribe_2700@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-01-14 19:53:17.369 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 out
</stream:stream>

*** User 2024-01-14 19:53:17.370 ***🔗
bob_remove_unsubscribe_2700@domain.example.com/res1 in
</stream:stream>

*** User 2024-01-14 19:53:17.370 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 out
</stream:stream>

*** User 2024-01-14 19:53:17.370 ***🔗
alice_remove_unsubscribe_2700@domain.example.com/res1 in
</stream:stream>
*** CT 2024-01-14 19:53:17.372 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2631.html



=== Ended at 2024-01-14 19:53:17
=== successfully completed test case
=== === Returned value: ok