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

=== Config value:

    [{watchdog,<0.61549.0>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.90531342>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_roster_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-09_11.46.02/metrics_roster_suite.unsubscribe.html"},
     {tc_group_properties,[{name,subscriptions},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/metrics_roster_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@528a5a4ce401.2024-04-09_11.36.09/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-09_11.46.02/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@528a5a4ce401.2024-04-09_11.36.09"

=== Started at 2024-04-09 11:46:03


*** CT 2024-04-09 11:46:03.182 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2301.html

*** User 2024-04-09 11:46:03.192 ***🔗
alicE_unsubscribe_2739@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-09 11:46:03.192 ***🔗
alicE_unsubscribe_2739@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='44e16b898444c586' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:46:03.193 ***🔗
alicE_unsubscribe_2739@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-09 11:46:03.193 ***🔗
alicE_unsubscribe_2739@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzI3MzkAbWF0eWdyeXNh</auth>



*** User 2024-04-09 11:46:03.193 ***🔗
alicE_unsubscribe_2739@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:46:03.194 ***🔗
alicE_unsubscribe_2739@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-09 11:46:03.194 ***🔗
alicE_unsubscribe_2739@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9f4e8b78a63e5d4b' from='domain.example.com' version='1.0' xml:lang='en' to='alice_unsubscribe_2739@domain.example.com'>

*** User 2024-04-09 11:46:03.194 ***🔗
alicE_unsubscribe_2739@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-09 11:46:03.194 ***🔗
alicE_unsubscribe_2739@domain.example.com/res1 out
<iq type='set' id='f4a8cfd2ea7627b7e3120a67bb97e888'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:46:03.194 ***🔗
alicE_unsubscribe_2739@domain.example.com/res1 in
<iq id='f4a8cfd2ea7627b7e3120a67bb97e888' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_2739@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:46:03.194 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 out
<iq type='set' id='dfe57308a7e0f26bf4faf5d4f700fe3e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:46:03.195 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_unsubscribe_2739@domain.example.com/res1' id='dfe57308a7e0f26bf4faf5d4f700fe3e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:46:03.195 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 11:46:03.196 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 in
<presence from='alice_unsubscribe_2739@domain.example.com/res1' to='alice_unsubscribe_2739@domain.example.com/res1'/>



*** User 2024-04-09 11:46:03.196 ***🔗
bOb_unsubscribe_2739@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-09 11:46:03.197 ***🔗
bOb_unsubscribe_2739@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='139df71ba3fe45fb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 11:46:03.197 ***🔗
bOb_unsubscribe_2739@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-09 11:46:03.197 ***🔗
bOb_unsubscribe_2739@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8yNzM5AG1ha3JvbGlrYQ==</auth>



*** User 2024-04-09 11:46:03.198 ***🔗
bOb_unsubscribe_2739@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 11:46:03.198 ***🔗
bOb_unsubscribe_2739@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-09 11:46:03.198 ***🔗
bOb_unsubscribe_2739@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cad98169eeecd3ce' from='domain.example.com' version='1.0' xml:lang='en' to='bob_unsubscribe_2739@domain.example.com'>

*** User 2024-04-09 11:46:03.198 ***🔗
bOb_unsubscribe_2739@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-09 11:46:03.198 ***🔗
bOb_unsubscribe_2739@domain.example.com/res1 out
<iq type='set' id='db8b645c15eb05125b92c35c4a7ebe38'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 11:46:03.199 ***🔗
bOb_unsubscribe_2739@domain.example.com/res1 in
<iq id='db8b645c15eb05125b92c35c4a7ebe38' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_2739@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 11:46:03.199 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 out
<iq type='set' id='2081dbd8c6a59e25a95a253edb3878a5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:46:03.199 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_unsubscribe_2739@domain.example.com/res1' id='2081dbd8c6a59e25a95a253edb3878a5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 11:46:03.200 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 11:46:03.200 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 in
<presence from='bob_unsubscribe_2739@domain.example.com/res1' to='bob_unsubscribe_2739@domain.example.com/res1'/>



*** User 2024-04-09 11:46:03.200 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 out
<iq type='set' id='4e7e7a6c309e6439550528112c7bb191'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_2739@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:46:03.204 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 in
<iq from='alice_unsubscribe_2739@domain.example.com' to='alice_unsubscribe_2739@domain.example.com/res1' id='pushb5d68e4d3fc68bb8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2739@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:46:03.205 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 out
<iq to='alice_unsubscribe_2739@domain.example.com' id='pushb5d68e4d3fc68bb8' type='result'/>



*** User 2024-04-09 11:46:03.205 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 in
<iq from='alice_unsubscribe_2739@domain.example.com' to='alice_unsubscribe_2739@domain.example.com/res1' id='4e7e7a6c309e6439550528112c7bb191' type='result'/>



*** User 2024-04-09 11:46:03.205 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 out
<presence type='subscribe' to='bob_unsubscribe_2739@domain.example.com'/>



*** User 2024-04-09 11:46:03.210 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 in
<iq from='alice_unsubscribe_2739@domain.example.com' to='alice_unsubscribe_2739@domain.example.com/res1' id='push936a4dd320a6c65c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_2739@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:46:03.211 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 out
<iq to='alice_unsubscribe_2739@domain.example.com' id='push936a4dd320a6c65c' type='result'/>



*** User 2024-04-09 11:46:03.211 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 in
<presence from='alice_unsubscribe_2739@domain.example.com' to='bob_unsubscribe_2739@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-09 11:46:03.211 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 out
<iq type='set' id='7ddd7ab4fd0636019eb5c4617609ac9c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_2739@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:46:03.215 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 in
<iq from='bob_unsubscribe_2739@domain.example.com' to='bob_unsubscribe_2739@domain.example.com/res1' id='pushe6e8a285c7087cce' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2739@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:46:03.215 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 out
<iq to='bob_unsubscribe_2739@domain.example.com' id='pushe6e8a285c7087cce' type='result'/>



*** User 2024-04-09 11:46:03.215 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 in
<iq from='bob_unsubscribe_2739@domain.example.com' to='bob_unsubscribe_2739@domain.example.com/res1' id='7ddd7ab4fd0636019eb5c4617609ac9c' type='result'/>



*** User 2024-04-09 11:46:03.216 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 out
<presence type='subscribed' to='alice_unsubscribe_2739@domain.example.com'/>



*** User 2024-04-09 11:46:03.220 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 in
<iq from='alice_unsubscribe_2739@domain.example.com' to='alice_unsubscribe_2739@domain.example.com/res1' id='pushcbeb7fb86dbfd8f2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2739@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:46:03.220 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 in
<presence from='bob_unsubscribe_2739@domain.example.com' to='alice_unsubscribe_2739@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-09 11:46:03.220 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 in
<presence from='bob_unsubscribe_2739@domain.example.com/res1' to='alice_unsubscribe_2739@domain.example.com/res1'/>



*** User 2024-04-09 11:46:03.220 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 in
<iq from='bob_unsubscribe_2739@domain.example.com' to='bob_unsubscribe_2739@domain.example.com/res1' id='push1d6fab3fbb3d154d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2739@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:46:03.220 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_2739@domain.example.com'/>



*** User 2024-04-09 11:46:03.227 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 in
<iq from='alice_unsubscribe_2739@domain.example.com' to='alice_unsubscribe_2739@domain.example.com/res1' id='push0002229a501c3ef0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_2739@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:46:03.228 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 out
<iq to='alice_unsubscribe_2739@domain.example.com' id='push0002229a501c3ef0' type='result'/>



*** User 2024-04-09 11:46:03.228 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 in
<iq from='bob_unsubscribe_2739@domain.example.com' to='bob_unsubscribe_2739@domain.example.com/res1' id='push42017045fa82c5c2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_2739@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 11:46:03.228 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 in
<presence from='alice_unsubscribe_2739@domain.example.com' to='bob_unsubscribe_2739@domain.example.com/res1' type='unsubscribe'/>



*** User 2024-04-09 11:46:03.229 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 11:46:03.229 ***🔗
bob_unsubscribe_2739@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-09 11:46:03.229 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 11:46:03.229 ***🔗
alice_unsubscribe_2739@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-09 11:46:03.234 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2301.html



=== Ended at 2024-04-09 11:46:03
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result