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

=== Config value:

    [{watchdog,<0.63950.0>},
     {preset,"internal_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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.presence_SUITE.logs/run.2024-04-16_10.27.57/presence_suite.unsubscribe.84868.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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.presence_SUITE.logs/run.2024-04-16_10.27.57/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@6b87bb397ec6.2024-04-16_10.12.53"

=== Started at 2024-04-16 10:27:59


*** CT 2024-04-16 10:27:59.315 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_4235.html

*** User 2024-04-16 10:27:59.327 ***🔗
alicE_unsubscribe_2175@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 10:27:59.327 ***🔗
alicE_unsubscribe_2175@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cda4eee6487b657a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:27:59.327 ***🔗
alicE_unsubscribe_2175@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 2024-04-16 10:27:59.328 ***🔗
alicE_unsubscribe_2175@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzIxNzUAbWF0eWdyeXNh</auth>



*** User 2024-04-16 10:27:59.329 ***🔗
alicE_unsubscribe_2175@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:27:59.329 ***🔗
alicE_unsubscribe_2175@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 10:27:59.329 ***🔗
alicE_unsubscribe_2175@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='588b0073ea483c12' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_2175@localhost'>

*** User 2024-04-16 10:27:59.330 ***🔗
alicE_unsubscribe_2175@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 2024-04-16 10:27:59.330 ***🔗
alicE_unsubscribe_2175@localhost/res1 out
<iq type='set' id='994eb38db193b69ebba34dfae41f947b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:27:59.330 ***🔗
alicE_unsubscribe_2175@localhost/res1 in
<iq id='994eb38db193b69ebba34dfae41f947b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2175@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:27:59.330 ***🔗
alice_unsubscribe_2175@localhost/res1 out
<iq type='set' id='f259a48f0647be301ac47e48894cd048'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:59.331 ***🔗
alice_unsubscribe_2175@localhost/res1 in
<iq from='localhost' to='alice_unsubscribe_2175@localhost/res1' id='f259a48f0647be301ac47e48894cd048' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:59.331 ***🔗
alice_unsubscribe_2175@localhost/res1 out
<presence/>



*** User 2024-04-16 10:27:59.332 ***🔗
alice_unsubscribe_2175@localhost/res1 in
<presence from='alice_unsubscribe_2175@localhost/res1' to='alice_unsubscribe_2175@localhost/res1'/>



*** User 2024-04-16 10:27:59.352 ***🔗
bOb_unsubscribe_2175@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 10:27:59.353 ***🔗
bOb_unsubscribe_2175@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f569e3dba93fc8d4' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:27:59.353 ***🔗
bOb_unsubscribe_2175@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 2024-04-16 10:27:59.353 ***🔗
bOb_unsubscribe_2175@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yMTc1AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-16 10:27:59.354 ***🔗
bOb_unsubscribe_2175@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:27:59.354 ***🔗
bOb_unsubscribe_2175@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 10:27:59.355 ***🔗
bOb_unsubscribe_2175@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='24ed56ce323015d5' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_2175@localhost'>

*** User 2024-04-16 10:27:59.355 ***🔗
bOb_unsubscribe_2175@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 2024-04-16 10:27:59.355 ***🔗
bOb_unsubscribe_2175@localhost/res1 out
<iq type='set' id='434d5548b3dcece4d7e05da666516d57'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:27:59.356 ***🔗
bOb_unsubscribe_2175@localhost/res1 in
<iq id='434d5548b3dcece4d7e05da666516d57' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2175@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:27:59.356 ***🔗
bob_unsubscribe_2175@localhost/res1 out
<iq type='set' id='b31bf3fe867e54107ee8cba8540d6d04'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:59.357 ***🔗
bob_unsubscribe_2175@localhost/res1 in
<iq from='localhost' to='bob_unsubscribe_2175@localhost/res1' id='b31bf3fe867e54107ee8cba8540d6d04' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:27:59.357 ***🔗
bob_unsubscribe_2175@localhost/res1 out
<presence/>



*** User 2024-04-16 10:27:59.358 ***🔗
bob_unsubscribe_2175@localhost/res1 in
<presence from='bob_unsubscribe_2175@localhost/res1' to='bob_unsubscribe_2175@localhost/res1'/>



*** User 2024-04-16 10:27:59.358 ***🔗
alice_unsubscribe_2175@localhost/res1 out
<iq type='set' id='d607ff5690dba0e84183dd9317f8eba7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2175@localhost' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:27:59.360 ***🔗
alice_unsubscribe_2175@localhost/res1 in
<iq from='alice_unsubscribe_2175@localhost' to='alice_unsubscribe_2175@localhost/res1' id='push3cad79a6bb677645' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2175@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:27:59.361 ***🔗
alice_unsubscribe_2175@localhost/res1 in
<iq from='alice_unsubscribe_2175@localhost' to='alice_unsubscribe_2175@localhost/res1' id='d607ff5690dba0e84183dd9317f8eba7' type='result'/>



*** User 2024-04-16 10:27:59.361 ***🔗
alice_unsubscribe_2175@localhost/res1 out
<iq to='alice_unsubscribe_2175@localhost' id='push3cad79a6bb677645' type='result'/>



*** User 2024-04-16 10:27:59.361 ***🔗
alice_unsubscribe_2175@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_2175@localhost'/>



*** User 2024-04-16 10:27:59.363 ***🔗
alice_unsubscribe_2175@localhost/res1 in
<iq from='alice_unsubscribe_2175@localhost' to='alice_unsubscribe_2175@localhost/res1' id='push4e91203d1afd084d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2175@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:27:59.363 ***🔗
alice_unsubscribe_2175@localhost/res1 out
<iq to='alice_unsubscribe_2175@localhost' id='push4e91203d1afd084d' type='result'/>



*** User 2024-04-16 10:27:59.363 ***🔗
bob_unsubscribe_2175@localhost/res1 in
<presence from='alice_unsubscribe_2175@localhost' to='bob_unsubscribe_2175@localhost/res1' type='subscribe'/>



*** User 2024-04-16 10:27:59.363 ***🔗
bob_unsubscribe_2175@localhost/res1 out
<iq type='set' id='80349005a44e34de6bc0a9e96b02b4d7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2175@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:27:59.365 ***🔗
bob_unsubscribe_2175@localhost/res1 in
<iq from='bob_unsubscribe_2175@localhost' to='bob_unsubscribe_2175@localhost/res1' id='push09b5bf6830f24f0d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2175@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:27:59.365 ***🔗
bob_unsubscribe_2175@localhost/res1 out
<iq to='bob_unsubscribe_2175@localhost' id='push09b5bf6830f24f0d' type='result'/>



*** User 2024-04-16 10:27:59.365 ***🔗
bob_unsubscribe_2175@localhost/res1 in
<iq from='bob_unsubscribe_2175@localhost' to='bob_unsubscribe_2175@localhost/res1' id='80349005a44e34de6bc0a9e96b02b4d7' type='result'/>



*** User 2024-04-16 10:27:59.365 ***🔗
bob_unsubscribe_2175@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_2175@localhost'/>



*** User 2024-04-16 10:27:59.368 ***🔗
alice_unsubscribe_2175@localhost/res1 in
<iq from='alice_unsubscribe_2175@localhost' to='alice_unsubscribe_2175@localhost/res1' id='push6914f3fc61c3d79a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2175@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:27:59.368 ***🔗
alice_unsubscribe_2175@localhost/res1 in
<presence from='bob_unsubscribe_2175@localhost' to='alice_unsubscribe_2175@localhost/res1' type='subscribed'/>



*** User 2024-04-16 10:27:59.369 ***🔗
alice_unsubscribe_2175@localhost/res1 in
<presence from='bob_unsubscribe_2175@localhost/res1' to='alice_unsubscribe_2175@localhost/res1'/>



*** User 2024-04-16 10:27:59.369 ***🔗
bob_unsubscribe_2175@localhost/res1 in
<iq from='bob_unsubscribe_2175@localhost' to='bob_unsubscribe_2175@localhost/res1' id='push93f959065cd93f1c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2175@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:27:59.369 ***🔗
alice_unsubscribe_2175@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2175@localhost'/>



*** User 2024-04-16 10:27:59.371 ***🔗
alice_unsubscribe_2175@localhost/res1 in
<iq from='alice_unsubscribe_2175@localhost' to='alice_unsubscribe_2175@localhost/res1' id='push4ef5377ee87bb65e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2175@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:27:59.371 ***🔗
alice_unsubscribe_2175@localhost/res1 out
<iq to='alice_unsubscribe_2175@localhost' id='push4ef5377ee87bb65e' type='result'/>



*** User 2024-04-16 10:27:59.371 ***🔗
bob_unsubscribe_2175@localhost/res1 in
<iq from='bob_unsubscribe_2175@localhost' to='bob_unsubscribe_2175@localhost/res1' id='push92e89094ed1fef5f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2175@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:27:59.371 ***🔗
bob_unsubscribe_2175@localhost/res1 in
<presence from='alice_unsubscribe_2175@localhost' to='bob_unsubscribe_2175@localhost/res1' type='unsubscribe'/>



*** User 2024-04-16 10:27:59.372 ***🔗
alice_unsubscribe_2175@localhost/res1 in
<presence from='bob_unsubscribe_2175@localhost/res1' to='alice_unsubscribe_2175@localhost/res1' type='unavailable'/>



*** User 2024-04-16 10:27:59.372 ***🔗
bob_unsubscribe_2175@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:27:59.372 ***🔗
bob_unsubscribe_2175@localhost/res1 in
</stream:stream>

*** User 2024-04-16 10:27:59.372 ***🔗
alice_unsubscribe_2175@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:27:59.373 ***🔗
alice_unsubscribe_2175@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 10:27:59.386 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_4235.html



=== Ended at 2024-04-16 10:27:59
=== successfully completed test case
=== === Returned value: ok