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

=== Config value:

    [{watchdog,<0.65076.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,"odbc_mssql_mnesia"},
     {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@f93deb336a87.2024-04-23_06.17.07/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-23_06.28.15/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@f93deb336a87.2024-04-23_06.17.07/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-23_06.28.15/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@f93deb336a87.2024-04-23_06.17.07"

=== Started at 2024-04-23 06:28:16


*** CT 2024-04-23 06:28:16.361 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3399.html

*** User 2024-04-23 06:28:16.370 ***🔗
alicE_subscribe_2683@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:28:16.371 ***🔗
alicE_subscribe_2683@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='661b6cee7e87ccbe' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:28:16.371 ***🔗
alicE_subscribe_2683@localhost/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-23 06:28:16.371 ***🔗
alicE_subscribe_2683@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNjgzAG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 06:28:16.372 ***🔗
alicE_subscribe_2683@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 06:28:16.372 ***🔗
alicE_subscribe_2683@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:28:16.372 ***🔗
alicE_subscribe_2683@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1e860095872b953' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2683@localhost'>

*** User 2024-04-23 06:28:16.373 ***🔗
alicE_subscribe_2683@localhost/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-23 06:28:16.373 ***🔗
alicE_subscribe_2683@localhost/res1 out
<iq type='set' id='5f419d7a8578c3bc868a91cb9a5de544'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 06:28:16.373 ***🔗
alicE_subscribe_2683@localhost/res1 in
<iq id='5f419d7a8578c3bc868a91cb9a5de544' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2683@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 06:28:16.373 ***🔗
alice_subscribe_2683@localhost/res1 out
<iq type='set' id='125b8c26522a29ef58350682270c1702'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:28:16.373 ***🔗
alice_subscribe_2683@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2683@localhost/res1' id='125b8c26522a29ef58350682270c1702' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:28:16.373 ***🔗
alice_subscribe_2683@localhost/res1 out
<presence/>



*** User 2024-04-23 06:28:16.374 ***🔗
alice_subscribe_2683@localhost/res1 in
<presence from='alice_subscribe_2683@localhost/res1' to='alice_subscribe_2683@localhost/res1'/>



*** User 2024-04-23 06:28:16.375 ***🔗
bOb_subscribe_2683@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:28:16.375 ***🔗
bOb_subscribe_2683@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='85dade6b3c0109b0' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:28:16.375 ***🔗
bOb_subscribe_2683@localhost/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-23 06:28:16.376 ***🔗
bOb_subscribe_2683@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjY4MwBtYWtyb2xpa2E=</auth>



*** User 2024-04-23 06:28:16.377 ***🔗
bOb_subscribe_2683@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 06:28:16.377 ***🔗
bOb_subscribe_2683@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-23 06:28:16.377 ***🔗
bOb_subscribe_2683@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b8e4ae30442e17cd' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2683@localhost'>

*** User 2024-04-23 06:28:16.377 ***🔗
bOb_subscribe_2683@localhost/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-23 06:28:16.377 ***🔗
bOb_subscribe_2683@localhost/res1 out
<iq type='set' id='17770d636d6e36c0dd8b3a1ce58b19c6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 06:28:16.377 ***🔗
bOb_subscribe_2683@localhost/res1 in
<iq id='17770d636d6e36c0dd8b3a1ce58b19c6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2683@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 06:28:16.377 ***🔗
bob_subscribe_2683@localhost/res1 out
<iq type='set' id='d8d500079f11e3d60208b7eb831ab147'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:28:16.378 ***🔗
bob_subscribe_2683@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2683@localhost/res1' id='d8d500079f11e3d60208b7eb831ab147' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:28:16.378 ***🔗
bob_subscribe_2683@localhost/res1 out
<presence/>



*** User 2024-04-23 06:28:16.379 ***🔗
bob_subscribe_2683@localhost/res1 in
<presence from='bob_subscribe_2683@localhost/res1' to='bob_subscribe_2683@localhost/res1'/>



*** User 2024-04-23 06:28:16.379 ***🔗
alice_subscribe_2683@localhost/res1 out
<iq type='set' id='910829d32188aedcc3a6346083e183e1'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2683@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:28:16.384 ***🔗
alice_subscribe_2683@localhost/res1 in
<iq from='alice_subscribe_2683@localhost' to='alice_subscribe_2683@localhost/res1' id='pushe95fdc99d4a776c8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2683@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:28:16.384 ***🔗
alice_subscribe_2683@localhost/res1 out
<iq to='alice_subscribe_2683@localhost' id='pushe95fdc99d4a776c8' type='result'/>



*** User 2024-04-23 06:28:16.384 ***🔗
alice_subscribe_2683@localhost/res1 in
<iq from='alice_subscribe_2683@localhost' to='alice_subscribe_2683@localhost/res1' id='910829d32188aedcc3a6346083e183e1' type='result'/>



*** User 2024-04-23 06:28:16.384 ***🔗
alice_subscribe_2683@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2683@localhost'/>



*** User 2024-04-23 06:28:16.389 ***🔗
alice_subscribe_2683@localhost/res1 in
<iq from='alice_subscribe_2683@localhost' to='alice_subscribe_2683@localhost/res1' id='push72eff06e79fb1471' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2683@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:28:16.389 ***🔗
alice_subscribe_2683@localhost/res1 out
<iq to='alice_subscribe_2683@localhost' id='push72eff06e79fb1471' type='result'/>



*** User 2024-04-23 06:28:16.389 ***🔗
bob_subscribe_2683@localhost/res1 in
<presence from='alice_subscribe_2683@localhost' to='bob_subscribe_2683@localhost/res1' type='subscribe'/>



*** User 2024-04-23 06:28:16.389 ***🔗
bob_subscribe_2683@localhost/res1 out
<iq type='set' id='a9f30f57a77a8fc58093c3bc954f54ef'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2683@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:28:16.392 ***🔗
bob_subscribe_2683@localhost/res1 in
<iq from='bob_subscribe_2683@localhost' to='bob_subscribe_2683@localhost/res1' id='push2c8ba6f3bac02457' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2683@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:28:16.393 ***🔗
bob_subscribe_2683@localhost/res1 out
<iq to='bob_subscribe_2683@localhost' id='push2c8ba6f3bac02457' type='result'/>



*** User 2024-04-23 06:28:16.393 ***🔗
bob_subscribe_2683@localhost/res1 in
<iq from='bob_subscribe_2683@localhost' to='bob_subscribe_2683@localhost/res1' id='a9f30f57a77a8fc58093c3bc954f54ef' type='result'/>



*** User 2024-04-23 06:28:16.393 ***🔗
bob_subscribe_2683@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2683@localhost'/>



*** User 2024-04-23 06:28:16.398 ***🔗
alice_subscribe_2683@localhost/res1 in
<iq from='alice_subscribe_2683@localhost' to='alice_subscribe_2683@localhost/res1' id='push1999f946dd823b2c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2683@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:28:16.399 ***🔗
alice_subscribe_2683@localhost/res1 in
<presence from='bob_subscribe_2683@localhost' to='alice_subscribe_2683@localhost/res1' type='subscribed'/>



*** User 2024-04-23 06:28:16.399 ***🔗
alice_subscribe_2683@localhost/res1 in
<presence from='bob_subscribe_2683@localhost/res1' to='alice_subscribe_2683@localhost/res1'/>



*** User 2024-04-23 06:28:16.399 ***🔗
bob_subscribe_2683@localhost/res1 in
<iq from='bob_subscribe_2683@localhost' to='bob_subscribe_2683@localhost/res1' id='pushd272c2f5ebaf0864' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2683@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:28:16.400 ***🔗
bob_subscribe_2683@localhost/res1 out
</stream:stream>

*** User 2024-04-23 06:28:16.400 ***🔗
bob_subscribe_2683@localhost/res1 in
</stream:stream>

*** User 2024-04-23 06:28:16.400 ***🔗
alice_subscribe_2683@localhost/res1 out
</stream:stream>

*** User 2024-04-23 06:28:16.400 ***🔗
alice_subscribe_2683@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 06:28:16.408 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3399.html



=== Ended at 2024-04-23 06:28:16
=== successfully completed test case
=== === Returned value: ok


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