=== Test case: presence_SUITE: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.unsubscribe.53253.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.237 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2620.html

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

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



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



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

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



*** User 2023-11-17 15:21:37.265 ***🔗
alicE_unsubscribe_2660@domain.example.com/res1 in
<iq id='35ff662524f806fccb5b3a6f72d63469' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2660@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



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



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



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

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



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



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

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



*** User 2023-11-17 15:21:37.271 ***🔗
bOb_unsubscribe_2660@domain.example.com/res1 in
<iq id='55128666a2cce2a9e48bc781d537a686' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2660@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



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



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



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



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



*** User 2023-11-17 15:21:37.286 ***🔗
alice_unsubscribe_2660@domain.example.com/res1 in
<iq from='alice_unsubscribe_2660@domain.example.com' to='alice_unsubscribe_2660@domain.example.com/res1' id='31e33ef5db70b7deec7dc2a76b70d294' type='result'/>



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



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



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



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



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



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



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



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



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



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



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



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



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



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



*** User 2023-11-17 15:21:37.322 ***🔗
alice_unsubscribe_2660@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2660@domain.example.com'/>



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



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



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



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



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



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

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

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

*** User 2023-11-17 15:21:37.330 ***🔗
alice_unsubscribe_2660@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:21:37.339 *** 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