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

=== Config value:

    [{watchdog,<0.28553.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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-25_10.44.43/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@901bd2a377ee.2022-05-25_10.38.09/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-25_10.44.43/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@901bd2a377ee.2022-05-25_10.38.09"

=== Started at 2022-05-25 10:44:44


*** CT 2022-05-25 10:44:44.103 *** View log from node mongooseim@localhost when started mongooseim@localhost_1583.html
*** CT 2022-05-25 10:44:44.103 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_484.html

*** User 2022-05-25 10:44:44.112 ***
alicE_subscribe_913@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-05-25 10:44:44.112 ***
alicE_subscribe_913@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='48d6e2b738574371' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:44:44.112 ***
alicE_subscribe_913@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-05-25 10:44:44.112 ***
alicE_subscribe_913@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV85MTMAbWF0eWdyeXNh</auth>



*** User 2022-05-25 10:44:44.114 ***
alicE_subscribe_913@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:44:44.114 ***
alicE_subscribe_913@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-05-25 10:44:44.114 ***
alicE_subscribe_913@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52fde1128bcf1a17' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:44:44.114 ***
alicE_subscribe_913@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-05-25 10:44:44.114 ***
alicE_subscribe_913@localhost/res1 out
<iq type='set' id='d584355b57f6f53da7085f851d7f1c4e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:44:44.114 ***
alicE_subscribe_913@localhost/res1 in
<iq id='d584355b57f6f53da7085f851d7f1c4e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_913@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:44:44.115 ***
alice_subscribe_913@localhost/res1 out
<iq type='set' id='53ce29bfa4767402a390233441c4c929'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:44:44.115 ***
alice_subscribe_913@localhost/res1 in
<iq type='result' id='53ce29bfa4767402a390233441c4c929'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:44:44.115 ***
alice_subscribe_913@localhost/res1 out
<presence/>



*** User 2022-05-25 10:44:44.116 ***
alice_subscribe_913@localhost/res1 in
<presence from='alice_subscribe_913@localhost/res1' to='alice_subscribe_913@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:44:44.117 ***
bOb_subscribe_913@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-05-25 10:44:44.117 ***
bOb_subscribe_913@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fd0ea79b2839a8ac' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:44:44.117 ***
bOb_subscribe_913@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-05-25 10:44:44.117 ***
bOb_subscribe_913@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfOTEzAG1ha3JvbGlrYQ==</auth>



*** User 2022-05-25 10:44:44.119 ***
bOb_subscribe_913@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:44:44.119 ***
bOb_subscribe_913@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-05-25 10:44:44.119 ***
bOb_subscribe_913@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c9960067395d052' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:44:44.119 ***
bOb_subscribe_913@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-05-25 10:44:44.119 ***
bOb_subscribe_913@localhost/res1 out
<iq type='set' id='597a637278b5673a19e35648a67605b2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:44:44.119 ***
bOb_subscribe_913@localhost/res1 in
<iq id='597a637278b5673a19e35648a67605b2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_913@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:44:44.120 ***
bob_subscribe_913@localhost/res1 out
<iq type='set' id='97908845c6227c1fc2063757f890946b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:44:44.120 ***
bob_subscribe_913@localhost/res1 in
<iq type='result' id='97908845c6227c1fc2063757f890946b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:44:44.120 ***
bob_subscribe_913@localhost/res1 out
<presence/>



*** User 2022-05-25 10:44:44.121 ***
bob_subscribe_913@localhost/res1 in
<presence from='bob_subscribe_913@localhost/res1' to='bob_subscribe_913@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:44:44.121 ***
alice_subscribe_913@localhost/res1 out
<iq type='set' id='1c157319e524f5ae2fccf9400d748c33'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_913@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:44.124 ***
alice_subscribe_913@localhost/res1 in
<iq from='alice_subscribe_913@localhost' to='alice_subscribe_913@localhost/res1' id='push930d836c17b9ae43' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_913@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:44.124 ***
alice_subscribe_913@localhost/res1 out
<iq to='alice_subscribe_913@localhost' id='push930d836c17b9ae43' type='result'/>



*** User 2022-05-25 10:44:44.124 ***
alice_subscribe_913@localhost/res1 in
<iq from='alice_subscribe_913@localhost' to='alice_subscribe_913@localhost/res1' id='1c157319e524f5ae2fccf9400d748c33' type='result'/>



*** User 2022-05-25 10:44:44.124 ***
alice_subscribe_913@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_913@localhost'/>



*** User 2022-05-25 10:44:44.130 ***
alice_subscribe_913@localhost/res1 in
<iq from='alice_subscribe_913@localhost' to='alice_subscribe_913@localhost/res1' id='push500a4754c7a110e2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_913@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:44.130 ***
alice_subscribe_913@localhost/res1 out
<iq to='alice_subscribe_913@localhost' id='push500a4754c7a110e2' type='result'/>



*** User 2022-05-25 10:44:44.130 ***
bob_subscribe_913@localhost/res1 in
<presence from='alice_subscribe_913@localhost' to='bob_subscribe_913@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-25 10:44:44.130 ***
bob_subscribe_913@localhost/res1 out
<iq type='set' id='cd38b390b4c12f9b7ec7551964664645'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_913@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:44.132 ***
bob_subscribe_913@localhost/res1 in
<iq from='bob_subscribe_913@localhost' to='bob_subscribe_913@localhost/res1' id='pusha8c036708c305010' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_913@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:44.132 ***
bob_subscribe_913@localhost/res1 out
<iq to='bob_subscribe_913@localhost' id='pusha8c036708c305010' type='result'/>



*** User 2022-05-25 10:44:44.133 ***
bob_subscribe_913@localhost/res1 in
<iq from='bob_subscribe_913@localhost' to='bob_subscribe_913@localhost/res1' id='cd38b390b4c12f9b7ec7551964664645' type='result'/>



*** User 2022-05-25 10:44:44.133 ***
bob_subscribe_913@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_913@localhost'/>



*** User 2022-05-25 10:44:44.139 ***
alice_subscribe_913@localhost/res1 in
<iq from='alice_subscribe_913@localhost' to='alice_subscribe_913@localhost/res1' id='pushd2fcd3bbf701f96c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_913@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:44.139 ***
alice_subscribe_913@localhost/res1 in
<presence from='bob_subscribe_913@localhost' to='alice_subscribe_913@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-25 10:44:44.139 ***
alice_subscribe_913@localhost/res1 in
<presence from='bob_subscribe_913@localhost/res1' to='alice_subscribe_913@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:44:44.139 ***
bob_subscribe_913@localhost/res1 in
<iq from='bob_subscribe_913@localhost' to='bob_subscribe_913@localhost/res1' id='push1d36aad068735268' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_913@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:44:44.140 ***
bob_subscribe_913@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:44:44.140 ***
bob_subscribe_913@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:44:44.140 ***
alice_subscribe_913@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:44:44.141 ***
alice_subscribe_913@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:44:44.147 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_484.html
*** CT 2022-05-25 10:44:44.147 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1583.html



=== Ended at 2022-05-25 10:44:44
=== successfully completed test case
=== === Returned value: ok


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