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

=== Config value:

    [{watchdog,<0.74705.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@e84896a28784.2023-12-20_12.31.47/big_tests.tests.presence_SUITE.logs/run.2023-12-20_12.46.56/presence_suite.unsubscribe.208130.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@e84896a28784.2023-12-20_12.31.47/big_tests.tests.presence_SUITE.logs/run.2023-12-20_12.46.56/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@e84896a28784.2023-12-20_12.31.47"

=== Started at 2023-12-20 12:46:58


*** CT 2023-12-20 12:46:58.215 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4766.html

*** User 2023-12-20 12:46:58.226 ***🔗
alicE_unsubscribe_2733@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-20 12:46:58.226 ***🔗
alicE_unsubscribe_2733@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f038ccdbdc5dcd5c' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-20 12:46:58.226 ***🔗
alicE_unsubscribe_2733@localhost/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-20 12:46:58.226 ***🔗
alicE_unsubscribe_2733@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI3MzMAbWF0eWdyeXNh</auth>



*** User 2023-12-20 12:46:58.227 ***🔗
alicE_unsubscribe_2733@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-20 12:46:58.227 ***🔗
alicE_unsubscribe_2733@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-20 12:46:58.228 ***🔗
alicE_unsubscribe_2733@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f206d39b28e153be' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2733@localhost'>

*** User 2023-12-20 12:46:58.228 ***🔗
alicE_unsubscribe_2733@localhost/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-20 12:46:58.228 ***🔗
alicE_unsubscribe_2733@localhost/res1 out
<iq type='set' id='576a15ef4025f925d62dfa9a9151e45f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-20 12:46:58.228 ***🔗
alicE_unsubscribe_2733@localhost/res1 in
<iq id='576a15ef4025f925d62dfa9a9151e45f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2733@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-20 12:46:58.228 ***🔗
alice_unsubscribe_2733@localhost/res1 out
<iq type='set' id='a06acc9327a25e5815273036815a0f30'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-20 12:46:58.229 ***🔗
alice_unsubscribe_2733@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2733@localhost/res1' id='a06acc9327a25e5815273036815a0f30' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-20 12:46:58.229 ***🔗
alice_unsubscribe_2733@localhost/res1 out
<presence/>



*** User 2023-12-20 12:46:58.230 ***🔗
alice_unsubscribe_2733@localhost/res1 in
<presence from='alice_unsubscribe_2733@localhost/res1' to='alice_unsubscribe_2733@localhost/res1'/>



*** User 2023-12-20 12:46:58.230 ***🔗
bOb_unsubscribe_2733@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-20 12:46:58.231 ***🔗
bOb_unsubscribe_2733@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2b41caaf0deba789' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-12-20 12:46:58.231 ***🔗
bOb_unsubscribe_2733@localhost/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-20 12:46:58.231 ***🔗
bOb_unsubscribe_2733@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNzMzAG1ha3JvbGlrYQ==</auth>



*** User 2023-12-20 12:46:58.232 ***🔗
bOb_unsubscribe_2733@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-12-20 12:46:58.232 ***🔗
bOb_unsubscribe_2733@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-12-20 12:46:58.232 ***🔗
bOb_unsubscribe_2733@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='81cb1e462bf1070b' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2733@localhost'>

*** User 2023-12-20 12:46:58.232 ***🔗
bOb_unsubscribe_2733@localhost/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-20 12:46:58.232 ***🔗
bOb_unsubscribe_2733@localhost/res1 out
<iq type='set' id='1e8ebc34e401e39301b5b9a24ef7930c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-12-20 12:46:58.233 ***🔗
bOb_unsubscribe_2733@localhost/res1 in
<iq id='1e8ebc34e401e39301b5b9a24ef7930c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2733@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-12-20 12:46:58.233 ***🔗
bob_unsubscribe_2733@localhost/res1 out
<iq type='set' id='17e145042e9bf43024e19f43c5698a02'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-20 12:46:58.233 ***🔗
bob_unsubscribe_2733@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2733@localhost/res1' id='17e145042e9bf43024e19f43c5698a02' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-12-20 12:46:58.233 ***🔗
bob_unsubscribe_2733@localhost/res1 out
<presence/>



*** User 2023-12-20 12:46:58.234 ***🔗
bob_unsubscribe_2733@localhost/res1 in
<presence from='bob_unsubscribe_2733@localhost/res1' to='bob_unsubscribe_2733@localhost/res1'/>



*** User 2023-12-20 12:46:58.234 ***🔗
alice_unsubscribe_2733@localhost/res1 out
<iq type='set' id='b3fb495690cb9cd28e2198606bf4eab1'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2733@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.244 ***🔗
alice_unsubscribe_2733@localhost/res1 in
<iq from='alice_unsubscribe_2733@localhost' to='alice_unsubscribe_2733@localhost/res1' id='pusheab1f0abc4424bcc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2733@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.244 ***🔗
alice_unsubscribe_2733@localhost/res1 in
<iq from='alice_unsubscribe_2733@localhost' to='alice_unsubscribe_2733@localhost/res1' id='b3fb495690cb9cd28e2198606bf4eab1' type='result'/>



*** User 2023-12-20 12:46:58.244 ***🔗
alice_unsubscribe_2733@localhost/res1 out
<iq to='alice_unsubscribe_2733@localhost' id='pusheab1f0abc4424bcc' type='result'/>



*** User 2023-12-20 12:46:58.244 ***🔗
alice_unsubscribe_2733@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2733@localhost'/>



*** User 2023-12-20 12:46:58.250 ***🔗
alice_unsubscribe_2733@localhost/res1 in
<iq from='alice_unsubscribe_2733@localhost' to='alice_unsubscribe_2733@localhost/res1' id='push7718e57ec77b9fa2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='Bobby' jid='bob_unsubscribe_2733@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.250 ***🔗
alice_unsubscribe_2733@localhost/res1 out
<iq to='alice_unsubscribe_2733@localhost' id='push7718e57ec77b9fa2' type='result'/>



*** User 2023-12-20 12:46:58.250 ***🔗
bob_unsubscribe_2733@localhost/res1 in
<presence from='alice_unsubscribe_2733@localhost' to='bob_unsubscribe_2733@localhost/res1' type='subscribe'/>



*** User 2023-12-20 12:46:58.250 ***🔗
bob_unsubscribe_2733@localhost/res1 out
<iq type='set' id='f3ece029c6e9ee9d47cd9ddf9113867c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2733@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.306 ***🔗
bob_unsubscribe_2733@localhost/res1 in
<iq from='bob_unsubscribe_2733@localhost' to='bob_unsubscribe_2733@localhost/res1' id='push600524785af0bee3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2733@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.306 ***🔗
bob_unsubscribe_2733@localhost/res1 out
<iq to='bob_unsubscribe_2733@localhost' id='push600524785af0bee3' type='result'/>



*** User 2023-12-20 12:46:58.306 ***🔗
bob_unsubscribe_2733@localhost/res1 in
<iq from='bob_unsubscribe_2733@localhost' to='bob_unsubscribe_2733@localhost/res1' id='f3ece029c6e9ee9d47cd9ddf9113867c' type='result'/>



*** User 2023-12-20 12:46:58.306 ***🔗
bob_unsubscribe_2733@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2733@localhost'/>



*** User 2023-12-20 12:46:58.312 ***🔗
alice_unsubscribe_2733@localhost/res1 in
<iq from='alice_unsubscribe_2733@localhost' to='alice_unsubscribe_2733@localhost/res1' id='push483a48fd5298b682' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='Bobby' jid='bob_unsubscribe_2733@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.312 ***🔗
alice_unsubscribe_2733@localhost/res1 in
<presence from='bob_unsubscribe_2733@localhost' to='alice_unsubscribe_2733@localhost/res1' type='subscribed'/>



*** User 2023-12-20 12:46:58.312 ***🔗
alice_unsubscribe_2733@localhost/res1 in
<presence from='bob_unsubscribe_2733@localhost/res1' to='alice_unsubscribe_2733@localhost/res1'/>



*** User 2023-12-20 12:46:58.312 ***🔗
bob_unsubscribe_2733@localhost/res1 in
<iq from='bob_unsubscribe_2733@localhost' to='bob_unsubscribe_2733@localhost/res1' id='pushea07abd9008a0749' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_2733@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.312 ***🔗
alice_unsubscribe_2733@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2733@localhost'/>



*** User 2023-12-20 12:46:58.318 ***🔗
alice_unsubscribe_2733@localhost/res1 in
<iq from='alice_unsubscribe_2733@localhost' to='alice_unsubscribe_2733@localhost/res1' id='pushd820958d56b966c0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Bobby' jid='bob_unsubscribe_2733@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.318 ***🔗
alice_unsubscribe_2733@localhost/res1 out
<iq to='alice_unsubscribe_2733@localhost' id='pushd820958d56b966c0' type='result'/>



*** User 2023-12-20 12:46:58.318 ***🔗
bob_unsubscribe_2733@localhost/res1 in
<iq from='bob_unsubscribe_2733@localhost' to='bob_unsubscribe_2733@localhost/res1' id='pushb322fc89e11e1c32' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_2733@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-12-20 12:46:58.318 ***🔗
bob_unsubscribe_2733@localhost/res1 in
<presence from='alice_unsubscribe_2733@localhost' to='bob_unsubscribe_2733@localhost/res1' type='unsubscribe'/>



*** User 2023-12-20 12:46:58.319 ***🔗
alice_unsubscribe_2733@localhost/res1 in
<presence from='bob_unsubscribe_2733@localhost/res1' to='alice_unsubscribe_2733@localhost/res1' type='unavailable'/>



*** User 2023-12-20 12:46:58.319 ***🔗
bob_unsubscribe_2733@localhost/res1 out
</stream:stream>

*** User 2023-12-20 12:46:58.319 ***🔗
bob_unsubscribe_2733@localhost/res1 in
</stream:stream>

*** User 2023-12-20 12:46:58.319 ***🔗
alice_unsubscribe_2733@localhost/res1 out
</stream:stream>

*** User 2023-12-20 12:46:58.319 ***🔗
alice_unsubscribe_2733@localhost/res1 in
</stream:stream>
*** CT 2023-12-20 12:46:58.326 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4766.html



=== Ended at 2023-12-20 12:46:58
=== successfully completed test case
=== === Returned value: ok