=== Test case: metrics_roster_SUITE:subscribe/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.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@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.327 *** View log from node mongooseim@localhost when started mongooseim@localhost_1227.html
*** CT 2022-04-05 07:49:53.328 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_487.html

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

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



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



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

*** User 2022-04-05 07:49:53.358 ***
alicE_subscribe_840@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.358 ***
alicE_subscribe_840@localhost/res1 out
<iq type='set' id='45352c89d0b4f07eb4f34c32055745a3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:49:53.359 ***
alicE_subscribe_840@localhost/res1 in
<iq id='45352c89d0b4f07eb4f34c32055745a3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_840@localhost/res1</jid>
	</bind>
</iq>



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



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



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



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



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

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



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



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

*** User 2022-04-05 07:49:53.366 ***
bOb_subscribe_840@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.366 ***
bOb_subscribe_840@localhost/res1 out
<iq type='set' id='909fd5cff15d047b12bbc620bb119d6e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-05 07:49:53.366 ***
bOb_subscribe_840@localhost/res1 in
<iq id='909fd5cff15d047b12bbc620bb119d6e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_840@localhost/res1</jid>
	</bind>
</iq>



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



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



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



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



*** User 2022-04-05 07:49:53.369 ***
alicE_subscribe_840@localhost/res1 out
<iq type='set' id='4c3d3f2efebe1c7ce7523382383abbf4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_840@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



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



*** User 2022-04-05 07:49:53.372 ***
alicE_subscribe_840@localhost/res1 out
<iq to='alicE_subscribe_840@localhost' id='push6091e0b3d8604e89' type='result'/>



*** User 2022-04-05 07:49:53.373 ***
alicE_subscribe_840@localhost/res1 in
<iq from='alicE_subscribe_840@localhost' to='alicE_subscribe_840@localhost/res1' id='4c3d3f2efebe1c7ce7523382383abbf4' type='result'/>



*** User 2022-04-05 07:49:53.373 ***
alicE_subscribe_840@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_840@localhost'/>



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



*** User 2022-04-05 07:49:53.380 ***
alicE_subscribe_840@localhost/res1 out
<iq to='alicE_subscribe_840@localhost' id='push477f23b390305501' type='result'/>



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



*** User 2022-04-05 07:49:53.380 ***
bOb_subscribe_840@localhost/res1 out
<iq type='set' id='dd5839e6525664f57adda1e45a060516'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_subscribe_840@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



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



*** User 2022-04-05 07:49:53.384 ***
bOb_subscribe_840@localhost/res1 out
<iq to='bOb_subscribe_840@localhost' id='pusha2e3eaedbdec7ebb' type='result'/>



*** User 2022-04-05 07:49:53.384 ***
bOb_subscribe_840@localhost/res1 in
<iq from='bOb_subscribe_840@localhost' to='bOb_subscribe_840@localhost/res1' id='dd5839e6525664f57adda1e45a060516' type='result'/>



*** User 2022-04-05 07:49:53.384 ***
bOb_subscribe_840@localhost/res1 out
<presence type='subscribed' to='alicE_subscribe_840@localhost'/>



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



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



*** User 2022-04-05 07:49:53.392 ***
alicE_subscribe_840@localhost/res1 in
<presence from='bOb_subscribe_840@localhost/res1' to='alice_subscribe_840@localhost/res1' xml:lang='en'/>



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



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

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

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

*** User 2022-04-05 07:49:53.394 ***
alicE_subscribe_840@localhost/res1 in
</stream:stream>
*** CT 2022-04-05 07:49:53.401 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_487.html
*** CT 2022-04-05 07:49:53.402 *** 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