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

=== Config value:

    [{watchdog,<0.18052.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.124753187>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_roster_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.metrics_roster_SUITE.logs/run.2022-04-04_15.08.39/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@cb94372a8ea7.2022-04-04_15.02.36/big_tests.tests.metrics_roster_SUITE.logs/run.2022-04-04_15.08.39/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@cb94372a8ea7.2022-04-04_15.02.36"

=== Started at 2022-04-04 15:08:39


*** CT 2022-04-04 15:08:39.629 *** View log from node mongooseim@localhost when started mongooseim@localhost_1366.html
*** CT 2022-04-04 15:08:39.629 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_488.html

*** User 2022-04-04 15:08:39.637 ***
alicE_unsubscribe_1684@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:08:39.637 ***
alicE_unsubscribe_1684@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fbd391a5ef7873fc' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:08:39.637 ***
alicE_unsubscribe_1684@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-04-04 15:08:39.637 ***
alicE_unsubscribe_1684@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzE2ODQAbWF0eWdyeXNh</auth>



*** User 2022-04-04 15:08:39.638 ***
alicE_unsubscribe_1684@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:08:39.638 ***
alicE_unsubscribe_1684@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:08:39.639 ***
alicE_unsubscribe_1684@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf247e269c5f9e67' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:08:39.639 ***
alicE_unsubscribe_1684@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-04-04 15:08:39.639 ***
alicE_unsubscribe_1684@localhost/res1 out
<iq type='set' id='6b9780abd7e7a2c1fb74e4320f36621a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:08:39.639 ***
alicE_unsubscribe_1684@localhost/res1 in
<iq id='6b9780abd7e7a2c1fb74e4320f36621a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_1684@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:08:39.639 ***
alicE_unsubscribe_1684@localhost/res1 out
<iq type='set' id='523a7b67ce7b5e56728165f6c5ad6952'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:08:39.640 ***
alicE_unsubscribe_1684@localhost/res1 in
<iq type='result' id='523a7b67ce7b5e56728165f6c5ad6952'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:08:39.640 ***
alicE_unsubscribe_1684@localhost/res1 out
<presence/>



*** User 2022-04-04 15:08:39.641 ***
alicE_unsubscribe_1684@localhost/res1 in
<presence from='alicE_unsubscribe_1684@localhost/res1' to='alice_unsubscribe_1684@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:08:39.642 ***
bOb_unsubscribe_1684@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:08:39.642 ***
bOb_unsubscribe_1684@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cb31fca71e9db740' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:08:39.642 ***
bOb_unsubscribe_1684@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-04-04 15:08:39.642 ***
bOb_unsubscribe_1684@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xNjg0AG1ha3JvbGlrYQ==</auth>



*** User 2022-04-04 15:08:39.643 ***
bOb_unsubscribe_1684@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-04 15:08:39.643 ***
bOb_unsubscribe_1684@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-04-04 15:08:39.643 ***
bOb_unsubscribe_1684@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4daaf1f3b1369346' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-04 15:08:39.643 ***
bOb_unsubscribe_1684@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-04-04 15:08:39.644 ***
bOb_unsubscribe_1684@localhost/res1 out
<iq type='set' id='a84428dbfe31c39c4643b46c9b50fd57'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-04 15:08:39.644 ***
bOb_unsubscribe_1684@localhost/res1 in
<iq id='a84428dbfe31c39c4643b46c9b50fd57' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_1684@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-04 15:08:39.644 ***
bOb_unsubscribe_1684@localhost/res1 out
<iq type='set' id='13605e2d6cebb2c69261aa2213c5df3c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:08:39.644 ***
bOb_unsubscribe_1684@localhost/res1 in
<iq type='result' id='13605e2d6cebb2c69261aa2213c5df3c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-04 15:08:39.644 ***
bOb_unsubscribe_1684@localhost/res1 out
<presence/>



*** User 2022-04-04 15:08:39.645 ***
bOb_unsubscribe_1684@localhost/res1 in
<presence from='bOb_unsubscribe_1684@localhost/res1' to='bob_unsubscribe_1684@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:08:39.645 ***
alicE_unsubscribe_1684@localhost/res1 out
<iq type='set' id='63da226ae1d5236dd2163300ed4752ac'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_1684@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:08:39.649 ***
alicE_unsubscribe_1684@localhost/res1 in
<iq from='alicE_unsubscribe_1684@localhost' to='alicE_unsubscribe_1684@localhost/res1' id='push28612bf82326180c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_1684@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:08:39.649 ***
alicE_unsubscribe_1684@localhost/res1 out
<iq to='alicE_unsubscribe_1684@localhost' id='push28612bf82326180c' type='result'/>



*** User 2022-04-04 15:08:39.649 ***
alicE_unsubscribe_1684@localhost/res1 in
<iq from='alicE_unsubscribe_1684@localhost' to='alicE_unsubscribe_1684@localhost/res1' id='63da226ae1d5236dd2163300ed4752ac' type='result'/>



*** User 2022-04-04 15:08:39.649 ***
alicE_unsubscribe_1684@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1684@localhost'/>



*** User 2022-04-04 15:08:39.654 ***
alicE_unsubscribe_1684@localhost/res1 in
<iq from='alicE_unsubscribe_1684@localhost' to='alicE_unsubscribe_1684@localhost/res1' id='pushc8f33cf1788e56af' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_1684@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:08:39.654 ***
alicE_unsubscribe_1684@localhost/res1 out
<iq to='alicE_unsubscribe_1684@localhost' id='pushc8f33cf1788e56af' type='result'/>



*** User 2022-04-04 15:08:39.655 ***
bOb_unsubscribe_1684@localhost/res1 in
<presence from='alicE_unsubscribe_1684@localhost' to='bOb_unsubscribe_1684@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-04-04 15:08:39.655 ***
bOb_unsubscribe_1684@localhost/res1 out
<iq type='set' id='f78207ababf54e46d972459957094758'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_1684@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:08:39.658 ***
bOb_unsubscribe_1684@localhost/res1 in
<iq from='bOb_unsubscribe_1684@localhost' to='bOb_unsubscribe_1684@localhost/res1' id='pushb71ca8165eca6ede' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1684@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:08:39.658 ***
bOb_unsubscribe_1684@localhost/res1 out
<iq to='bOb_unsubscribe_1684@localhost' id='pushb71ca8165eca6ede' type='result'/>



*** User 2022-04-04 15:08:39.658 ***
bOb_unsubscribe_1684@localhost/res1 in
<iq from='bOb_unsubscribe_1684@localhost' to='bOb_unsubscribe_1684@localhost/res1' id='f78207ababf54e46d972459957094758' type='result'/>



*** User 2022-04-04 15:08:39.658 ***
bOb_unsubscribe_1684@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1684@localhost'/>



*** User 2022-04-04 15:08:39.664 ***
alicE_unsubscribe_1684@localhost/res1 in
<iq from='alicE_unsubscribe_1684@localhost' to='alicE_unsubscribe_1684@localhost/res1' id='pushf17c237a9044b997' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_1684@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:08:39.664 ***
alicE_unsubscribe_1684@localhost/res1 in
<presence from='bOb_unsubscribe_1684@localhost' to='alicE_unsubscribe_1684@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-04-04 15:08:39.664 ***
alicE_unsubscribe_1684@localhost/res1 in
<presence from='bOb_unsubscribe_1684@localhost/res1' to='alice_unsubscribe_1684@localhost/res1' xml:lang='en'/>



*** User 2022-04-04 15:08:39.664 ***
bOb_unsubscribe_1684@localhost/res1 in
<iq from='bOb_unsubscribe_1684@localhost' to='bOb_unsubscribe_1684@localhost/res1' id='push964ceb6c326eddf7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1684@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:08:39.664 ***
alicE_unsubscribe_1684@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1684@localhost'/>



*** User 2022-04-04 15:08:39.672 ***
alicE_unsubscribe_1684@localhost/res1 in
<iq from='alicE_unsubscribe_1684@localhost' to='alicE_unsubscribe_1684@localhost/res1' id='push5f4a3526434254db' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_1684@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:08:39.672 ***
alicE_unsubscribe_1684@localhost/res1 out
<iq to='alicE_unsubscribe_1684@localhost' id='push5f4a3526434254db' type='result'/>



*** User 2022-04-04 15:08:39.672 ***
bOb_unsubscribe_1684@localhost/res1 in
<iq from='bOb_unsubscribe_1684@localhost' to='bOb_unsubscribe_1684@localhost/res1' id='pushd8056a9c5c66e19a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1684@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-04 15:08:39.672 ***
bOb_unsubscribe_1684@localhost/res1 in
<presence from='alicE_unsubscribe_1684@localhost' to='bOb_unsubscribe_1684@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-04-04 15:08:39.673 ***
bOb_unsubscribe_1684@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:08:39.674 ***
bOb_unsubscribe_1684@localhost/res1 in
</stream:stream>

*** User 2022-04-04 15:08:39.674 ***
alicE_unsubscribe_1684@localhost/res1 out
</stream:stream>

*** User 2022-04-04 15:08:39.674 ***
alicE_unsubscribe_1684@localhost/res1 in
</stream:stream>
*** CT 2022-04-04 15:08:39.681 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_488.html
*** CT 2022-04-04 15:08:39.681 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1366.html



=== Ended at 2022-04-04 15:08:39
=== successfully completed test case
=== === Returned value: ok


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