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

=== Config value:

    [{watchdog,<0.31150.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.129660948>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {preset,"pgsql_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@7e18e8030105.2024-04-24_13.07.28/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-24_13.18.20/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@7e18e8030105.2024-04-24_13.07.28/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-24_13.18.20/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@7e18e8030105.2024-04-24_13.07.28"

=== Started at 2024-04-24 13:18:20


*** CT 2024-04-24 13:18:20.843 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2320.html

*** User 2024-04-24 13:18:20.850 ***🔗
alicE_subscribe_2685@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-24 13:18:20.850 ***🔗
alicE_subscribe_2685@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ca362cea6cbfc063' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:18:20.850 ***🔗
alicE_subscribe_2685@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-24 13:18:20.851 ***🔗
alicE_subscribe_2685@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNjg1AG1hdHlncnlzYQ==</auth>



*** User 2024-04-24 13:18:20.851 ***🔗
alicE_subscribe_2685@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:18:20.851 ***🔗
alicE_subscribe_2685@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-24 13:18:20.852 ***🔗
alicE_subscribe_2685@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3924fe52ba899b30' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2685@localhost'>

*** User 2024-04-24 13:18:20.852 ***🔗
alicE_subscribe_2685@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-24 13:18:20.852 ***🔗
alicE_subscribe_2685@localhost/res1 out
<iq type='set' id='e9a99f159c64f6056e8b2b65d1ce9124'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:18:20.852 ***🔗
alicE_subscribe_2685@localhost/res1 in
<iq id='e9a99f159c64f6056e8b2b65d1ce9124' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2685@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:18:20.852 ***🔗
alice_subscribe_2685@localhost/res1 out
<iq type='set' id='69bbec372fafb4d81e38fe62639ab8c9'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:18:20.853 ***🔗
alice_subscribe_2685@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2685@localhost/res1' id='69bbec372fafb4d81e38fe62639ab8c9' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:18:20.853 ***🔗
alice_subscribe_2685@localhost/res1 out
<presence/>



*** User 2024-04-24 13:18:20.854 ***🔗
alice_subscribe_2685@localhost/res1 in
<presence from='alice_subscribe_2685@localhost/res1' to='alice_subscribe_2685@localhost/res1'/>



*** User 2024-04-24 13:18:20.854 ***🔗
bOb_subscribe_2685@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-24 13:18:20.855 ***🔗
bOb_subscribe_2685@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ed13e7f48290cbe' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-24 13:18:20.855 ***🔗
bOb_subscribe_2685@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-24 13:18:20.855 ***🔗
bOb_subscribe_2685@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjY4NQBtYWtyb2xpa2E=</auth>



*** User 2024-04-24 13:18:20.856 ***🔗
bOb_subscribe_2685@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-24 13:18:20.856 ***🔗
bOb_subscribe_2685@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-24 13:18:20.856 ***🔗
bOb_subscribe_2685@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='48fe068ab98557f5' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2685@localhost'>

*** User 2024-04-24 13:18:20.856 ***🔗
bOb_subscribe_2685@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-24 13:18:20.857 ***🔗
bOb_subscribe_2685@localhost/res1 out
<iq type='set' id='25ee5908feeff12cf6b0436aa87cef09'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-24 13:18:20.857 ***🔗
bOb_subscribe_2685@localhost/res1 in
<iq id='25ee5908feeff12cf6b0436aa87cef09' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2685@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-24 13:18:20.857 ***🔗
bob_subscribe_2685@localhost/res1 out
<iq type='set' id='2a72b12bea3fa8fd414521dfc33d7174'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:18:20.858 ***🔗
bob_subscribe_2685@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2685@localhost/res1' id='2a72b12bea3fa8fd414521dfc33d7174' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-24 13:18:20.858 ***🔗
bob_subscribe_2685@localhost/res1 out
<presence/>



*** User 2024-04-24 13:18:20.859 ***🔗
bob_subscribe_2685@localhost/res1 in
<presence from='bob_subscribe_2685@localhost/res1' to='bob_subscribe_2685@localhost/res1'/>



*** User 2024-04-24 13:18:20.859 ***🔗
alice_subscribe_2685@localhost/res1 out
<iq type='set' id='056eb9a4bbcf1da7a3d1e92d62024fcb'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2685@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.861 ***🔗
alice_subscribe_2685@localhost/res1 in
<iq from='alice_subscribe_2685@localhost' to='alice_subscribe_2685@localhost/res1' id='push7e0f90b3dda29569' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2685@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.861 ***🔗
alice_subscribe_2685@localhost/res1 out
<iq to='alice_subscribe_2685@localhost' id='push7e0f90b3dda29569' type='result'/>



*** User 2024-04-24 13:18:20.861 ***🔗
alice_subscribe_2685@localhost/res1 in
<iq from='alice_subscribe_2685@localhost' to='alice_subscribe_2685@localhost/res1' id='056eb9a4bbcf1da7a3d1e92d62024fcb' type='result'/>



*** User 2024-04-24 13:18:20.861 ***🔗
alice_subscribe_2685@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2685@localhost'/>



*** User 2024-04-24 13:18:20.864 ***🔗
alice_subscribe_2685@localhost/res1 in
<iq from='alice_subscribe_2685@localhost' to='alice_subscribe_2685@localhost/res1' id='push13597d98e1d11091' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2685@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.864 ***🔗
alice_subscribe_2685@localhost/res1 out
<iq to='alice_subscribe_2685@localhost' id='push13597d98e1d11091' type='result'/>



*** User 2024-04-24 13:18:20.864 ***🔗
bob_subscribe_2685@localhost/res1 in
<presence from='alice_subscribe_2685@localhost' to='bob_subscribe_2685@localhost/res1' type='subscribe'/>



*** User 2024-04-24 13:18:20.865 ***🔗
bob_subscribe_2685@localhost/res1 out
<iq type='set' id='951f58709aa8c6a77b31bda27f542554'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2685@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.868 ***🔗
bob_subscribe_2685@localhost/res1 in
<iq from='bob_subscribe_2685@localhost' to='bob_subscribe_2685@localhost/res1' id='push124f98772572e5a5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2685@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.868 ***🔗
bob_subscribe_2685@localhost/res1 out
<iq to='bob_subscribe_2685@localhost' id='push124f98772572e5a5' type='result'/>



*** User 2024-04-24 13:18:20.868 ***🔗
bob_subscribe_2685@localhost/res1 in
<iq from='bob_subscribe_2685@localhost' to='bob_subscribe_2685@localhost/res1' id='951f58709aa8c6a77b31bda27f542554' type='result'/>



*** User 2024-04-24 13:18:20.868 ***🔗
bob_subscribe_2685@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2685@localhost'/>



*** User 2024-04-24 13:18:20.872 ***🔗
alice_subscribe_2685@localhost/res1 in
<iq from='alice_subscribe_2685@localhost' to='alice_subscribe_2685@localhost/res1' id='push413a3d9d5f0dfffc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2685@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.872 ***🔗
alice_subscribe_2685@localhost/res1 in
<presence from='bob_subscribe_2685@localhost' to='alice_subscribe_2685@localhost/res1' type='subscribed'/>



*** User 2024-04-24 13:18:20.872 ***🔗
alice_subscribe_2685@localhost/res1 in
<presence from='bob_subscribe_2685@localhost/res1' to='alice_subscribe_2685@localhost/res1'/>



*** User 2024-04-24 13:18:20.872 ***🔗
bob_subscribe_2685@localhost/res1 in
<iq from='bob_subscribe_2685@localhost' to='bob_subscribe_2685@localhost/res1' id='push8e7a7d250d9dd9e4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2685@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-24 13:18:20.873 ***🔗
bob_subscribe_2685@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:18:20.873 ***🔗
bob_subscribe_2685@localhost/res1 in
</stream:stream>

*** User 2024-04-24 13:18:20.874 ***🔗
alice_subscribe_2685@localhost/res1 out
</stream:stream>

*** User 2024-04-24 13:18:20.874 ***🔗
alice_subscribe_2685@localhost/res1 in
</stream:stream>
*** CT 2024-04-24 13:18:20.880 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2320.html



=== Ended at 2024-04-24 13:18:20
=== successfully completed test case
=== === Returned value: ok


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