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

=== Config value:

    [{watchdog,<0.68359.0>},
     {preset,"odbc_mssql_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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.45/presence_suite.unsubscribe.88964.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@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.presence_SUITE.logs/run.2023-11-17_15.22.45/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@9f12fc69b406.2023-11-17_15.10.18"

=== Started at 2023-11-17 15:22:47


*** CT 2023-11-17 15:22:47.380 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2637.html

*** User 2023-11-17 15:22:47.402 ***🔗
alicE_unsubscribe_2609@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:22:47.402 ***🔗
alicE_unsubscribe_2609@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='36787c3306c0fba7' from='domain.example.com' version='1.0' xml:lang='en'>

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



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



*** User 2023-11-17 15:22:47.403 ***🔗
alicE_unsubscribe_2609@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:22:47.403 ***🔗
alicE_unsubscribe_2609@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ce6c1d33fb862fd' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2609@domain.example.com'>

*** User 2023-11-17 15:22:47.403 ***🔗
alicE_unsubscribe_2609@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:22:47.403 ***🔗
alicE_unsubscribe_2609@domain.example.com/res1 out
<iq type='set' id='811cb732447fd9a12698529604784c56'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:47.403 ***🔗
alicE_unsubscribe_2609@domain.example.com/res1 in
<iq id='811cb732447fd9a12698529604784c56' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2609@domain.example.com/res1</jid>
	</bind>
</iq>



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



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



*** User 2023-11-17 15:22:47.404 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<presence/>



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



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

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



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



*** User 2023-11-17 15:22:47.406 ***🔗
bOb_unsubscribe_2609@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:22:47.406 ***🔗
bOb_unsubscribe_2609@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d99c5d06fbdf30f' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2609@domain.example.com'>

*** User 2023-11-17 15:22:47.406 ***🔗
bOb_unsubscribe_2609@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:22:47.406 ***🔗
bOb_unsubscribe_2609@domain.example.com/res1 out
<iq type='set' id='037be9cb1a8ee5a807003529d56df0ec'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:22:47.407 ***🔗
bOb_unsubscribe_2609@domain.example.com/res1 in
<iq id='037be9cb1a8ee5a807003529d56df0ec' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2609@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:22:47.407 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 out
<iq type='set' id='4cc1237b342bb332d54cdafc9ec1f959'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:47.407 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' id='4cc1237b342bb332d54cdafc9ec1f959' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:22:47.407 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 out
<presence/>



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



*** User 2023-11-17 15:22:47.408 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<iq type='set' id='3b29260c7904d0e483d5b5a98e2cb83e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2609@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.412 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<iq from='alice_unsubscribe_2609@domain.example.com' to='alice_unsubscribe_2609@domain.example.com/res1' id='push495094a93224552e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2609@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.412 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<iq from='alice_unsubscribe_2609@domain.example.com' to='alice_unsubscribe_2609@domain.example.com/res1' id='3b29260c7904d0e483d5b5a98e2cb83e' type='result'/>



*** User 2023-11-17 15:22:47.412 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<iq to='alice_unsubscribe_2609@domain.example.com' id='push495094a93224552e' type='result'/>



*** User 2023-11-17 15:22:47.412 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2609@domain.example.com'/>



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



*** User 2023-11-17 15:22:47.417 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<iq to='alice_unsubscribe_2609@domain.example.com' id='pushe3e7e780f22d68e7' type='result'/>



*** User 2023-11-17 15:22:47.418 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<presence from='alice_unsubscribe_2609@domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-17 15:22:47.418 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 out
<iq type='set' id='a644b6d65ab2c5bc234913244bb5d70f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2609@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.425 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<iq from='bob_unsubscribe_2609@domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' id='push9134e34586f82c62' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2609@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.425 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 out
<iq to='bob_unsubscribe_2609@domain.example.com' id='push9134e34586f82c62' type='result'/>



*** User 2023-11-17 15:22:47.426 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<iq from='bob_unsubscribe_2609@domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' id='a644b6d65ab2c5bc234913244bb5d70f' type='result'/>



*** User 2023-11-17 15:22:47.426 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2609@domain.example.com'/>



*** User 2023-11-17 15:22:47.441 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<iq from='alice_unsubscribe_2609@domain.example.com' to='alice_unsubscribe_2609@domain.example.com/res1' id='pushf9d9536938ff463f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_2609@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.441 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<presence from='bob_unsubscribe_2609@domain.example.com' to='alice_unsubscribe_2609@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-17 15:22:47.441 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<presence from='bob_unsubscribe_2609@domain.example.com/res1' to='alice_unsubscribe_2609@domain.example.com/res1'/>



*** User 2023-11-17 15:22:47.441 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<iq from='bob_unsubscribe_2609@domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' id='pushc1cea19067921d8b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2609@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.441 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2609@domain.example.com'/>



*** User 2023-11-17 15:22:47.448 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<iq from='alice_unsubscribe_2609@domain.example.com' to='alice_unsubscribe_2609@domain.example.com/res1' id='push528ef1155f6c515d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2609@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.448 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
<iq to='alice_unsubscribe_2609@domain.example.com' id='push528ef1155f6c515d' type='result'/>



*** User 2023-11-17 15:22:47.448 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<iq from='bob_unsubscribe_2609@domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' id='push6ef1225f9d0285c0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2609@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:22:47.448 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
<presence from='alice_unsubscribe_2609@domain.example.com' to='bob_unsubscribe_2609@domain.example.com/res1' type='unsubscribe'/>



*** User 2023-11-17 15:22:47.448 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
<presence from='bob_unsubscribe_2609@domain.example.com/res1' to='alice_unsubscribe_2609@domain.example.com/res1' type='unavailable'/>



*** User 2023-11-17 15:22:47.448 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:22:47.449 ***🔗
bob_unsubscribe_2609@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-17 15:22:47.449 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-17 15:22:47.449 ***🔗
alice_unsubscribe_2609@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-17 15:22:47.456 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2637.html



=== Ended at 2023-11-17 15:22:47
=== successfully completed test case
=== === Returned value: ok