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

=== Config value:

    [{watchdog,<0.70896.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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.presence_SUITE.logs/run.2024-02-26_15.54.59/presence_suite.unsubscribe.205442.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@c558b6ad2bd8.2024-02-26_15.40.27/big_tests.tests.presence_SUITE.logs/run.2024-02-26_15.54.59/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@c558b6ad2bd8.2024-02-26_15.40.27"

=== Started at 2024-02-26 15:55:01


*** CT 2024-02-26 15:55:01.318 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2559.html

*** User 2024-02-26 15:55:01.349 ***🔗
alicE_unsubscribe_2828@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-02-26 15:55:01.349 ***🔗
alicE_unsubscribe_2828@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8387fc5291959115' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-26 15:55:01.350 ***🔗
alicE_unsubscribe_2828@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-02-26 15:55:01.350 ***🔗
alicE_unsubscribe_2828@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI4MjgAbWF0eWdyeXNh</auth>



*** User 2024-02-26 15:55:01.351 ***🔗
alicE_unsubscribe_2828@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 15:55:01.351 ***🔗
alicE_unsubscribe_2828@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-02-26 15:55:01.351 ***🔗
alicE_unsubscribe_2828@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1af593879b71469' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2828@domain.example.com'>

*** User 2024-02-26 15:55:01.351 ***🔗
alicE_unsubscribe_2828@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-02-26 15:55:01.351 ***🔗
alicE_unsubscribe_2828@domain.example.com/res1 out
<iq type='set' id='7ef37b2d5525719e11ed0a1ebfdefabb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 15:55:01.352 ***🔗
alicE_unsubscribe_2828@domain.example.com/res1 in
<iq id='7ef37b2d5525719e11ed0a1ebfdefabb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2828@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 15:55:01.352 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 out
<iq type='set' id='a8065842d2897cde8bd6881802ef4bc8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:55:01.352 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2828@domain.example.com/res1' id='a8065842d2897cde8bd6881802ef4bc8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:55:01.352 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 out
<presence/>



*** User 2024-02-26 15:55:01.357 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 in
<presence from='alice_unsubscribe_2828@domain.example.com/res1' to='alice_unsubscribe_2828@domain.example.com/res1'/>



*** User 2024-02-26 15:55:01.358 ***🔗
bOb_unsubscribe_2828@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-02-26 15:55:01.358 ***🔗
bOb_unsubscribe_2828@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b7e3df96c54a0815' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-26 15:55:01.358 ***🔗
bOb_unsubscribe_2828@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-02-26 15:55:01.358 ***🔗
bOb_unsubscribe_2828@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yODI4AG1ha3JvbGlrYQ==</auth>



*** User 2024-02-26 15:55:01.359 ***🔗
bOb_unsubscribe_2828@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 15:55:01.359 ***🔗
bOb_unsubscribe_2828@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-02-26 15:55:01.359 ***🔗
bOb_unsubscribe_2828@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5559778eb013aa03' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2828@domain.example.com'>

*** User 2024-02-26 15:55:01.360 ***🔗
bOb_unsubscribe_2828@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-02-26 15:55:01.360 ***🔗
bOb_unsubscribe_2828@domain.example.com/res1 out
<iq type='set' id='837ee6f2735abc55a72c046cd168ffd2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 15:55:01.360 ***🔗
bOb_unsubscribe_2828@domain.example.com/res1 in
<iq id='837ee6f2735abc55a72c046cd168ffd2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2828@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 15:55:01.360 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 out
<iq type='set' id='291faf352b38fd82089d3d6973c3690a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:55:01.360 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2828@domain.example.com/res1' id='291faf352b38fd82089d3d6973c3690a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 15:55:01.360 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 out
<presence/>



*** User 2024-02-26 15:55:01.361 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 in
<presence from='bob_unsubscribe_2828@domain.example.com/res1' to='bob_unsubscribe_2828@domain.example.com/res1'/>



*** User 2024-02-26 15:55:01.361 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 out
<iq type='set' id='7e6786b95abf8d10c07bcdc7d1a20e72'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2828@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:55:01.378 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 in
<iq from='alice_unsubscribe_2828@domain.example.com' to='alice_unsubscribe_2828@domain.example.com/res1' id='pusha2f6d4085d5fd367' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2828@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:55:01.378 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 in
<iq from='alice_unsubscribe_2828@domain.example.com' to='alice_unsubscribe_2828@domain.example.com/res1' id='7e6786b95abf8d10c07bcdc7d1a20e72' type='result'/>



*** User 2024-02-26 15:55:01.378 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 out
<iq to='alice_unsubscribe_2828@domain.example.com' id='pusha2f6d4085d5fd367' type='result'/>



*** User 2024-02-26 15:55:01.378 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2828@domain.example.com'/>



*** User 2024-02-26 15:55:01.412 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 in
<iq from='alice_unsubscribe_2828@domain.example.com' to='alice_unsubscribe_2828@domain.example.com/res1' id='pushbddac632279d01d1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2828@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:55:01.413 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 out
<iq to='alice_unsubscribe_2828@domain.example.com' id='pushbddac632279d01d1' type='result'/>



*** User 2024-02-26 15:55:01.413 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 in
<presence from='alice_unsubscribe_2828@domain.example.com' to='bob_unsubscribe_2828@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-26 15:55:01.413 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 out
<iq type='set' id='f3fafef25005f45387406ce14b6fd953'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2828@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:55:01.448 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 in
<iq from='bob_unsubscribe_2828@domain.example.com' to='bob_unsubscribe_2828@domain.example.com/res1' id='push92f8e429666b4fed' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2828@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:55:01.448 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 out
<iq to='bob_unsubscribe_2828@domain.example.com' id='push92f8e429666b4fed' type='result'/>



*** User 2024-02-26 15:55:01.448 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 in
<iq from='bob_unsubscribe_2828@domain.example.com' to='bob_unsubscribe_2828@domain.example.com/res1' id='f3fafef25005f45387406ce14b6fd953' type='result'/>



*** User 2024-02-26 15:55:01.448 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2828@domain.example.com'/>



*** User 2024-02-26 15:55:01.492 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 in
<iq from='alice_unsubscribe_2828@domain.example.com' to='alice_unsubscribe_2828@domain.example.com/res1' id='push1a6ad7ca616440ae' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2828@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:55:01.492 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 in
<presence from='bob_unsubscribe_2828@domain.example.com' to='alice_unsubscribe_2828@domain.example.com/res1' type='subscribed'/>



*** User 2024-02-26 15:55:01.492 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 in
<presence from='bob_unsubscribe_2828@domain.example.com/res1' to='alice_unsubscribe_2828@domain.example.com/res1'/>



*** User 2024-02-26 15:55:01.493 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 in
<iq from='bob_unsubscribe_2828@domain.example.com' to='bob_unsubscribe_2828@domain.example.com/res1' id='pushed5aa88d4aab0373' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2828@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:55:01.493 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2828@domain.example.com'/>



*** User 2024-02-26 15:55:01.549 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 in
<iq from='alice_unsubscribe_2828@domain.example.com' to='alice_unsubscribe_2828@domain.example.com/res1' id='pushbbac072b7ca3c27d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2828@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:55:01.549 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 out
<iq to='alice_unsubscribe_2828@domain.example.com' id='pushbbac072b7ca3c27d' type='result'/>



*** User 2024-02-26 15:55:01.549 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 in
<iq from='bob_unsubscribe_2828@domain.example.com' to='bob_unsubscribe_2828@domain.example.com/res1' id='pushd0ca62e3bca1129a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2828@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 15:55:01.549 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 in
<presence from='alice_unsubscribe_2828@domain.example.com' to='bob_unsubscribe_2828@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-02-26 15:55:01.549 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 in
<presence from='bob_unsubscribe_2828@domain.example.com/res1' to='alice_unsubscribe_2828@domain.example.com/res1' type='unavailable'/>



*** User 2024-02-26 15:55:01.550 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-26 15:55:01.550 ***🔗
bob_unsubscribe_2828@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-26 15:55:01.550 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-26 15:55:01.550 ***🔗
alice_unsubscribe_2828@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-26 15:55:01.559 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2559.html



=== Ended at 2024-02-26 15:55:01
=== successfully completed test case
=== === Returned value: ok