=== Test case: metrics_roster_SUITE:subscribe/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.subscribe.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.322 *** View log from node mongooseim@localhost when started mongooseim@localhost_889.html
*** CT 2022-03-18 10:53:18.323 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_485.html

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

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



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



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

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



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



*** User 2022-03-18 10:53:18.337 ***
alicE_subscribe_805@localhost/res1 out
<iq type='set' id='5658702fe85d050a2d57f26596867a7a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 10:53:18.338 ***
alicE_subscribe_805@localhost/res1 in
<iq type='result' id='5658702fe85d050a2d57f26596867a7a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



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



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

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



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



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

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



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



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



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



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



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



*** User 2022-03-18 10:53:18.343 ***
alicE_subscribe_805@localhost/res1 out
<iq type='set' id='31e936482babadb966405d0336d100e2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_805@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



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



*** User 2022-03-18 10:53:18.344 ***
alicE_subscribe_805@localhost/res1 out
<iq to='alicE_subscribe_805@localhost' id='push25fd2350f9cfc015' type='result'/>



*** User 2022-03-18 10:53:18.344 ***
alicE_subscribe_805@localhost/res1 in
<iq from='alicE_subscribe_805@localhost' to='alicE_subscribe_805@localhost/res1' id='31e936482babadb966405d0336d100e2' type='result'/>



*** User 2022-03-18 10:53:18.344 ***
alicE_subscribe_805@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_805@localhost'/>



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



*** User 2022-03-18 10:53:18.346 ***
alicE_subscribe_805@localhost/res1 out
<iq to='alicE_subscribe_805@localhost' id='pushdf119f321a94431b' type='result'/>



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



*** User 2022-03-18 10:53:18.346 ***
bOb_subscribe_805@localhost/res1 out
<iq type='set' id='c339cba0c8187b1ead95306e33bebb97'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_subscribe_805@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



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



*** User 2022-03-18 10:53:18.346 ***
bOb_subscribe_805@localhost/res1 out
<iq to='bOb_subscribe_805@localhost' id='pushcb9ffe24c37cd578' type='result'/>



*** User 2022-03-18 10:53:18.347 ***
bOb_subscribe_805@localhost/res1 in
<iq from='bOb_subscribe_805@localhost' to='bOb_subscribe_805@localhost/res1' id='c339cba0c8187b1ead95306e33bebb97' type='result'/>



*** User 2022-03-18 10:53:18.347 ***
bOb_subscribe_805@localhost/res1 out
<presence type='subscribed' to='alicE_subscribe_805@localhost'/>



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



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



*** User 2022-03-18 10:53:18.348 ***
alicE_subscribe_805@localhost/res1 in
<presence from='bOb_subscribe_805@localhost/res1' to='alice_subscribe_805@localhost/res1' xml:lang='en'/>



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



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

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

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

*** User 2022-03-18 10:53:18.350 ***
alicE_subscribe_805@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 10:53:18.352 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_485.html
*** CT 2022-03-18 10:53:18.352 *** 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