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

=== Config value:

    [{watchdog,<0.15751.2>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.129660948>,
                         [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@2336f6dfd92e.2024-04-16_10.11.39/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_10.22.14/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@2336f6dfd92e.2024-04-16_10.11.39/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_10.22.14/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@2336f6dfd92e.2024-04-16_10.11.39"

=== Started at 2024-04-16 10:22:14


*** CT 2024-04-16 10:22:14.916 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2314.html

*** User 2024-04-16 10:22:14.924 ***🔗
alicE_unsubscribe_3240@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:22:14.924 ***🔗
alicE_unsubscribe_3240@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b03939e229e9da9' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-16 10:22:14.925 ***🔗
alicE_unsubscribe_3240@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:22:14.925 ***🔗
alicE_unsubscribe_3240@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1908f943b571f9f7' from='localhost' version='1.0' xml:lang='en' to='alice_unsubscribe_3240@localhost'>

*** User 2024-04-16 10:22:14.925 ***🔗
alicE_unsubscribe_3240@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:22:14.926 ***🔗
alicE_unsubscribe_3240@localhost/res1 out
<iq type='set' id='3a2df9ce17b4c28358558cdc44f2e966'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:22:14.926 ***🔗
alicE_unsubscribe_3240@localhost/res1 in
<iq id='3a2df9ce17b4c28358558cdc44f2e966' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_3240@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:22:14.926 ***🔗
alice_unsubscribe_3240@localhost/res1 out
<iq type='set' id='e612a26dc2d8ce1d1698484cf44a082e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



*** User 2024-04-16 10:22:14.926 ***🔗
alice_unsubscribe_3240@localhost/res1 out
<presence/>



*** User 2024-04-16 10:22:14.927 ***🔗
alice_unsubscribe_3240@localhost/res1 in
<presence from='alice_unsubscribe_3240@localhost/res1' to='alice_unsubscribe_3240@localhost/res1'/>



*** User 2024-04-16 10:22:14.927 ***🔗
bOb_unsubscribe_3240@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:22:14.928 ***🔗
bOb_unsubscribe_3240@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f3bb1df5c5b57c8b' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-16 10:22:14.929 ***🔗
bOb_unsubscribe_3240@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:22:14.929 ***🔗
bOb_unsubscribe_3240@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd703b019e456cfb' from='localhost' version='1.0' xml:lang='en' to='bob_unsubscribe_3240@localhost'>

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



*** User 2024-04-16 10:22:14.929 ***🔗
bOb_unsubscribe_3240@localhost/res1 in
<iq id='ec3954ebb4803e141bc114188280a069' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_3240@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:22:14.929 ***🔗
bob_unsubscribe_3240@localhost/res1 out
<iq type='set' id='da350208344f929cdb59952bbe22855c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



*** User 2024-04-16 10:22:14.930 ***🔗
bob_unsubscribe_3240@localhost/res1 out
<presence/>



*** User 2024-04-16 10:22:14.930 ***🔗
bob_unsubscribe_3240@localhost/res1 in
<presence from='bob_unsubscribe_3240@localhost/res1' to='bob_unsubscribe_3240@localhost/res1'/>



*** User 2024-04-16 10:22:14.930 ***🔗
alice_unsubscribe_3240@localhost/res1 out
<iq type='set' id='b7bcfee594d58298c65d772aba1d4a78'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_3240@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:14.932 ***🔗
alice_unsubscribe_3240@localhost/res1 in
<iq from='alice_unsubscribe_3240@localhost' to='alice_unsubscribe_3240@localhost/res1' id='pushe13d5da1a0cc3e82' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_3240@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:14.932 ***🔗
alice_unsubscribe_3240@localhost/res1 out
<iq to='alice_unsubscribe_3240@localhost' id='pushe13d5da1a0cc3e82' type='result'/>



*** User 2024-04-16 10:22:14.932 ***🔗
alice_unsubscribe_3240@localhost/res1 in
<iq from='alice_unsubscribe_3240@localhost' to='alice_unsubscribe_3240@localhost/res1' id='b7bcfee594d58298c65d772aba1d4a78' type='result'/>



*** User 2024-04-16 10:22:14.932 ***🔗
alice_unsubscribe_3240@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_3240@localhost'/>



*** User 2024-04-16 10:22:14.935 ***🔗
alice_unsubscribe_3240@localhost/res1 in
<iq from='alice_unsubscribe_3240@localhost' to='alice_unsubscribe_3240@localhost/res1' id='push0757baf9570a51ab' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_unsubscribe_3240@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:14.935 ***🔗
alice_unsubscribe_3240@localhost/res1 out
<iq to='alice_unsubscribe_3240@localhost' id='push0757baf9570a51ab' type='result'/>



*** User 2024-04-16 10:22:14.935 ***🔗
bob_unsubscribe_3240@localhost/res1 in
<presence from='alice_unsubscribe_3240@localhost' to='bob_unsubscribe_3240@localhost/res1' type='subscribe'/>



*** User 2024-04-16 10:22:14.935 ***🔗
bob_unsubscribe_3240@localhost/res1 out
<iq type='set' id='6bbe33407cbb5dfa9cd731a69dacd4d3'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_3240@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:14.937 ***🔗
bob_unsubscribe_3240@localhost/res1 in
<iq from='bob_unsubscribe_3240@localhost' to='bob_unsubscribe_3240@localhost/res1' id='push9e179873a6448086' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3240@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:14.937 ***🔗
bob_unsubscribe_3240@localhost/res1 out
<iq to='bob_unsubscribe_3240@localhost' id='push9e179873a6448086' type='result'/>



*** User 2024-04-16 10:22:14.937 ***🔗
bob_unsubscribe_3240@localhost/res1 in
<iq from='bob_unsubscribe_3240@localhost' to='bob_unsubscribe_3240@localhost/res1' id='6bbe33407cbb5dfa9cd731a69dacd4d3' type='result'/>



*** User 2024-04-16 10:22:14.937 ***🔗
bob_unsubscribe_3240@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_3240@localhost'/>



*** User 2024-04-16 10:22:14.940 ***🔗
alice_unsubscribe_3240@localhost/res1 in
<iq from='alice_unsubscribe_3240@localhost' to='alice_unsubscribe_3240@localhost/res1' id='push430fbda99bd50419' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_3240@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:14.940 ***🔗
alice_unsubscribe_3240@localhost/res1 in
<presence from='bob_unsubscribe_3240@localhost' to='alice_unsubscribe_3240@localhost/res1' type='subscribed'/>



*** User 2024-04-16 10:22:14.940 ***🔗
alice_unsubscribe_3240@localhost/res1 in
<presence from='bob_unsubscribe_3240@localhost/res1' to='alice_unsubscribe_3240@localhost/res1'/>



*** User 2024-04-16 10:22:14.940 ***🔗
bob_unsubscribe_3240@localhost/res1 in
<iq from='bob_unsubscribe_3240@localhost' to='bob_unsubscribe_3240@localhost/res1' id='push1cbe1d467f50506a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3240@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:14.940 ***🔗
alice_unsubscribe_3240@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_3240@localhost'/>



*** User 2024-04-16 10:22:14.943 ***🔗
alice_unsubscribe_3240@localhost/res1 in
<iq from='alice_unsubscribe_3240@localhost' to='alice_unsubscribe_3240@localhost/res1' id='push4b632ff24e62fbaa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_unsubscribe_3240@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:14.943 ***🔗
alice_unsubscribe_3240@localhost/res1 out
<iq to='alice_unsubscribe_3240@localhost' id='push4b632ff24e62fbaa' type='result'/>



*** User 2024-04-16 10:22:14.943 ***🔗
bob_unsubscribe_3240@localhost/res1 in
<iq from='bob_unsubscribe_3240@localhost' to='bob_unsubscribe_3240@localhost/res1' id='pushf6bd4d2bc5abe056' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_unsubscribe_3240@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:14.943 ***🔗
bob_unsubscribe_3240@localhost/res1 in
<presence from='alice_unsubscribe_3240@localhost' to='bob_unsubscribe_3240@localhost/res1' type='unsubscribe'/>



*** User 2024-04-16 10:22:14.944 ***🔗
bob_unsubscribe_3240@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:22:14.944 ***🔗
bob_unsubscribe_3240@localhost/res1 in
</stream:stream>

*** User 2024-04-16 10:22:14.944 ***🔗
alice_unsubscribe_3240@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:22:14.944 ***🔗
alice_unsubscribe_3240@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 10:22:14.950 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2314.html



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


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