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

=== Config value:

    [{watchdog,<0.30017.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,"ldap_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@e830f4894539.2024-03-21_07.45.56/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-21_07.53.11/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@e830f4894539.2024-03-21_07.45.56/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-21_07.53.11/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@e830f4894539.2024-03-21_07.45.56"

=== Started at 2024-03-21 07:53:11


*** CT 2024-03-21 07:53:11.837 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1785.html

*** User 2024-03-21 07:53:11.844 ***🔗
alicE_subscribe_1085@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-03-21 07:53:11.844 ***🔗
alicE_subscribe_1085@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='572e708beac61cb2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:53:11.845 ***🔗
alicE_subscribe_1085@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-21 07:53:11.845 ***🔗
alicE_subscribe_1085@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8xMDg1AG1hdHlncnlzYQ==</auth>



*** User 2024-03-21 07:53:11.846 ***🔗
alicE_subscribe_1085@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:53:11.846 ***🔗
alicE_subscribe_1085@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-03-21 07:53:11.846 ***🔗
alicE_subscribe_1085@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='759d563167c5f8c0' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_1085@localhost'>

*** User 2024-03-21 07:53:11.847 ***🔗
alicE_subscribe_1085@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-03-21 07:53:11.847 ***🔗
alicE_subscribe_1085@localhost/res1 out
<iq type='set' id='003624d1f1c65d79c3db07ac3d193250'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:53:11.847 ***🔗
alicE_subscribe_1085@localhost/res1 in
<iq id='003624d1f1c65d79c3db07ac3d193250' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_1085@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:53:11.847 ***🔗
alice_subscribe_1085@localhost/res1 out
<iq type='set' id='bf78c877e68e6f306aa16a0072a0c449'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:53:11.848 ***🔗
alice_subscribe_1085@localhost/res1 in
<iq from='localhost' to='alice_subscribe_1085@localhost/res1' id='bf78c877e68e6f306aa16a0072a0c449' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:53:11.848 ***🔗
alice_subscribe_1085@localhost/res1 out
<presence/>



*** User 2024-03-21 07:53:11.848 ***🔗
alice_subscribe_1085@localhost/res1 in
<presence from='alice_subscribe_1085@localhost/res1' to='alice_subscribe_1085@localhost/res1'/>



*** User 2024-03-21 07:53:11.849 ***🔗
bOb_subscribe_1085@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-03-21 07:53:11.849 ***🔗
bOb_subscribe_1085@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c5f0cf8d1560a73b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:53:11.850 ***🔗
bOb_subscribe_1085@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-03-21 07:53:11.850 ***🔗
bOb_subscribe_1085@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMTA4NQBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 07:53:11.851 ***🔗
bOb_subscribe_1085@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:53:11.851 ***🔗
bOb_subscribe_1085@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-03-21 07:53:11.851 ***🔗
bOb_subscribe_1085@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='52707b3381485603' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_1085@localhost'>

*** User 2024-03-21 07:53:11.852 ***🔗
bOb_subscribe_1085@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-03-21 07:53:11.852 ***🔗
bOb_subscribe_1085@localhost/res1 out
<iq type='set' id='9e456391daab0e98d396aa952cd012da'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:53:11.852 ***🔗
bOb_subscribe_1085@localhost/res1 in
<iq id='9e456391daab0e98d396aa952cd012da' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_1085@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:53:11.852 ***🔗
bob_subscribe_1085@localhost/res1 out
<iq type='set' id='1e4605abbd736c5336ffedb364c00e2f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:53:11.853 ***🔗
bob_subscribe_1085@localhost/res1 in
<iq from='localhost' to='bob_subscribe_1085@localhost/res1' id='1e4605abbd736c5336ffedb364c00e2f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:53:11.853 ***🔗
bob_subscribe_1085@localhost/res1 out
<presence/>



*** User 2024-03-21 07:53:11.853 ***🔗
bob_subscribe_1085@localhost/res1 in
<presence from='bob_subscribe_1085@localhost/res1' to='bob_subscribe_1085@localhost/res1'/>



*** User 2024-03-21 07:53:11.853 ***🔗
alice_subscribe_1085@localhost/res1 out
<iq type='set' id='0ff26e49bf7920cf8025122ece48f5ce'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_1085@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:53:11.854 ***🔗
alice_subscribe_1085@localhost/res1 in
<iq from='alice_subscribe_1085@localhost' to='alice_subscribe_1085@localhost/res1' id='push8cc3464c593c35e8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_1085@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:53:11.854 ***🔗
alice_subscribe_1085@localhost/res1 out
<iq to='alice_subscribe_1085@localhost' id='push8cc3464c593c35e8' type='result'/>



*** User 2024-03-21 07:53:11.854 ***🔗
alice_subscribe_1085@localhost/res1 in
<iq from='alice_subscribe_1085@localhost' to='alice_subscribe_1085@localhost/res1' id='0ff26e49bf7920cf8025122ece48f5ce' type='result'/>



*** User 2024-03-21 07:53:11.854 ***🔗
alice_subscribe_1085@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_1085@localhost'/>



*** User 2024-03-21 07:53:11.856 ***🔗
alice_subscribe_1085@localhost/res1 in
<iq from='alice_subscribe_1085@localhost' to='alice_subscribe_1085@localhost/res1' id='push7e73a82dec7c5107' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_1085@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:53:11.856 ***🔗
alice_subscribe_1085@localhost/res1 out
<iq to='alice_subscribe_1085@localhost' id='push7e73a82dec7c5107' type='result'/>



*** User 2024-03-21 07:53:11.856 ***🔗
bob_subscribe_1085@localhost/res1 in
<presence from='alice_subscribe_1085@localhost' to='bob_subscribe_1085@localhost/res1' type='subscribe'/>



*** User 2024-03-21 07:53:11.856 ***🔗
bob_subscribe_1085@localhost/res1 out
<iq type='set' id='8d780a176dded4b0dddcb32a35c1d215'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_1085@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:53:11.857 ***🔗
bob_subscribe_1085@localhost/res1 in
<iq from='bob_subscribe_1085@localhost' to='bob_subscribe_1085@localhost/res1' id='pushe0e571dadcee4ee3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_1085@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:53:11.857 ***🔗
bob_subscribe_1085@localhost/res1 out
<iq to='bob_subscribe_1085@localhost' id='pushe0e571dadcee4ee3' type='result'/>



*** User 2024-03-21 07:53:11.857 ***🔗
bob_subscribe_1085@localhost/res1 in
<iq from='bob_subscribe_1085@localhost' to='bob_subscribe_1085@localhost/res1' id='8d780a176dded4b0dddcb32a35c1d215' type='result'/>



*** User 2024-03-21 07:53:11.857 ***🔗
bob_subscribe_1085@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_1085@localhost'/>



*** User 2024-03-21 07:53:11.859 ***🔗
alice_subscribe_1085@localhost/res1 in
<iq from='alice_subscribe_1085@localhost' to='alice_subscribe_1085@localhost/res1' id='pushe0204224a03e83ad' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_1085@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:53:11.859 ***🔗
alice_subscribe_1085@localhost/res1 in
<presence from='bob_subscribe_1085@localhost' to='alice_subscribe_1085@localhost/res1' type='subscribed'/>



*** User 2024-03-21 07:53:11.859 ***🔗
alice_subscribe_1085@localhost/res1 in
<presence from='bob_subscribe_1085@localhost/res1' to='alice_subscribe_1085@localhost/res1'/>



*** User 2024-03-21 07:53:11.859 ***🔗
bob_subscribe_1085@localhost/res1 in
<iq from='bob_subscribe_1085@localhost' to='bob_subscribe_1085@localhost/res1' id='pushce689dc623f5064d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_1085@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:53:11.860 ***🔗
bob_subscribe_1085@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:53:11.860 ***🔗
bob_subscribe_1085@localhost/res1 in
</stream:stream>

*** User 2024-03-21 07:53:11.861 ***🔗
alice_subscribe_1085@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:53:11.861 ***🔗
alice_subscribe_1085@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 07:53:11.864 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1785.html



=== Ended at 2024-03-21 07:53:11
=== successfully completed test case
=== === Returned value: ok


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