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

=== Config value:

    [{watchdog,<0.26242.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,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.metrics_roster_SUITE.logs/run.2022-04-05_07.49.52/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@22b4515d438b.2022-04-05_07.43.19/big_tests.tests.metrics_roster_SUITE.logs/run.2022-04-05_07.49.52/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@22b4515d438b.2022-04-05_07.43.19"

=== Started at 2022-04-05 07:49:53


*** CT 2022-04-05 07:49:53.154 *** View log from node mongooseim@localhost when started mongooseim@localhost_1227.html
*** CT 2022-04-05 07:49:53.154 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_487.html

*** User 2022-04-05 07:49:53.164 ***
alicE_unsubscribe_838@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-05 07:49:53.164 ***
alicE_unsubscribe_838@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0a5fab1d4e8d1cbe' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:49:53.164 ***
alicE_unsubscribe_838@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-05 07:49:53.164 ***
alicE_unsubscribe_838@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzgzOABtYXR5Z3J5c2E=</auth>



*** User 2022-04-05 07:49:53.166 ***
alicE_unsubscribe_838@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:49:53.166 ***
alicE_unsubscribe_838@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-05 07:49:53.166 ***
alicE_unsubscribe_838@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='57ae717e54cad228' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:49:53.166 ***
alicE_unsubscribe_838@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-05 07:49:53.166 ***
alicE_unsubscribe_838@localhost/res1 out
<iq type='set' id='6727aa7e7a62b927b4c407cb1931a4f8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:49:53.167 ***
alicE_unsubscribe_838@localhost/res1 in
<iq id='6727aa7e7a62b927b4c407cb1931a4f8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_838@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-05 07:49:53.167 ***
alicE_unsubscribe_838@localhost/res1 out
<iq type='set' id='77eccfa0f64de3fb5c911bc5acd24fd4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:49:53.167 ***
alicE_unsubscribe_838@localhost/res1 in
<iq type='result' id='77eccfa0f64de3fb5c911bc5acd24fd4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:49:53.167 ***
alicE_unsubscribe_838@localhost/res1 out
<presence/>



*** User 2022-04-05 07:49:53.169 ***
alicE_unsubscribe_838@localhost/res1 in
<presence from='alicE_unsubscribe_838@localhost/res1' to='alice_unsubscribe_838@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:49:53.169 ***
bOb_unsubscribe_838@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-05 07:49:53.170 ***
bOb_unsubscribe_838@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de6a7ed0cc033160' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:49:53.170 ***
bOb_unsubscribe_838@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-05 07:49:53.170 ***
bOb_unsubscribe_838@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV84MzgAbWFrcm9saWth</auth>



*** User 2022-04-05 07:49:53.171 ***
bOb_unsubscribe_838@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-05 07:49:53.172 ***
bOb_unsubscribe_838@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-05 07:49:53.172 ***
bOb_unsubscribe_838@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='616bd06c24a0b206' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-05 07:49:53.172 ***
bOb_unsubscribe_838@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-05 07:49:53.172 ***
bOb_unsubscribe_838@localhost/res1 out
<iq type='set' id='59b8389cc079adf306a86b5e63f3d296'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:49:53.172 ***
bOb_unsubscribe_838@localhost/res1 in
<iq id='59b8389cc079adf306a86b5e63f3d296' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_838@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-05 07:49:53.172 ***
bOb_unsubscribe_838@localhost/res1 out
<iq type='set' id='a41c48e7012349da22f461f974744db2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:49:53.172 ***
bOb_unsubscribe_838@localhost/res1 in
<iq type='result' id='a41c48e7012349da22f461f974744db2'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-05 07:49:53.173 ***
bOb_unsubscribe_838@localhost/res1 out
<presence/>



*** User 2022-04-05 07:49:53.174 ***
bOb_unsubscribe_838@localhost/res1 in
<presence from='bOb_unsubscribe_838@localhost/res1' to='bob_unsubscribe_838@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:49:53.174 ***
alicE_unsubscribe_838@localhost/res1 out
<iq type='set' id='0a835b50afa3fd76204315f7e7ce6fe8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_838@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:49:53.177 ***
alicE_unsubscribe_838@localhost/res1 in
<iq from='alicE_unsubscribe_838@localhost' to='alicE_unsubscribe_838@localhost/res1' id='push9f9728a20cfa6df9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_838@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:49:53.177 ***
alicE_unsubscribe_838@localhost/res1 out
<iq to='alicE_unsubscribe_838@localhost' id='push9f9728a20cfa6df9' type='result'/>



*** User 2022-04-05 07:49:53.177 ***
alicE_unsubscribe_838@localhost/res1 in
<iq from='alicE_unsubscribe_838@localhost' to='alicE_unsubscribe_838@localhost/res1' id='0a835b50afa3fd76204315f7e7ce6fe8' type='result'/>



*** User 2022-04-05 07:49:53.177 ***
alicE_unsubscribe_838@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_838@localhost'/>



*** User 2022-04-05 07:49:53.183 ***
alicE_unsubscribe_838@localhost/res1 in
<iq from='alicE_unsubscribe_838@localhost' to='alicE_unsubscribe_838@localhost/res1' id='push3fdcd4cfa62ecf41' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_838@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:49:53.183 ***
alicE_unsubscribe_838@localhost/res1 out
<iq to='alicE_unsubscribe_838@localhost' id='push3fdcd4cfa62ecf41' type='result'/>



*** User 2022-04-05 07:49:53.183 ***
bOb_unsubscribe_838@localhost/res1 in
<presence from='alicE_unsubscribe_838@localhost' to='bOb_unsubscribe_838@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-04-05 07:49:53.183 ***
bOb_unsubscribe_838@localhost/res1 out
<iq type='set' id='1d12b1123bcc4fb5e5da31583fd42d76'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_838@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:49:53.187 ***
bOb_unsubscribe_838@localhost/res1 in
<iq from='bOb_unsubscribe_838@localhost' to='bOb_unsubscribe_838@localhost/res1' id='push67bbdbdbd2436bf1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_838@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:49:53.187 ***
bOb_unsubscribe_838@localhost/res1 out
<iq to='bOb_unsubscribe_838@localhost' id='push67bbdbdbd2436bf1' type='result'/>



*** User 2022-04-05 07:49:53.187 ***
bOb_unsubscribe_838@localhost/res1 in
<iq from='bOb_unsubscribe_838@localhost' to='bOb_unsubscribe_838@localhost/res1' id='1d12b1123bcc4fb5e5da31583fd42d76' type='result'/>



*** User 2022-04-05 07:49:53.187 ***
bOb_unsubscribe_838@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_838@localhost'/>



*** User 2022-04-05 07:49:53.194 ***
alicE_unsubscribe_838@localhost/res1 in
<iq from='alicE_unsubscribe_838@localhost' to='alicE_unsubscribe_838@localhost/res1' id='pushd257ae57550c60e2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_838@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:49:53.194 ***
alicE_unsubscribe_838@localhost/res1 in
<presence from='bOb_unsubscribe_838@localhost' to='alicE_unsubscribe_838@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-04-05 07:49:53.194 ***
alicE_unsubscribe_838@localhost/res1 in
<presence from='bOb_unsubscribe_838@localhost/res1' to='alice_unsubscribe_838@localhost/res1' xml:lang='en'/>



*** User 2022-04-05 07:49:53.194 ***
bOb_unsubscribe_838@localhost/res1 in
<iq from='bOb_unsubscribe_838@localhost' to='bOb_unsubscribe_838@localhost/res1' id='pushfe74738ff53a8050' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_838@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:49:53.194 ***
alicE_unsubscribe_838@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_838@localhost'/>



*** User 2022-04-05 07:49:53.202 ***
alicE_unsubscribe_838@localhost/res1 in
<iq from='alicE_unsubscribe_838@localhost' to='alicE_unsubscribe_838@localhost/res1' id='pushbb0cd0984e0ffc43' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_838@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:49:53.202 ***
alicE_unsubscribe_838@localhost/res1 out
<iq to='alicE_unsubscribe_838@localhost' id='pushbb0cd0984e0ffc43' type='result'/>



*** User 2022-04-05 07:49:53.202 ***
bOb_unsubscribe_838@localhost/res1 in
<iq from='bOb_unsubscribe_838@localhost' to='bOb_unsubscribe_838@localhost/res1' id='push852e3518ddf221f3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_838@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-05 07:49:53.202 ***
bOb_unsubscribe_838@localhost/res1 in
<presence from='alicE_unsubscribe_838@localhost' to='bOb_unsubscribe_838@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-04-05 07:49:53.204 ***
bOb_unsubscribe_838@localhost/res1 out
</stream:stream>

*** User 2022-04-05 07:49:53.204 ***
bOb_unsubscribe_838@localhost/res1 in
</stream:stream>

*** User 2022-04-05 07:49:53.204 ***
alicE_unsubscribe_838@localhost/res1 out
</stream:stream>

*** User 2022-04-05 07:49:53.204 ***
alicE_unsubscribe_838@localhost/res1 in
</stream:stream>
*** CT 2022-04-05 07:49:53.210 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_487.html
*** CT 2022-04-05 07:49:53.211 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1227.html



=== Ended at 2022-04-05 07:49:53
=== successfully completed test case
=== === Returned value: ok


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