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

=== Config value:

    [{watchdog,<0.61010.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@f6eaa04ec15d.2024-04-10_12.44.40/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-10_12.53.04/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@f6eaa04ec15d.2024-04-10_12.44.40/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-10_12.53.04/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@f6eaa04ec15d.2024-04-10_12.44.40"

=== Started at 2024-04-10 12:53:05


*** CT 2024-04-10 12:53:05.169 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2022.html

*** User 2024-04-10 12:53:05.190 ***🔗
alicE_subscribe_2482@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-10 12:53:05.190 ***🔗
alicE_subscribe_2482@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc987a4e4b201a2c' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:53:05.190 ***🔗
alicE_subscribe_2482@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-10 12:53:05.191 ***🔗
alicE_subscribe_2482@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNDgyAG1hdHlncnlzYQ==</auth>



*** User 2024-04-10 12:53:05.192 ***🔗
alicE_subscribe_2482@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:53:05.192 ***🔗
alicE_subscribe_2482@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-10 12:53:05.192 ***🔗
alicE_subscribe_2482@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='31c3b8be128e370f' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2482@domain.example.com'>

*** User 2024-04-10 12:53:05.192 ***🔗
alicE_subscribe_2482@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-10 12:53:05.192 ***🔗
alicE_subscribe_2482@domain.example.com/res1 out
<iq type='set' id='e2f7e8eb9b5fc719b348ba7a2773fe9d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:53:05.192 ***🔗
alicE_subscribe_2482@domain.example.com/res1 in
<iq id='e2f7e8eb9b5fc719b348ba7a2773fe9d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2482@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:53:05.192 ***🔗
alice_subscribe_2482@domain.example.com/res1 out
<iq type='set' id='5bfcb84929ca02c077684e9527c9cb99'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:53:05.193 ***🔗
alice_subscribe_2482@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2482@domain.example.com/res1' id='5bfcb84929ca02c077684e9527c9cb99' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:53:05.193 ***🔗
alice_subscribe_2482@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 12:53:05.195 ***🔗
alice_subscribe_2482@domain.example.com/res1 in
<presence from='alice_subscribe_2482@domain.example.com/res1' to='alice_subscribe_2482@domain.example.com/res1'/>



*** User 2024-04-10 12:53:05.195 ***🔗
bOb_subscribe_2482@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-10 12:53:05.196 ***🔗
bOb_subscribe_2482@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9f288f61dddc8030' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:53:05.196 ***🔗
bOb_subscribe_2482@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-10 12:53:05.196 ***🔗
bOb_subscribe_2482@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjQ4MgBtYWtyb2xpa2E=</auth>



*** User 2024-04-10 12:53:05.197 ***🔗
bOb_subscribe_2482@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:53:05.197 ***🔗
bOb_subscribe_2482@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-10 12:53:05.197 ***🔗
bOb_subscribe_2482@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='05bfbfe627aa275d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2482@domain.example.com'>

*** User 2024-04-10 12:53:05.197 ***🔗
bOb_subscribe_2482@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-10 12:53:05.197 ***🔗
bOb_subscribe_2482@domain.example.com/res1 out
<iq type='set' id='c1df46ff218b67f8c6ad21f85fe0fa6e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:53:05.198 ***🔗
bOb_subscribe_2482@domain.example.com/res1 in
<iq id='c1df46ff218b67f8c6ad21f85fe0fa6e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2482@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:53:05.198 ***🔗
bob_subscribe_2482@domain.example.com/res1 out
<iq type='set' id='4e5fdadb62605dc9936b70fff3e3d0e9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:53:05.198 ***🔗
bob_subscribe_2482@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2482@domain.example.com/res1' id='4e5fdadb62605dc9936b70fff3e3d0e9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:53:05.199 ***🔗
bob_subscribe_2482@domain.example.com/res1 out
<presence/>



*** User 2024-04-10 12:53:05.200 ***🔗
bob_subscribe_2482@domain.example.com/res1 in
<presence from='bob_subscribe_2482@domain.example.com/res1' to='bob_subscribe_2482@domain.example.com/res1'/>



*** User 2024-04-10 12:53:05.200 ***🔗
alice_subscribe_2482@domain.example.com/res1 out
<iq type='set' id='f6bd2ffcee6cb06ca2dacecd9d1f39d1'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2482@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:53:05.206 ***🔗
alice_subscribe_2482@domain.example.com/res1 in
<iq from='alice_subscribe_2482@domain.example.com' to='alice_subscribe_2482@domain.example.com/res1' id='push49d79825123017e0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2482@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:53:05.206 ***🔗
alice_subscribe_2482@domain.example.com/res1 out
<iq to='alice_subscribe_2482@domain.example.com' id='push49d79825123017e0' type='result'/>



*** User 2024-04-10 12:53:05.207 ***🔗
alice_subscribe_2482@domain.example.com/res1 in
<iq from='alice_subscribe_2482@domain.example.com' to='alice_subscribe_2482@domain.example.com/res1' id='f6bd2ffcee6cb06ca2dacecd9d1f39d1' type='result'/>



*** User 2024-04-10 12:53:05.207 ***🔗
alice_subscribe_2482@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2482@domain.example.com'/>



*** User 2024-04-10 12:53:05.214 ***🔗
alice_subscribe_2482@domain.example.com/res1 in
<iq from='alice_subscribe_2482@domain.example.com' to='alice_subscribe_2482@domain.example.com/res1' id='pushfa7eb946746abaac' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2482@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:53:05.214 ***🔗
alice_subscribe_2482@domain.example.com/res1 out
<iq to='alice_subscribe_2482@domain.example.com' id='pushfa7eb946746abaac' type='result'/>



*** User 2024-04-10 12:53:05.214 ***🔗
bob_subscribe_2482@domain.example.com/res1 in
<presence from='alice_subscribe_2482@domain.example.com' to='bob_subscribe_2482@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-10 12:53:05.215 ***🔗
bob_subscribe_2482@domain.example.com/res1 out
<iq type='set' id='15eadd555594b822da07065d243cfd6b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2482@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:53:05.219 ***🔗
bob_subscribe_2482@domain.example.com/res1 in
<iq from='bob_subscribe_2482@domain.example.com' to='bob_subscribe_2482@domain.example.com/res1' id='push0c26808012688477' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2482@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:53:05.219 ***🔗
bob_subscribe_2482@domain.example.com/res1 out
<iq to='bob_subscribe_2482@domain.example.com' id='push0c26808012688477' type='result'/>



*** User 2024-04-10 12:53:05.219 ***🔗
bob_subscribe_2482@domain.example.com/res1 in
<iq from='bob_subscribe_2482@domain.example.com' to='bob_subscribe_2482@domain.example.com/res1' id='15eadd555594b822da07065d243cfd6b' type='result'/>



*** User 2024-04-10 12:53:05.219 ***🔗
bob_subscribe_2482@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2482@domain.example.com'/>



*** User 2024-04-10 12:53:05.227 ***🔗
alice_subscribe_2482@domain.example.com/res1 in
<iq from='alice_subscribe_2482@domain.example.com' to='alice_subscribe_2482@domain.example.com/res1' id='push49b451ddb711fe5f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2482@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:53:05.227 ***🔗
alice_subscribe_2482@domain.example.com/res1 in
<presence from='bob_subscribe_2482@domain.example.com' to='alice_subscribe_2482@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-10 12:53:05.227 ***🔗
alice_subscribe_2482@domain.example.com/res1 in
<presence from='bob_subscribe_2482@domain.example.com/res1' to='alice_subscribe_2482@domain.example.com/res1'/>



*** User 2024-04-10 12:53:05.227 ***🔗
bob_subscribe_2482@domain.example.com/res1 in
<iq from='bob_subscribe_2482@domain.example.com' to='bob_subscribe_2482@domain.example.com/res1' id='push42093914afeb4446' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2482@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:53:05.228 ***🔗
bob_subscribe_2482@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 12:53:05.228 ***🔗
bob_subscribe_2482@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-10 12:53:05.228 ***🔗
alice_subscribe_2482@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-10 12:53:05.228 ***🔗
alice_subscribe_2482@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-10 12:53:05.235 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2022.html



=== Ended at 2024-04-10 12:53:05
=== successfully completed test case
=== === Returned value: ok


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