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

=== Config value:

    [{watchdog,<0.61041.0>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.90531342>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {preset,"mysql_redis"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_roster_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@6509628dc6d5.2024-04-09_06.54.13/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-09_07.02.38/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@6509628dc6d5.2024-04-09_06.54.13/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-09_07.02.38/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@6509628dc6d5.2024-04-09_06.54.13"

=== Started at 2024-04-09 07:02:39


*** CT 2024-04-09 07:02:39.149 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2030.html

*** User 2024-04-09 07:02:39.159 ***🔗
alicE_subscribe_2472@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-09 07:02:39.160 ***🔗
alicE_subscribe_2472@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ef371b5d4f72a22' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 07:02:39.160 ***🔗
alicE_subscribe_2472@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-09 07:02:39.160 ***🔗
alicE_subscribe_2472@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNDcyAG1hdHlncnlzYQ==</auth>



*** User 2024-04-09 07:02:39.161 ***🔗
alicE_subscribe_2472@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 07:02:39.161 ***🔗
alicE_subscribe_2472@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-09 07:02:39.162 ***🔗
alicE_subscribe_2472@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='446f060bfd33add3' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2472@domain.example.com'>

*** User 2024-04-09 07:02:39.162 ***🔗
alicE_subscribe_2472@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-09 07:02:39.162 ***🔗
alicE_subscribe_2472@domain.example.com/res1 out
<iq type='set' id='0fa47305f27de4e7d6ea43c7aad143d0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 07:02:39.162 ***🔗
alicE_subscribe_2472@domain.example.com/res1 in
<iq id='0fa47305f27de4e7d6ea43c7aad143d0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2472@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 07:02:39.162 ***🔗
alice_subscribe_2472@domain.example.com/res1 out
<iq type='set' id='3fb3ab52fc4e1a490d7093cc418856bb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 07:02:39.163 ***🔗
alice_subscribe_2472@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2472@domain.example.com/res1' id='3fb3ab52fc4e1a490d7093cc418856bb' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 07:02:39.163 ***🔗
alice_subscribe_2472@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 07:02:39.165 ***🔗
alice_subscribe_2472@domain.example.com/res1 in
<presence from='alice_subscribe_2472@domain.example.com/res1' to='alice_subscribe_2472@domain.example.com/res1'/>



*** User 2024-04-09 07:02:39.165 ***🔗
bOb_subscribe_2472@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-09 07:02:39.166 ***🔗
bOb_subscribe_2472@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dc8c44bef3673d3f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-09 07:02:39.166 ***🔗
bOb_subscribe_2472@domain.example.com/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-09 07:02:39.166 ***🔗
bOb_subscribe_2472@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjQ3MgBtYWtyb2xpa2E=</auth>



*** User 2024-04-09 07:02:39.167 ***🔗
bOb_subscribe_2472@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-09 07:02:39.167 ***🔗
bOb_subscribe_2472@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-09 07:02:39.168 ***🔗
bOb_subscribe_2472@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f5bd624b89db67eb' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2472@domain.example.com'>

*** User 2024-04-09 07:02:39.168 ***🔗
bOb_subscribe_2472@domain.example.com/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-04-09 07:02:39.168 ***🔗
bOb_subscribe_2472@domain.example.com/res1 out
<iq type='set' id='8fcbdfc179148854eb22edb7767f0725'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-09 07:02:39.168 ***🔗
bOb_subscribe_2472@domain.example.com/res1 in
<iq id='8fcbdfc179148854eb22edb7767f0725' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2472@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-09 07:02:39.168 ***🔗
bob_subscribe_2472@domain.example.com/res1 out
<iq type='set' id='aa6b5c5073956fa31fb8940ca8eb662e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 07:02:39.169 ***🔗
bob_subscribe_2472@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2472@domain.example.com/res1' id='aa6b5c5073956fa31fb8940ca8eb662e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-09 07:02:39.169 ***🔗
bob_subscribe_2472@domain.example.com/res1 out
<presence/>



*** User 2024-04-09 07:02:39.170 ***🔗
bob_subscribe_2472@domain.example.com/res1 in
<presence from='bob_subscribe_2472@domain.example.com/res1' to='bob_subscribe_2472@domain.example.com/res1'/>



*** User 2024-04-09 07:02:39.170 ***🔗
alice_subscribe_2472@domain.example.com/res1 out
<iq type='set' id='c8a5a737a4e4c9a025aca20465ae03d8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2472@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 07:02:39.174 ***🔗
alice_subscribe_2472@domain.example.com/res1 in
<iq from='alice_subscribe_2472@domain.example.com' to='alice_subscribe_2472@domain.example.com/res1' id='push980fd705944755eb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2472@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 07:02:39.174 ***🔗
alice_subscribe_2472@domain.example.com/res1 out
<iq to='alice_subscribe_2472@domain.example.com' id='push980fd705944755eb' type='result'/>



*** User 2024-04-09 07:02:39.174 ***🔗
alice_subscribe_2472@domain.example.com/res1 in
<iq from='alice_subscribe_2472@domain.example.com' to='alice_subscribe_2472@domain.example.com/res1' id='c8a5a737a4e4c9a025aca20465ae03d8' type='result'/>



*** User 2024-04-09 07:02:39.174 ***🔗
alice_subscribe_2472@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2472@domain.example.com'/>



*** User 2024-04-09 07:02:39.179 ***🔗
alice_subscribe_2472@domain.example.com/res1 in
<iq from='alice_subscribe_2472@domain.example.com' to='alice_subscribe_2472@domain.example.com/res1' id='pushb96a54b26e8fd7de' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2472@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 07:02:39.179 ***🔗
alice_subscribe_2472@domain.example.com/res1 out
<iq to='alice_subscribe_2472@domain.example.com' id='pushb96a54b26e8fd7de' type='result'/>



*** User 2024-04-09 07:02:39.179 ***🔗
bob_subscribe_2472@domain.example.com/res1 in
<presence from='alice_subscribe_2472@domain.example.com' to='bob_subscribe_2472@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-09 07:02:39.179 ***🔗
bob_subscribe_2472@domain.example.com/res1 out
<iq type='set' id='10a55bf225f3163ded29c1f73a9ac50f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2472@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 07:02:39.182 ***🔗
bob_subscribe_2472@domain.example.com/res1 in
<iq from='bob_subscribe_2472@domain.example.com' to='bob_subscribe_2472@domain.example.com/res1' id='pushe1227cc74182578b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2472@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 07:02:39.182 ***🔗
bob_subscribe_2472@domain.example.com/res1 out
<iq to='bob_subscribe_2472@domain.example.com' id='pushe1227cc74182578b' type='result'/>



*** User 2024-04-09 07:02:39.182 ***🔗
bob_subscribe_2472@domain.example.com/res1 in
<iq from='bob_subscribe_2472@domain.example.com' to='bob_subscribe_2472@domain.example.com/res1' id='10a55bf225f3163ded29c1f73a9ac50f' type='result'/>



*** User 2024-04-09 07:02:39.182 ***🔗
bob_subscribe_2472@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2472@domain.example.com'/>



*** User 2024-04-09 07:02:39.187 ***🔗
alice_subscribe_2472@domain.example.com/res1 in
<iq from='alice_subscribe_2472@domain.example.com' to='alice_subscribe_2472@domain.example.com/res1' id='push91e49ac0261751ce' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2472@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 07:02:39.187 ***🔗
alice_subscribe_2472@domain.example.com/res1 in
<presence from='bob_subscribe_2472@domain.example.com' to='alice_subscribe_2472@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-09 07:02:39.187 ***🔗
alice_subscribe_2472@domain.example.com/res1 in
<presence from='bob_subscribe_2472@domain.example.com/res1' to='alice_subscribe_2472@domain.example.com/res1'/>



*** User 2024-04-09 07:02:39.187 ***🔗
bob_subscribe_2472@domain.example.com/res1 in
<iq from='bob_subscribe_2472@domain.example.com' to='bob_subscribe_2472@domain.example.com/res1' id='pushc0d20b456f2e2548' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2472@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-09 07:02:39.188 ***🔗
bob_subscribe_2472@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 07:02:39.188 ***🔗
bob_subscribe_2472@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-09 07:02:39.188 ***🔗
alice_subscribe_2472@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-09 07:02:39.189 ***🔗
alice_subscribe_2472@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-09 07:02:39.194 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2030.html



=== Ended at 2024-04-09 07:02:39
=== successfully completed test case
=== === Returned value: ok


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