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

=== Config value:

    [{watchdog,<0.71714.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@9442f737ceb0.2024-04-26_12.39.28/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.52.10/presence_suite.remove_unsubscribe.208514.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@9442f737ceb0.2024-04-26_12.39.28/big_tests.tests.presence_SUITE.logs/run.2024-04-26_12.52.10/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@9442f737ceb0.2024-04-26_12.39.28"

=== Started at 2024-04-26 12:52:12


*** CT 2024-04-26 12:52:12.132 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2289.html

*** User 2024-04-26 12:52:12.144 ***🔗
alicE_remove_unsubscribe_2785@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-26 12:52:12.144 ***🔗
alicE_remove_unsubscribe_2785@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5463108f777950cc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:52:12.144 ***🔗
alicE_remove_unsubscribe_2785@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-26 12:52:12.144 ***🔗
alicE_remove_unsubscribe_2785@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3JlbW92ZV91bnN1YnNjcmliZV8yNzg1AG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 12:52:12.145 ***🔗
alicE_remove_unsubscribe_2785@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:12.145 ***🔗
alicE_remove_unsubscribe_2785@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-26 12:52:12.146 ***🔗
alicE_remove_unsubscribe_2785@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9b32c52519fe0910' from='domain.example.com' version='1.0' xml:lang='en' to='alice_remove_unsubscribe_2785@domain.example.com'>

*** User 2024-04-26 12:52:12.146 ***🔗
alicE_remove_unsubscribe_2785@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-26 12:52:12.146 ***🔗
alicE_remove_unsubscribe_2785@domain.example.com/res1 out
<iq type='set' id='1f059f9f20cc8260a2fe0cbba8077633'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:12.147 ***🔗
alicE_remove_unsubscribe_2785@domain.example.com/res1 in
<iq id='1f059f9f20cc8260a2fe0cbba8077633' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_remove_unsubscribe_2785@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:12.147 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 out
<iq type='set' id='6d17c4eaef0f784f640f61e41db96dcb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:12.147 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_remove_unsubscribe_2785@domain.example.com/res1' id='6d17c4eaef0f784f640f61e41db96dcb' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:12.148 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 12:52:12.149 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2785@domain.example.com/res1' to='alice_remove_unsubscribe_2785@domain.example.com/res1'/>



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

*** User 2024-04-26 12:52:12.150 ***🔗
bOb_remove_unsubscribe_2785@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-26 12:52:12.150 ***🔗
bOb_remove_unsubscribe_2785@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9yZW1vdmVfdW5zdWJzY3JpYmVfMjc4NQBtYWtyb2xpa2E=</auth>



*** User 2024-04-26 12:52:12.154 ***🔗
bOb_remove_unsubscribe_2785@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:52:12.154 ***🔗
bOb_remove_unsubscribe_2785@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-26 12:52:12.154 ***🔗
bOb_remove_unsubscribe_2785@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5edd905a9a8219b' from='domain.example.com' version='1.0' xml:lang='en' to='bob_remove_unsubscribe_2785@domain.example.com'>

*** User 2024-04-26 12:52:12.154 ***🔗
bOb_remove_unsubscribe_2785@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-26 12:52:12.154 ***🔗
bOb_remove_unsubscribe_2785@domain.example.com/res1 out
<iq type='set' id='48a7ddaa030ff29d86a89452124f4c87'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:52:12.155 ***🔗
bOb_remove_unsubscribe_2785@domain.example.com/res1 in
<iq id='48a7ddaa030ff29d86a89452124f4c87' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_remove_unsubscribe_2785@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:52:12.155 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 out
<iq type='set' id='c7e51b5b174894ce5ddb11c6f51a563d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:12.156 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_remove_unsubscribe_2785@domain.example.com/res1' id='c7e51b5b174894ce5ddb11c6f51a563d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:52:12.156 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 out
<presence/>



*** User 2024-04-26 12:52:12.163 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2785@domain.example.com/res1' to='bob_remove_unsubscribe_2785@domain.example.com/res1'/>



*** User 2024-04-26 12:52:12.163 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 out
<iq type='set' id='5cf8754e1daea2bd6678f4adbb2b4055'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2785@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:12.171 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2785@domain.example.com' to='alice_remove_unsubscribe_2785@domain.example.com/res1' id='push14655fa36cef4efc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2785@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:12.171 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2785@domain.example.com' to='alice_remove_unsubscribe_2785@domain.example.com/res1' id='5cf8754e1daea2bd6678f4adbb2b4055' type='result'/>



*** User 2024-04-26 12:52:12.171 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2785@domain.example.com' id='push14655fa36cef4efc' type='result'/>



*** User 2024-04-26 12:52:12.171 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 out
<presence type='subscribe' to='bob_remove_unsubscribe_2785@domain.example.com'/>



*** User 2024-04-26 12:52:12.176 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2785@domain.example.com' to='alice_remove_unsubscribe_2785@domain.example.com/res1' id='push06043ccf5ed09b00' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_remove_unsubscribe_2785@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:12.176 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 out
<iq to='alice_remove_unsubscribe_2785@domain.example.com' id='push06043ccf5ed09b00' type='result'/>



*** User 2024-04-26 12:52:12.176 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2785@domain.example.com' to='bob_remove_unsubscribe_2785@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-26 12:52:12.176 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 out
<iq type='set' id='81a9ef87e78b9110b5d3fb93c3fc99f7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_remove_unsubscribe_2785@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:12.182 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2785@domain.example.com' to='bob_remove_unsubscribe_2785@domain.example.com/res1' id='push4fb9e62938c317f9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2785@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:12.182 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 out
<iq to='bob_remove_unsubscribe_2785@domain.example.com' id='push4fb9e62938c317f9' type='result'/>



*** User 2024-04-26 12:52:12.182 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2785@domain.example.com' to='bob_remove_unsubscribe_2785@domain.example.com/res1' id='81a9ef87e78b9110b5d3fb93c3fc99f7' type='result'/>



*** User 2024-04-26 12:52:12.182 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 out
<presence type='subscribed' to='alice_remove_unsubscribe_2785@domain.example.com'/>



*** User 2024-04-26 12:52:12.187 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2785@domain.example.com' to='alice_remove_unsubscribe_2785@domain.example.com/res1' id='push7796166489432a90' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2785@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:12.187 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2785@domain.example.com' to='alice_remove_unsubscribe_2785@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-26 12:52:12.187 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2785@domain.example.com/res1' to='alice_remove_unsubscribe_2785@domain.example.com/res1'/>



*** User 2024-04-26 12:52:12.188 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2785@domain.example.com' to='bob_remove_unsubscribe_2785@domain.example.com/res1' id='push6fd6b98a82e9a593' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2785@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:12.188 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 out
<iq type='set' id='d4506091c9a01bee4315723e0bbcbfd0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_remove_unsubscribe_2785@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-26 12:52:12.190 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2785@domain.example.com' to='alice_remove_unsubscribe_2785@domain.example.com/res1' id='pusheb19ca358a735acb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_remove_unsubscribe_2785@domain.example.com' subscription='remove'/>
	</query>
</iq>



*** User 2024-04-26 12:52:12.193 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 in
<presence from='bob_remove_unsubscribe_2785@domain.example.com/res1' to='alice_remove_unsubscribe_2785@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-26 12:52:12.194 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 in
<iq from='alice_remove_unsubscribe_2785@domain.example.com' to='alice_remove_unsubscribe_2785@domain.example.com/res1' id='d4506091c9a01bee4315723e0bbcbfd0' type='result'/>



*** User 2024-04-26 12:52:12.194 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 in
<iq from='bob_remove_unsubscribe_2785@domain.example.com' to='bob_remove_unsubscribe_2785@domain.example.com/res1' id='push0d3f5932ca226380' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_remove_unsubscribe_2785@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:52:12.194 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 in
<presence from='alice_remove_unsubscribe_2785@domain.example.com' to='bob_remove_unsubscribe_2785@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-26 12:52:12.194 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 12:52:12.194 ***🔗
bob_remove_unsubscribe_2785@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-26 12:52:12.195 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-26 12:52:12.195 ***🔗
alice_remove_unsubscribe_2785@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-26 12:52:12.200 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2289.html



=== Ended at 2024-04-26 12:52:12
=== successfully completed test case
=== === Returned value: ok