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

=== Config value:

    [{watchdog,<0.21478.0>},
     {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,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-18_10.53.17/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@fbe05ecb9552.2022-03-18_10.50.03/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-18_10.53.17/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@fbe05ecb9552.2022-03-18_10.50.03"

=== Started at 2022-03-18 10:53:18


*** CT 2022-03-18 10:53:18.197 *** View log from node mongooseim@localhost when started mongooseim@localhost_889.html
*** CT 2022-03-18 10:53:18.198 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_485.html

*** User 2022-03-18 10:53:18.206 ***
alicE_unsubscribe_803@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-03-18 10:53:18.206 ***
alicE_unsubscribe_803@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cc1fac5686faf580' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:18.206 ***
alicE_unsubscribe_803@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>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-03-18 10:53:18.206 ***
alicE_unsubscribe_803@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzgwMwBtYXR5Z3J5c2E=</auth>



*** User 2022-03-18 10:53:18.211 ***
alicE_unsubscribe_803@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:53:18.211 ***
alicE_unsubscribe_803@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-03-18 10:53:18.211 ***
alicE_unsubscribe_803@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a6eb39bfda25a188' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:18.211 ***
alicE_unsubscribe_803@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-03-18 10:53:18.211 ***
alicE_unsubscribe_803@localhost/res1 out
<iq type='set' id='fd27214af4fb01147daab4d5466e7e50'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:18.211 ***
alicE_unsubscribe_803@localhost/res1 in
<iq id='fd27214af4fb01147daab4d5466e7e50' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_803@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:18.212 ***
alicE_unsubscribe_803@localhost/res1 out
<iq type='set' id='9dfa45c9824b2db042bdf89703f44dbc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:18.212 ***
alicE_unsubscribe_803@localhost/res1 in
<iq type='result' id='9dfa45c9824b2db042bdf89703f44dbc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:18.212 ***
alicE_unsubscribe_803@localhost/res1 out
<presence/>



*** User 2022-03-18 10:53:18.212 ***
alicE_unsubscribe_803@localhost/res1 in
<presence from='alicE_unsubscribe_803@localhost/res1' to='alice_unsubscribe_803@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:53:18.213 ***
bOb_unsubscribe_803@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-03-18 10:53:18.214 ***
bOb_unsubscribe_803@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='66e78fba27051291' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:18.214 ***
bOb_unsubscribe_803@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>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-03-18 10:53:18.215 ***
bOb_unsubscribe_803@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV84MDMAbWFrcm9saWth</auth>



*** User 2022-03-18 10:53:18.216 ***
bOb_unsubscribe_803@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 10:53:18.216 ***
bOb_unsubscribe_803@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-03-18 10:53:18.216 ***
bOb_unsubscribe_803@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b4741795c5321afd' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 10:53:18.216 ***
bOb_unsubscribe_803@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-03-18 10:53:18.216 ***
bOb_unsubscribe_803@localhost/res1 out
<iq type='set' id='35e2c65342fff35b006aac7ceb5b3e1a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 10:53:18.217 ***
bOb_unsubscribe_803@localhost/res1 in
<iq id='35e2c65342fff35b006aac7ceb5b3e1a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_803@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 10:53:18.217 ***
bOb_unsubscribe_803@localhost/res1 out
<iq type='set' id='3be9e225eacd5c7e5564d4a8dc584be6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:18.217 ***
bOb_unsubscribe_803@localhost/res1 in
<iq type='result' id='3be9e225eacd5c7e5564d4a8dc584be6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:18.217 ***
bOb_unsubscribe_803@localhost/res1 out
<presence/>



*** User 2022-03-18 10:53:18.218 ***
bOb_unsubscribe_803@localhost/res1 in
<presence from='bOb_unsubscribe_803@localhost/res1' to='bob_unsubscribe_803@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:53:18.218 ***
alicE_unsubscribe_803@localhost/res1 out
<iq type='set' id='7e5df2d34eaa7f39ac233eb7ce591003'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_803@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:53:18.219 ***
alicE_unsubscribe_803@localhost/res1 in
<iq from='alicE_unsubscribe_803@localhost' to='alicE_unsubscribe_803@localhost/res1' id='pushe3934b952f1dfda5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_803@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:53:18.219 ***
alicE_unsubscribe_803@localhost/res1 out
<iq to='alicE_unsubscribe_803@localhost' id='pushe3934b952f1dfda5' type='result'/>



*** User 2022-03-18 10:53:18.219 ***
alicE_unsubscribe_803@localhost/res1 in
<iq from='alicE_unsubscribe_803@localhost' to='alicE_unsubscribe_803@localhost/res1' id='7e5df2d34eaa7f39ac233eb7ce591003' type='result'/>



*** User 2022-03-18 10:53:18.219 ***
alicE_unsubscribe_803@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_803@localhost'/>



*** User 2022-03-18 10:53:18.220 ***
alicE_unsubscribe_803@localhost/res1 in
<iq from='alicE_unsubscribe_803@localhost' to='alicE_unsubscribe_803@localhost/res1' id='push47f29e1ec696edca' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_803@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:53:18.220 ***
alicE_unsubscribe_803@localhost/res1 out
<iq to='alicE_unsubscribe_803@localhost' id='push47f29e1ec696edca' type='result'/>



*** User 2022-03-18 10:53:18.220 ***
bOb_unsubscribe_803@localhost/res1 in
<presence from='alicE_unsubscribe_803@localhost' to='bOb_unsubscribe_803@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-18 10:53:18.221 ***
bOb_unsubscribe_803@localhost/res1 out
<iq type='set' id='3576665064cd839926017ac0c701595a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_803@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:53:18.221 ***
bOb_unsubscribe_803@localhost/res1 in
<iq from='bOb_unsubscribe_803@localhost' to='bOb_unsubscribe_803@localhost/res1' id='push089fac0e2cdd1511' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_803@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:53:18.221 ***
bOb_unsubscribe_803@localhost/res1 out
<iq to='bOb_unsubscribe_803@localhost' id='push089fac0e2cdd1511' type='result'/>



*** User 2022-03-18 10:53:18.222 ***
bOb_unsubscribe_803@localhost/res1 in
<iq from='bOb_unsubscribe_803@localhost' to='bOb_unsubscribe_803@localhost/res1' id='3576665064cd839926017ac0c701595a' type='result'/>



*** User 2022-03-18 10:53:18.222 ***
bOb_unsubscribe_803@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_803@localhost'/>



*** User 2022-03-18 10:53:18.223 ***
alicE_unsubscribe_803@localhost/res1 in
<iq from='alicE_unsubscribe_803@localhost' to='alicE_unsubscribe_803@localhost/res1' id='push225ffd377473b84b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_803@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:53:18.223 ***
alicE_unsubscribe_803@localhost/res1 in
<presence from='bOb_unsubscribe_803@localhost' to='alicE_unsubscribe_803@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-18 10:53:18.224 ***
alicE_unsubscribe_803@localhost/res1 in
<presence from='bOb_unsubscribe_803@localhost/res1' to='alice_unsubscribe_803@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 10:53:18.224 ***
bOb_unsubscribe_803@localhost/res1 in
<iq from='bOb_unsubscribe_803@localhost' to='bOb_unsubscribe_803@localhost/res1' id='push81d7105087917501' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_803@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:53:18.224 ***
alicE_unsubscribe_803@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_803@localhost'/>



*** User 2022-03-18 10:53:18.229 ***
alicE_unsubscribe_803@localhost/res1 in
<iq from='alicE_unsubscribe_803@localhost' to='alicE_unsubscribe_803@localhost/res1' id='pushe8a8e00485b22f1a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_803@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:53:18.229 ***
alicE_unsubscribe_803@localhost/res1 out
<iq to='alicE_unsubscribe_803@localhost' id='pushe8a8e00485b22f1a' type='result'/>



*** User 2022-03-18 10:53:18.229 ***
bOb_unsubscribe_803@localhost/res1 in
<iq from='bOb_unsubscribe_803@localhost' to='bOb_unsubscribe_803@localhost/res1' id='push4604e51c341513ad' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_803@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 10:53:18.229 ***
bOb_unsubscribe_803@localhost/res1 in
<presence from='alicE_unsubscribe_803@localhost' to='bOb_unsubscribe_803@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-03-18 10:53:18.230 ***
bOb_unsubscribe_803@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:53:18.230 ***
bOb_unsubscribe_803@localhost/res1 in
</stream:stream>

*** User 2022-03-18 10:53:18.230 ***
alicE_unsubscribe_803@localhost/res1 out
</stream:stream>

*** User 2022-03-18 10:53:18.230 ***
alicE_unsubscribe_803@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 10:53:18.233 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_485.html
*** CT 2022-03-18 10:53:18.233 *** View log from node mongooseim@localhost when finished mongooseim@localhost_889.html



=== Ended at 2022-03-18 10:53:18
=== successfully completed test case
=== === Returned value: ok


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