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

=== Config value:

    [{watchdog,<0.19617.1>},
     {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,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-11_09.02.28/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@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-11_09.02.28/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@f547f21cc62a.2022-05-11_08.56.42"

=== Started at 2022-05-11 09:02:29


*** CT 2022-05-11 09:02:29.218 *** View log from node mongooseim@localhost when started mongooseim@localhost_1795.html
*** CT 2022-05-11 09:02:29.219 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_198.html

*** User 2022-05-11 09:02:29.229 ***
alicE_subscribe_1792@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-11 09:02:29.229 ***
alicE_subscribe_1792@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='adff05db2eb1b88a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:29.230 ***
alicE_subscribe_1792@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-11 09:02:29.230 ***
alicE_subscribe_1792@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8xNzkyAG1hdHlncnlzYQ==</auth>



*** User 2022-05-11 09:02:29.231 ***
alicE_subscribe_1792@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:02:29.231 ***
alicE_subscribe_1792@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-11 09:02:29.232 ***
alicE_subscribe_1792@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dc80fb88613dd9cb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:29.232 ***
alicE_subscribe_1792@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-11 09:02:29.232 ***
alicE_subscribe_1792@localhost/res1 out
<iq type='set' id='962163e428540a905b23f265ba318c64'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:02:29.233 ***
alicE_subscribe_1792@localhost/res1 in
<iq id='962163e428540a905b23f265ba318c64' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_1792@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:02:29.233 ***
alicE_subscribe_1792@localhost/res1 out
<iq type='set' id='15c6ce9d5b2c680c3268750578597e0d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:29.234 ***
alicE_subscribe_1792@localhost/res1 in
<iq type='result' id='15c6ce9d5b2c680c3268750578597e0d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:29.234 ***
alicE_subscribe_1792@localhost/res1 out
<presence/>



*** User 2022-05-11 09:02:29.237 ***
alicE_subscribe_1792@localhost/res1 in
<presence from='alicE_subscribe_1792@localhost/res1' to='alice_subscribe_1792@localhost/res1' xml:lang='en'/>



*** User 2022-05-11 09:02:29.238 ***
bOb_subscribe_1792@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-11 09:02:29.239 ***
bOb_subscribe_1792@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a1fa0eef72023095' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:29.239 ***
bOb_subscribe_1792@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-11 09:02:29.239 ***
bOb_subscribe_1792@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMTc5MgBtYWtyb2xpa2E=</auth>



*** User 2022-05-11 09:02:29.240 ***
bOb_subscribe_1792@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:02:29.240 ***
bOb_subscribe_1792@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-11 09:02:29.241 ***
bOb_subscribe_1792@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='79da41ad62909874' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:29.241 ***
bOb_subscribe_1792@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-11 09:02:29.241 ***
bOb_subscribe_1792@localhost/res1 out
<iq type='set' id='5ea6d10abf4af69e3b14326d6be354bd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:02:29.241 ***
bOb_subscribe_1792@localhost/res1 in
<iq id='5ea6d10abf4af69e3b14326d6be354bd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_1792@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:02:29.241 ***
bOb_subscribe_1792@localhost/res1 out
<iq type='set' id='b6e2b4c20c2030f66abc902f6f1e042b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:29.242 ***
bOb_subscribe_1792@localhost/res1 in
<iq type='result' id='b6e2b4c20c2030f66abc902f6f1e042b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:29.242 ***
bOb_subscribe_1792@localhost/res1 out
<presence/>



*** User 2022-05-11 09:02:29.245 ***
bOb_subscribe_1792@localhost/res1 in
<presence from='bOb_subscribe_1792@localhost/res1' to='bob_subscribe_1792@localhost/res1' xml:lang='en'/>



*** User 2022-05-11 09:02:29.245 ***
alicE_subscribe_1792@localhost/res1 out
<iq type='set' id='bd149635f3ddd4c48051e1f2abc2983b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_1792@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.250 ***
alicE_subscribe_1792@localhost/res1 in
<iq from='alicE_subscribe_1792@localhost' to='alicE_subscribe_1792@localhost/res1' id='pushf3aee50160c45eb2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_1792@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.250 ***
alicE_subscribe_1792@localhost/res1 out
<iq to='alicE_subscribe_1792@localhost' id='pushf3aee50160c45eb2' type='result'/>



*** User 2022-05-11 09:02:29.250 ***
alicE_subscribe_1792@localhost/res1 in
<iq from='alicE_subscribe_1792@localhost' to='alicE_subscribe_1792@localhost/res1' id='bd149635f3ddd4c48051e1f2abc2983b' type='result'/>



*** User 2022-05-11 09:02:29.250 ***
alicE_subscribe_1792@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_1792@localhost'/>



*** User 2022-05-11 09:02:29.257 ***
alicE_subscribe_1792@localhost/res1 in
<iq from='alicE_subscribe_1792@localhost' to='alicE_subscribe_1792@localhost/res1' id='push168a67d788096a3d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_1792@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.257 ***
alicE_subscribe_1792@localhost/res1 out
<iq to='alicE_subscribe_1792@localhost' id='push168a67d788096a3d' type='result'/>



*** User 2022-05-11 09:02:29.257 ***
bOb_subscribe_1792@localhost/res1 in
<presence from='alicE_subscribe_1792@localhost' to='bOb_subscribe_1792@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-11 09:02:29.257 ***
bOb_subscribe_1792@localhost/res1 out
<iq type='set' id='7d7c5fb027d1889b7e23c4cffc5a897b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_subscribe_1792@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.261 ***
bOb_subscribe_1792@localhost/res1 in
<iq from='bOb_subscribe_1792@localhost' to='bOb_subscribe_1792@localhost/res1' id='push69cdd7af17c6d821' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_1792@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.261 ***
bOb_subscribe_1792@localhost/res1 out
<iq to='bOb_subscribe_1792@localhost' id='push69cdd7af17c6d821' type='result'/>



*** User 2022-05-11 09:02:29.261 ***
bOb_subscribe_1792@localhost/res1 in
<iq from='bOb_subscribe_1792@localhost' to='bOb_subscribe_1792@localhost/res1' id='7d7c5fb027d1889b7e23c4cffc5a897b' type='result'/>



*** User 2022-05-11 09:02:29.261 ***
bOb_subscribe_1792@localhost/res1 out
<presence type='subscribed' to='alicE_subscribe_1792@localhost'/>



*** User 2022-05-11 09:02:29.269 ***
alicE_subscribe_1792@localhost/res1 in
<iq from='alicE_subscribe_1792@localhost' to='alicE_subscribe_1792@localhost/res1' id='pushf5fe7cc9e0c97332' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_1792@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.269 ***
alicE_subscribe_1792@localhost/res1 in
<presence from='bOb_subscribe_1792@localhost' to='alicE_subscribe_1792@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-11 09:02:29.269 ***
alicE_subscribe_1792@localhost/res1 in
<presence from='bOb_subscribe_1792@localhost/res1' to='alice_subscribe_1792@localhost/res1' xml:lang='en'/>



*** User 2022-05-11 09:02:29.269 ***
bOb_subscribe_1792@localhost/res1 in
<iq from='bOb_subscribe_1792@localhost' to='bOb_subscribe_1792@localhost/res1' id='push23c89a9c07b953a1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_1792@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.271 ***
bOb_subscribe_1792@localhost/res1 out
</stream:stream>

*** User 2022-05-11 09:02:29.271 ***
bOb_subscribe_1792@localhost/res1 in
</stream:stream>

*** User 2022-05-11 09:02:29.272 ***
alicE_subscribe_1792@localhost/res1 out
</stream:stream>

*** User 2022-05-11 09:02:29.274 ***
alicE_subscribe_1792@localhost/res1 in
</stream:stream>
*** CT 2022-05-11 09:02:29.283 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_198.html
*** CT 2022-05-11 09:02:29.284 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1795.html



=== Ended at 2022-05-11 09:02:29
=== successfully completed test case
=== === Returned value: ok


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