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

=== Config value:

    [{watchdog,<0.31428.0>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.319426>,
                         [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,"elasticsearch_and_cassandra_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.metrics_roster_SUITE.logs/run.2022-06-22_09.22.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@47358c7e636c.2022-06-22_09.17.07/big_tests.tests.metrics_roster_SUITE.logs/run.2022-06-22_09.22.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@47358c7e636c.2022-06-22_09.17.07"

=== Started at 2022-06-22 09:22:18


*** CT 2022-06-22 09:22:18.174 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1096.html
*** CT 2022-06-22 09:22:18.175 *** View log from node ejabberd2@localhost when started🔗 ejabberd2@localhost_477.html

*** User 2022-06-22 09:22:18.180 ***🔗
alicE_subscribe_1022@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-06-22 09:22:18.181 ***🔗
alicE_subscribe_1022@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4cd72f638826a8f1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:22:18.181 ***🔗
alicE_subscribe_1022@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-06-22 09:22:18.181 ***🔗
alicE_subscribe_1022@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8xMDIyAG1hdHlncnlzYQ==</auth>



*** User 2022-06-22 09:22:18.182 ***🔗
alicE_subscribe_1022@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:22:18.182 ***🔗
alicE_subscribe_1022@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-06-22 09:22:18.182 ***🔗
alicE_subscribe_1022@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='80b20bedc3ac699d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:22:18.182 ***🔗
alicE_subscribe_1022@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-06-22 09:22:18.182 ***🔗
alicE_subscribe_1022@localhost/res1 out
<iq type='set' id='910b90b7d0186e027826ac804d94562d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:22:18.183 ***🔗
alicE_subscribe_1022@localhost/res1 in
<iq id='910b90b7d0186e027826ac804d94562d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_1022@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:22:18.183 ***🔗
alice_subscribe_1022@localhost/res1 out
<iq type='set' id='30aa4dcfb13255237208af2b9f3eb17e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:22:18.183 ***🔗
alice_subscribe_1022@localhost/res1 in
<iq type='result' id='30aa4dcfb13255237208af2b9f3eb17e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:22:18.183 ***🔗
alice_subscribe_1022@localhost/res1 out
<presence/>



*** User 2022-06-22 09:22:18.184 ***🔗
alice_subscribe_1022@localhost/res1 in
<presence from='alice_subscribe_1022@localhost/res1' to='alice_subscribe_1022@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:22:18.185 ***🔗
bOb_subscribe_1022@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-06-22 09:22:18.185 ***🔗
bOb_subscribe_1022@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d6e66be4bd46dc61' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:22:18.185 ***🔗
bOb_subscribe_1022@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-06-22 09:22:18.185 ***🔗
bOb_subscribe_1022@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMTAyMgBtYWtyb2xpa2E=</auth>



*** User 2022-06-22 09:22:18.186 ***🔗
bOb_subscribe_1022@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-06-22 09:22:18.186 ***🔗
bOb_subscribe_1022@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-06-22 09:22:18.186 ***🔗
bOb_subscribe_1022@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4e81b42bab878f00' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-06-22 09:22:18.186 ***🔗
bOb_subscribe_1022@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-06-22 09:22:18.186 ***🔗
bOb_subscribe_1022@localhost/res1 out
<iq type='set' id='026f3a53b459b55709fc30688977c413'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-06-22 09:22:18.187 ***🔗
bOb_subscribe_1022@localhost/res1 in
<iq id='026f3a53b459b55709fc30688977c413' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_1022@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-06-22 09:22:18.187 ***🔗
bob_subscribe_1022@localhost/res1 out
<iq type='set' id='ef84f319e6b5c49791f561c6c0325f9d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:22:18.187 ***🔗
bob_subscribe_1022@localhost/res1 in
<iq type='result' id='ef84f319e6b5c49791f561c6c0325f9d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-06-22 09:22:18.187 ***🔗
bob_subscribe_1022@localhost/res1 out
<presence/>



*** User 2022-06-22 09:22:18.188 ***🔗
bob_subscribe_1022@localhost/res1 in
<presence from='bob_subscribe_1022@localhost/res1' to='bob_subscribe_1022@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:22:18.188 ***🔗
alice_subscribe_1022@localhost/res1 out
<iq type='set' id='153058d836cf38faa22930696726b1ae'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_1022@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:22:18.189 ***🔗
alice_subscribe_1022@localhost/res1 in
<iq from='alice_subscribe_1022@localhost' to='alice_subscribe_1022@localhost/res1' id='pushd73e3428369ffa94' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_1022@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:22:18.190 ***🔗
alice_subscribe_1022@localhost/res1 out
<iq to='alice_subscribe_1022@localhost' id='pushd73e3428369ffa94' type='result'/>



*** User 2022-06-22 09:22:18.190 ***🔗
alice_subscribe_1022@localhost/res1 in
<iq from='alice_subscribe_1022@localhost' to='alice_subscribe_1022@localhost/res1' id='153058d836cf38faa22930696726b1ae' type='result'/>



*** User 2022-06-22 09:22:18.190 ***🔗
alice_subscribe_1022@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_1022@localhost'/>



*** User 2022-06-22 09:22:18.191 ***🔗
alice_subscribe_1022@localhost/res1 in
<iq from='alice_subscribe_1022@localhost' to='alice_subscribe_1022@localhost/res1' id='pushbd4da17d22ec13a4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_1022@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:22:18.191 ***🔗
alice_subscribe_1022@localhost/res1 out
<iq to='alice_subscribe_1022@localhost' id='pushbd4da17d22ec13a4' type='result'/>



*** User 2022-06-22 09:22:18.191 ***🔗
bob_subscribe_1022@localhost/res1 in
<presence from='alice_subscribe_1022@localhost' to='bob_subscribe_1022@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-06-22 09:22:18.191 ***🔗
bob_subscribe_1022@localhost/res1 out
<iq type='set' id='07a4fd78fa5862440f438ed61e482ef0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_1022@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:22:18.192 ***🔗
bob_subscribe_1022@localhost/res1 in
<iq from='bob_subscribe_1022@localhost' to='bob_subscribe_1022@localhost/res1' id='push6663162b1186158c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_1022@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:22:18.192 ***🔗
bob_subscribe_1022@localhost/res1 out
<iq to='bob_subscribe_1022@localhost' id='push6663162b1186158c' type='result'/>



*** User 2022-06-22 09:22:18.193 ***🔗
bob_subscribe_1022@localhost/res1 in
<iq from='bob_subscribe_1022@localhost' to='bob_subscribe_1022@localhost/res1' id='07a4fd78fa5862440f438ed61e482ef0' type='result'/>



*** User 2022-06-22 09:22:18.193 ***🔗
bob_subscribe_1022@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_1022@localhost'/>



*** User 2022-06-22 09:22:18.194 ***🔗
alice_subscribe_1022@localhost/res1 in
<iq from='alice_subscribe_1022@localhost' to='alice_subscribe_1022@localhost/res1' id='pusha9264e0cff91b975' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_1022@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:22:18.194 ***🔗
alice_subscribe_1022@localhost/res1 in
<presence from='bob_subscribe_1022@localhost' to='alice_subscribe_1022@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-06-22 09:22:18.194 ***🔗
alice_subscribe_1022@localhost/res1 in
<presence from='bob_subscribe_1022@localhost/res1' to='alice_subscribe_1022@localhost/res1' xml:lang='en'/>



*** User 2022-06-22 09:22:18.194 ***🔗
bob_subscribe_1022@localhost/res1 in
<iq from='bob_subscribe_1022@localhost' to='bob_subscribe_1022@localhost/res1' id='pushb91c13aa7fe78657' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_1022@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-06-22 09:22:18.195 ***🔗
bob_subscribe_1022@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:22:18.196 ***🔗
bob_subscribe_1022@localhost/res1 in
</stream:stream>

*** User 2022-06-22 09:22:18.196 ***🔗
alice_subscribe_1022@localhost/res1 out
</stream:stream>

*** User 2022-06-22 09:22:18.196 ***🔗
alice_subscribe_1022@localhost/res1 in
</stream:stream>
*** CT 2022-06-22 09:22:18.199 *** View log from node ejabberd2@localhost when finished🔗 ejabberd2@localhost_477.html
*** CT 2022-06-22 09:22:18.199 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1096.html



=== Ended at 2022-06-22 09:22:18
=== successfully completed test case
=== === Returned value: ok


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