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

=== Config value:

    [{watchdog,<0.68302.0>},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/presence_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.presence_SUITE.logs/run.2023-12-07_07.57.30/presence_suite.remove_unsubscribe.179586.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@d3b7dd7159a8.2023-12-07_07.46.41/big_tests.tests.presence_SUITE.logs/run.2023-12-07_07.57.30/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@d3b7dd7159a8.2023-12-07_07.46.41"

=== Started at 2023-12-07 07:57:32


*** CT 2023-12-07 07:57:32.122 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2337.html

*** User 2023-12-07 07:57:32.131 ***🔗
alicE_remove_unsubscribe_2502@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-12-07 07:57:32.131 ***🔗
alicE_remove_unsubscribe_2502@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dfe7f4a6ea3eb14b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:57:32.132 ***🔗
alicE_remove_unsubscribe_2502@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-12-07 07:57:32.132 ***🔗
alicE_remove_unsubscribe_2502@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yNTAyAG1hdHlncnlzYQ==</auth>



*** User 2023-12-07 07:57:32.133 ***🔗
alicE_remove_unsubscribe_2502@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:57:32.133 ***🔗
alicE_remove_unsubscribe_2502@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-12-07 07:57:32.133 ***🔗
alicE_remove_unsubscribe_2502@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d5fd214f704b2fa0' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2502@domain.example.com'>

*** User 2023-12-07 07:57:32.133 ***🔗
alicE_remove_unsubscribe_2502@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-12-07 07:57:32.133 ***🔗
alicE_remove_unsubscribe_2502@domain.example.com/res1 out
<iq type='set' id='537f706407cd1578a90add22b60cbce7'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:57:32.133 ***🔗
alicE_remove_unsubscribe_2502@domain.example.com/res1 in
<iq id='537f706407cd1578a90add22b60cbce7' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_2502@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:57:32.134 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 out
<iq type='set' id='71bc2e74235f9858f59a1c53664c887b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:32.134 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2502@domain.example.com/res1' id='71bc2e74235f9858f59a1c53664c887b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:32.134 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:57:32.136 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2502@domain.example.com/res1' to='alice_remove_unsubscribe_2502@domain.example.com/res1'/>



*** User 2023-12-07 07:57:32.137 ***🔗
bOb_remove_unsubscribe_2502@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-12-07 07:57:32.137 ***🔗
bOb_remove_unsubscribe_2502@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='662ad61d67523899' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-12-07 07:57:32.137 ***🔗
bOb_remove_unsubscribe_2502@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-12-07 07:57:32.137 ***🔗
bOb_remove_unsubscribe_2502@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjUwMgBtYWtyb2xpa2E=</auth>



*** User 2023-12-07 07:57:32.138 ***🔗
bOb_remove_unsubscribe_2502@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-07 07:57:32.138 ***🔗
bOb_remove_unsubscribe_2502@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-12-07 07:57:32.138 ***🔗
bOb_remove_unsubscribe_2502@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3a65eaacd6d1ee41' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2502@domain.example.com'>

*** User 2023-12-07 07:57:32.138 ***🔗
bOb_remove_unsubscribe_2502@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-12-07 07:57:32.138 ***🔗
bOb_remove_unsubscribe_2502@domain.example.com/res1 out
<iq type='set' id='4f607fa320026cb2f3e101109b0bd89e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-07 07:57:32.139 ***🔗
bOb_remove_unsubscribe_2502@domain.example.com/res1 in
<iq id='4f607fa320026cb2f3e101109b0bd89e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_2502@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-12-07 07:57:32.139 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 out
<iq type='set' id='dc6b47debef13fd01e7ffc7669cdf679'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:32.140 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2502@domain.example.com/res1' id='dc6b47debef13fd01e7ffc7669cdf679' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-07 07:57:32.140 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 out
<presence/>



*** User 2023-12-07 07:57:32.141 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2502@domain.example.com/res1' to='bob_remove_unsubscribe_2502@domain.example.com/res1'/>



*** User 2023-12-07 07:57:32.141 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 out
<iq type='set' id='8dcef8cf99ba37c0457279c52cb57ea9'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2502@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:57:32.154 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2502@domain.example.com' to='alice_remove_unsubscribe_2502@domain.example.com/res1' id='push3e203914a2b54c29' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2502@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:57:32.154 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2502@domain.example.com' to='alice_remove_unsubscribe_2502@domain.example.com/res1' id='8dcef8cf99ba37c0457279c52cb57ea9' type='result'/>



*** User 2023-12-07 07:57:32.155 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2502@domain.example.com' id='push3e203914a2b54c29' type='result'/>



*** User 2023-12-07 07:57:32.155 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2502@domain.example.com'/>



*** User 2023-12-07 07:57:32.159 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2502@domain.example.com' to='alice_remove_unsubscribe_2502@domain.example.com/res1' id='push0053cf6becd8424f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_remove_unsubscribe_2502@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:57:32.159 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2502@domain.example.com' id='push0053cf6becd8424f' type='result'/>



*** User 2023-12-07 07:57:32.159 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2502@domain.example.com' to='bob_remove_unsubscribe_2502@domain.example.com/res1' type='subscribe'/>



*** User 2023-12-07 07:57:32.159 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 out
<iq type='set' id='8f6bd4ecddd9717268296bb099b8971f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_2502@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:57:32.163 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2502@domain.example.com' to='bob_remove_unsubscribe_2502@domain.example.com/res1' id='pushbe44a30064f283c0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2502@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:57:32.163 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2502@domain.example.com' id='pushbe44a30064f283c0' type='result'/>



*** User 2023-12-07 07:57:32.163 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2502@domain.example.com' to='bob_remove_unsubscribe_2502@domain.example.com/res1' id='8f6bd4ecddd9717268296bb099b8971f' type='result'/>



*** User 2023-12-07 07:57:32.163 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2502@domain.example.com'/>



*** User 2023-12-07 07:57:32.169 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2502@domain.example.com' to='alice_remove_unsubscribe_2502@domain.example.com/res1' id='push23b449d023c500a6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_remove_unsubscribe_2502@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:57:32.169 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2502@domain.example.com' to='alice_remove_unsubscribe_2502@domain.example.com/res1' type='subscribed'/>



*** User 2023-12-07 07:57:32.169 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2502@domain.example.com/res1' to='alice_remove_unsubscribe_2502@domain.example.com/res1'/>



*** User 2023-12-07 07:57:32.170 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2502@domain.example.com' to='bob_remove_unsubscribe_2502@domain.example.com/res1' id='pushf3e636057f54b131' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_remove_unsubscribe_2502@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:57:32.170 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 out
<iq type='set' id='4ae09e5fdae65a98d366c5f3c457dc6f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2502@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2023-12-07 07:57:32.173 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2502@domain.example.com' to='alice_remove_unsubscribe_2502@domain.example.com/res1' id='pushcf237397e1c38485' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='remove' name='Bobby' jid='bob_remove_unsubscribe_2502@domain.example.com'/>
	</query>
</iq>



*** User 2023-12-07 07:57:32.176 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2502@domain.example.com/res1' to='alice_remove_unsubscribe_2502@domain.example.com/res1' type='unavailable'/>



*** User 2023-12-07 07:57:32.177 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2502@domain.example.com' to='alice_remove_unsubscribe_2502@domain.example.com/res1' id='4ae09e5fdae65a98d366c5f3c457dc6f' type='result'/>



*** User 2023-12-07 07:57:32.177 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2502@domain.example.com' to='bob_remove_unsubscribe_2502@domain.example.com/res1' id='pushf56746d11f7a809b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_remove_unsubscribe_2502@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-07 07:57:32.177 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2502@domain.example.com' to='bob_remove_unsubscribe_2502@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-12-07 07:57:32.177 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:57:32.177 ***🔗
bob_remove_unsubscribe_2502@domain.example.com/res1 in
</stream:stream>

*** User 2023-12-07 07:57:32.177 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 out
</stream:stream>

*** User 2023-12-07 07:57:32.177 ***🔗
alice_remove_unsubscribe_2502@domain.example.com/res1 in
</stream:stream>
*** CT 2023-12-07 07:57:32.179 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2337.html



=== Ended at 2023-12-07 07:57:32
=== successfully completed test case
=== === Returned value: ok