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

=== Config value:

    [{watchdog,<0.71959.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@16750ec82d36.2024-04-23_08.57.12/big_tests.tests.presence_SUITE.logs/run.2024-04-23_09.10.52/presence_suite.unsubscribe.167939.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@16750ec82d36.2024-04-23_08.57.12/big_tests.tests.presence_SUITE.logs/run.2024-04-23_09.10.52/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@16750ec82d36.2024-04-23_08.57.12"

=== Started at 2024-04-23 09:10:54


*** CT 2024-04-23 09:10:54.816 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2577.html

*** User 2024-04-23 09:10:54.831 ***🔗
alicE_unsubscribe_2869@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-04-23 09:10:54.831 ***🔗
alicE_unsubscribe_2869@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb410d6587d444f6' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 09:10:54.831 ***🔗
alicE_unsubscribe_2869@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-04-23 09:10:54.831 ***🔗
alicE_unsubscribe_2869@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI4NjkAbWF0eWdyeXNh</auth>



*** User 2024-04-23 09:10:54.832 ***🔗
alicE_unsubscribe_2869@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 09:10:54.832 ***🔗
alicE_unsubscribe_2869@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-04-23 09:10:54.833 ***🔗
alicE_unsubscribe_2869@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7d8735dcccf32627' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2869@domain.example.com'>

*** User 2024-04-23 09:10:54.833 ***🔗
alicE_unsubscribe_2869@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-04-23 09:10:54.833 ***🔗
alicE_unsubscribe_2869@domain.example.com/res1 out
<iq type='set' id='8cee8478df4fad94e58286d1f60dd925'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 09:10:54.833 ***🔗
alicE_unsubscribe_2869@domain.example.com/res1 in
<iq id='8cee8478df4fad94e58286d1f60dd925' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2869@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 09:10:54.833 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 out
<iq type='set' id='0b74d89b93ab885248e8f24b01937f37'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:10:54.834 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2869@domain.example.com/res1' id='0b74d89b93ab885248e8f24b01937f37' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:10:54.834 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 09:10:54.835 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 in
<presence from='alice_unsubscribe_2869@domain.example.com/res1' to='alice_unsubscribe_2869@domain.example.com/res1'/>



*** User 2024-04-23 09:10:54.836 ***🔗
bOb_unsubscribe_2869@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-04-23 09:10:54.836 ***🔗
bOb_unsubscribe_2869@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5631bcde1b744563' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-23 09:10:54.837 ***🔗
bOb_unsubscribe_2869@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-04-23 09:10:54.837 ***🔗
bOb_unsubscribe_2869@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yODY5AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-23 09:10:54.838 ***🔗
bOb_unsubscribe_2869@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 09:10:54.838 ***🔗
bOb_unsubscribe_2869@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-04-23 09:10:54.838 ***🔗
bOb_unsubscribe_2869@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bf040f3c0577dc32' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2869@domain.example.com'>

*** User 2024-04-23 09:10:54.838 ***🔗
bOb_unsubscribe_2869@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-04-23 09:10:54.838 ***🔗
bOb_unsubscribe_2869@domain.example.com/res1 out
<iq type='set' id='dabc41d2890fe73dec32bc8e2e996234'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 09:10:54.839 ***🔗
bOb_unsubscribe_2869@domain.example.com/res1 in
<iq id='dabc41d2890fe73dec32bc8e2e996234' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2869@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 09:10:54.839 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 out
<iq type='set' id='ca706a41b3ba87ae988d524c24114595'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:10:54.839 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2869@domain.example.com/res1' id='ca706a41b3ba87ae988d524c24114595' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 09:10:54.839 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 out
<presence/>



*** User 2024-04-23 09:10:54.840 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 in
<presence from='bob_unsubscribe_2869@domain.example.com/res1' to='bob_unsubscribe_2869@domain.example.com/res1'/>



*** User 2024-04-23 09:10:54.840 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 out
<iq type='set' id='a23126aa3ad84eba3dfcf07739126e30'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2869@domain.example.com' name='Bobby'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 09:10:54.865 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 in
<iq from='alice_unsubscribe_2869@domain.example.com' to='alice_unsubscribe_2869@domain.example.com/res1' id='pushe3742f348df2557b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2869@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 09:10:54.865 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 in
<iq from='alice_unsubscribe_2869@domain.example.com' to='alice_unsubscribe_2869@domain.example.com/res1' id='a23126aa3ad84eba3dfcf07739126e30' type='result'/>



*** User 2024-04-23 09:10:54.865 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 out
<iq to='alice_unsubscribe_2869@domain.example.com' id='pushe3742f348df2557b' type='result'/>



*** User 2024-04-23 09:10:54.865 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2869@domain.example.com'/>



*** User 2024-04-23 09:10:54.874 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 in
<iq from='alice_unsubscribe_2869@domain.example.com' to='alice_unsubscribe_2869@domain.example.com/res1' id='push40f3f5777076cbae' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' ask='subscribe' jid='bob_unsubscribe_2869@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 09:10:54.874 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 out
<iq to='alice_unsubscribe_2869@domain.example.com' id='push40f3f5777076cbae' type='result'/>



*** User 2024-04-23 09:10:54.874 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 in
<presence from='alice_unsubscribe_2869@domain.example.com' to='bob_unsubscribe_2869@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-23 09:10:54.874 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 out
<iq type='set' id='5eda1a8bd945e8fba353293b4212b045'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2869@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 09:10:54.884 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 in
<iq from='bob_unsubscribe_2869@domain.example.com' to='bob_unsubscribe_2869@domain.example.com/res1' id='push96625d2a736486eb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2869@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 09:10:54.884 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 out
<iq to='bob_unsubscribe_2869@domain.example.com' id='push96625d2a736486eb' type='result'/>



*** User 2024-04-23 09:10:54.884 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 in
<iq from='bob_unsubscribe_2869@domain.example.com' to='bob_unsubscribe_2869@domain.example.com/res1' id='5eda1a8bd945e8fba353293b4212b045' type='result'/>



*** User 2024-04-23 09:10:54.884 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2869@domain.example.com'/>



*** User 2024-04-23 09:10:54.891 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 in
<iq from='alice_unsubscribe_2869@domain.example.com' to='alice_unsubscribe_2869@domain.example.com/res1' id='push15277260004aaf2d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2869@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 09:10:54.891 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 in
<presence from='bob_unsubscribe_2869@domain.example.com' to='alice_unsubscribe_2869@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-23 09:10:54.892 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 in
<presence from='bob_unsubscribe_2869@domain.example.com/res1' to='alice_unsubscribe_2869@domain.example.com/res1'/>



*** User 2024-04-23 09:10:54.892 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 in
<iq from='bob_unsubscribe_2869@domain.example.com' to='bob_unsubscribe_2869@domain.example.com/res1' id='push03ce5eafd49a93b0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2869@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 09:10:54.892 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2869@domain.example.com'/>



*** User 2024-04-23 09:10:54.900 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 in
<iq from='alice_unsubscribe_2869@domain.example.com' to='alice_unsubscribe_2869@domain.example.com/res1' id='pusha74cd646cd1d6b43' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Bobby' jid='bob_unsubscribe_2869@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 09:10:54.901 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 out
<iq to='alice_unsubscribe_2869@domain.example.com' id='pusha74cd646cd1d6b43' type='result'/>



*** User 2024-04-23 09:10:54.901 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 in
<iq from='bob_unsubscribe_2869@domain.example.com' to='bob_unsubscribe_2869@domain.example.com/res1' id='pushfb782baf01bc275c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2869@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 09:10:54.901 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 in
<presence from='alice_unsubscribe_2869@domain.example.com' to='bob_unsubscribe_2869@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-23 09:10:54.901 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 in
<presence from='bob_unsubscribe_2869@domain.example.com/res1' to='alice_unsubscribe_2869@domain.example.com/res1' type='unavailable'/>



*** User 2024-04-23 09:10:54.901 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 09:10:54.901 ***🔗
bob_unsubscribe_2869@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-23 09:10:54.901 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-23 09:10:54.902 ***🔗
alice_unsubscribe_2869@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-23 09:10:54.911 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2577.html



=== Ended at 2024-04-23 09:10:54
=== successfully completed test case
=== === Returned value: ok