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

=== Config value:

    [{watchdog,<0.72922.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@361c787015ff.2024-04-15_07.21.23/big_tests.tests.presence_SUITE.logs/run.2024-04-15_07.33.27/presence_suite.unsubscribe.111620.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@361c787015ff.2024-04-15_07.21.23/big_tests.tests.presence_SUITE.logs/run.2024-04-15_07.33.27/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@361c787015ff.2024-04-15_07.21.23"

=== Started at 2024-04-15 07:33:29


*** CT 2024-04-15 07:33:29.307 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3375.html

*** User 2024-04-15 07:33:29.320 ***🔗
alicE_unsubscribe_2743@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-15 07:33:29.320 ***🔗
alicE_unsubscribe_2743@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2832ae5df848ca4c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-15 07:33:29.320 ***🔗
alicE_unsubscribe_2743@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-15 07:33:29.320 ***🔗
alicE_unsubscribe_2743@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI3NDMAbWF0eWdyeXNh</auth>



*** User 2024-04-15 07:33:29.322 ***🔗
alicE_unsubscribe_2743@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 07:33:29.322 ***🔗
alicE_unsubscribe_2743@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-15 07:33:29.322 ***🔗
alicE_unsubscribe_2743@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ae044ac0984d95b7' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2743@domain.example.com'>

*** User 2024-04-15 07:33:29.322 ***🔗
alicE_unsubscribe_2743@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-15 07:33:29.322 ***🔗
alicE_unsubscribe_2743@domain.example.com/res1 out
<iq type='set' id='a10921065360895bd6241186a894310a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 07:33:29.323 ***🔗
alicE_unsubscribe_2743@domain.example.com/res1 in
<iq id='a10921065360895bd6241186a894310a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2743@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 07:33:29.323 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 out
<iq type='set' id='18e21061c4f95805c774bb7363fe1e6f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 07:33:29.324 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2743@domain.example.com/res1' id='18e21061c4f95805c774bb7363fe1e6f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 07:33:29.324 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 out
<presence/>



*** User 2024-04-15 07:33:29.325 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 in
<presence from='alice_unsubscribe_2743@domain.example.com/res1' to='alice_unsubscribe_2743@domain.example.com/res1'/>



*** User 2024-04-15 07:33:29.326 ***🔗
bOb_unsubscribe_2743@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-15 07:33:29.326 ***🔗
bOb_unsubscribe_2743@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fa5e61b97ac448c6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-15 07:33:29.326 ***🔗
bOb_unsubscribe_2743@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-15 07:33:29.326 ***🔗
bOb_unsubscribe_2743@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNzQzAG1ha3JvbGlrYQ==</auth>



*** User 2024-04-15 07:33:29.327 ***🔗
bOb_unsubscribe_2743@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 07:33:29.327 ***🔗
bOb_unsubscribe_2743@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-15 07:33:29.328 ***🔗
bOb_unsubscribe_2743@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a2e09ba48d91961a' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2743@domain.example.com'>

*** User 2024-04-15 07:33:29.328 ***🔗
bOb_unsubscribe_2743@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-15 07:33:29.328 ***🔗
bOb_unsubscribe_2743@domain.example.com/res1 out
<iq type='set' id='7c0caa453b46aa16bbdbd7b8f2cc3f56'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 07:33:29.328 ***🔗
bOb_unsubscribe_2743@domain.example.com/res1 in
<iq id='7c0caa453b46aa16bbdbd7b8f2cc3f56' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2743@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 07:33:29.328 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 out
<iq type='set' id='d1387433088f38243f586210714e1065'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 07:33:29.329 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2743@domain.example.com/res1' id='d1387433088f38243f586210714e1065' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 07:33:29.329 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 out
<presence/>



*** User 2024-04-15 07:33:29.331 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 in
<presence from='bob_unsubscribe_2743@domain.example.com/res1' to='bob_unsubscribe_2743@domain.example.com/res1'/>



*** User 2024-04-15 07:33:29.331 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 out
<iq type='set' id='b8a19a02411adf13617bbf02d54605c1'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2743@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 07:33:29.340 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 in
<iq from='alice_unsubscribe_2743@domain.example.com' to='alice_unsubscribe_2743@domain.example.com/res1' id='push5d5e47259ed98a24' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2743@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 07:33:29.340 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 in
<iq from='alice_unsubscribe_2743@domain.example.com' to='alice_unsubscribe_2743@domain.example.com/res1' id='b8a19a02411adf13617bbf02d54605c1' type='result'/>



*** User 2024-04-15 07:33:29.341 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 out
<iq to='alice_unsubscribe_2743@domain.example.com' id='push5d5e47259ed98a24' type='result'/>



*** User 2024-04-15 07:33:29.341 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2743@domain.example.com'/>



*** User 2024-04-15 07:33:29.345 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 in
<iq from='alice_unsubscribe_2743@domain.example.com' to='alice_unsubscribe_2743@domain.example.com/res1' id='pusha1087748ca285279' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2743@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 07:33:29.345 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 out
<iq to='alice_unsubscribe_2743@domain.example.com' id='pusha1087748ca285279' type='result'/>



*** User 2024-04-15 07:33:29.345 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 in
<presence from='alice_unsubscribe_2743@domain.example.com' to='bob_unsubscribe_2743@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-15 07:33:29.345 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 out
<iq type='set' id='be170778ed526c9f7c13049bd2b8edc0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2743@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 07:33:29.351 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 in
<iq from='bob_unsubscribe_2743@domain.example.com' to='bob_unsubscribe_2743@domain.example.com/res1' id='pushb7ef175dc13ee961' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2743@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 07:33:29.351 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 out
<iq to='bob_unsubscribe_2743@domain.example.com' id='pushb7ef175dc13ee961' type='result'/>



*** User 2024-04-15 07:33:29.351 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 in
<iq from='bob_unsubscribe_2743@domain.example.com' to='bob_unsubscribe_2743@domain.example.com/res1' id='be170778ed526c9f7c13049bd2b8edc0' type='result'/>



*** User 2024-04-15 07:33:29.351 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2743@domain.example.com'/>



*** User 2024-04-15 07:33:29.375 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 in
<iq from='alice_unsubscribe_2743@domain.example.com' to='alice_unsubscribe_2743@domain.example.com/res1' id='push861255136e2c0ea1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2743@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 07:33:29.375 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 in
<presence from='bob_unsubscribe_2743@domain.example.com' to='alice_unsubscribe_2743@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-15 07:33:29.375 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 in
<presence from='bob_unsubscribe_2743@domain.example.com/res1' to='alice_unsubscribe_2743@domain.example.com/res1'/>



*** User 2024-04-15 07:33:29.375 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 in
<iq from='bob_unsubscribe_2743@domain.example.com' to='bob_unsubscribe_2743@domain.example.com/res1' id='push274c238c0c9f09eb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2743@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 07:33:29.376 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2743@domain.example.com'/>



*** User 2024-04-15 07:33:29.385 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 in
<iq from='alice_unsubscribe_2743@domain.example.com' to='alice_unsubscribe_2743@domain.example.com/res1' id='push47379c119cbf24da' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2743@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 07:33:29.385 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 out
<iq to='alice_unsubscribe_2743@domain.example.com' id='push47379c119cbf24da' type='result'/>



*** User 2024-04-15 07:33:29.385 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 in
<iq from='bob_unsubscribe_2743@domain.example.com' to='bob_unsubscribe_2743@domain.example.com/res1' id='push5c05417687b2e596' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2743@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 07:33:29.385 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 in
<presence from='alice_unsubscribe_2743@domain.example.com' to='bob_unsubscribe_2743@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-15 07:33:29.385 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 in
<presence from='bob_unsubscribe_2743@domain.example.com/res1' to='alice_unsubscribe_2743@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-15 07:33:29.385 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-15 07:33:29.385 ***🔗
bob_unsubscribe_2743@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-15 07:33:29.386 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-15 07:33:29.386 ***🔗
alice_unsubscribe_2743@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-15 07:33:29.399 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3375.html



=== Ended at 2024-04-15 07:33:29
=== successfully completed test case
=== === Returned value: ok