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

=== Config value:

    [{watchdog,<0.30305.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@b4bdf150c7f9.2024-04-15_16.45.57/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-15_16.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@b4bdf150c7f9.2024-04-15_16.45.57/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-15_16.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@b4bdf150c7f9.2024-04-15_16.45.57"

=== Started at 2024-04-15 16:53:12


*** CT 2024-04-15 16:53:12.143 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1792.html

*** User 2024-04-15 16:53:12.160 ***🔗
alicE_subscribe_1104@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-15 16:53:12.161 ***🔗
alicE_subscribe_1104@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='18d0661a82d18661' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 16:53:12.161 ***🔗
alicE_subscribe_1104@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-04-15 16:53:12.161 ***🔗
alicE_subscribe_1104@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8xMTA0AG1hdHlncnlzYQ==</auth>



*** User 2024-04-15 16:53:12.162 ***🔗
alicE_subscribe_1104@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 16:53:12.163 ***🔗
alicE_subscribe_1104@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-15 16:53:12.163 ***🔗
alicE_subscribe_1104@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='36db9ea16a9a2130' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_1104@localhost'>

*** User 2024-04-15 16:53:12.163 ***🔗
alicE_subscribe_1104@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-15 16:53:12.163 ***🔗
alicE_subscribe_1104@localhost/res1 out
<iq type='set' id='4f1062652ab9742614a8f54f99cc1066'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 16:53:12.164 ***🔗
alicE_subscribe_1104@localhost/res1 in
<iq id='4f1062652ab9742614a8f54f99cc1066' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_1104@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:53:12.164 ***🔗
alice_subscribe_1104@localhost/res1 out
<iq type='set' id='a07ed11f93a966281c3982217f4527cb'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:53:12.164 ***🔗
alice_subscribe_1104@localhost/res1 in
<iq from='localhost' to='alice_subscribe_1104@localhost/res1' id='a07ed11f93a966281c3982217f4527cb' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:53:12.164 ***🔗
alice_subscribe_1104@localhost/res1 out
<presence/>



*** User 2024-04-15 16:53:12.165 ***🔗
alice_subscribe_1104@localhost/res1 in
<presence from='alice_subscribe_1104@localhost/res1' to='alice_subscribe_1104@localhost/res1'/>



*** User 2024-04-15 16:53:12.166 ***🔗
bOb_subscribe_1104@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-15 16:53:12.166 ***🔗
bOb_subscribe_1104@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='978f6e657133bb67' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 16:53:12.166 ***🔗
bOb_subscribe_1104@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-04-15 16:53:12.166 ***🔗
bOb_subscribe_1104@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMTEwNABtYWtyb2xpa2E=</auth>



*** User 2024-04-15 16:53:12.168 ***🔗
bOb_subscribe_1104@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 16:53:12.168 ***🔗
bOb_subscribe_1104@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-15 16:53:12.168 ***🔗
bOb_subscribe_1104@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a8c174906b7f192f' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_1104@localhost'>

*** User 2024-04-15 16:53:12.168 ***🔗
bOb_subscribe_1104@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-15 16:53:12.168 ***🔗
bOb_subscribe_1104@localhost/res1 out
<iq type='set' id='e4719ff9fee11cc4160717fb2418bb55'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 16:53:12.168 ***🔗
bOb_subscribe_1104@localhost/res1 in
<iq id='e4719ff9fee11cc4160717fb2418bb55' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_1104@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:53:12.169 ***🔗
bob_subscribe_1104@localhost/res1 out
<iq type='set' id='553414d03cef403ce301841f415556a7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:53:12.169 ***🔗
bob_subscribe_1104@localhost/res1 in
<iq from='localhost' to='bob_subscribe_1104@localhost/res1' id='553414d03cef403ce301841f415556a7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:53:12.169 ***🔗
bob_subscribe_1104@localhost/res1 out
<presence/>



*** User 2024-04-15 16:53:12.170 ***🔗
bob_subscribe_1104@localhost/res1 in
<presence from='bob_subscribe_1104@localhost/res1' to='bob_subscribe_1104@localhost/res1'/>



*** User 2024-04-15 16:53:12.170 ***🔗
alice_subscribe_1104@localhost/res1 out
<iq type='set' id='885d978a2aac7855432d15dc97395846'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_1104@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:12.171 ***🔗
alice_subscribe_1104@localhost/res1 in
<iq from='alice_subscribe_1104@localhost' to='alice_subscribe_1104@localhost/res1' id='pusha8f48c7fcb0470b5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_1104@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:12.171 ***🔗
alice_subscribe_1104@localhost/res1 out
<iq to='alice_subscribe_1104@localhost' id='pusha8f48c7fcb0470b5' type='result'/>



*** User 2024-04-15 16:53:12.171 ***🔗
alice_subscribe_1104@localhost/res1 in
<iq from='alice_subscribe_1104@localhost' to='alice_subscribe_1104@localhost/res1' id='885d978a2aac7855432d15dc97395846' type='result'/>



*** User 2024-04-15 16:53:12.171 ***🔗
alice_subscribe_1104@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_1104@localhost'/>



*** User 2024-04-15 16:53:12.173 ***🔗
alice_subscribe_1104@localhost/res1 in
<iq from='alice_subscribe_1104@localhost' to='alice_subscribe_1104@localhost/res1' id='push56e4315290052164' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_1104@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:12.173 ***🔗
alice_subscribe_1104@localhost/res1 out
<iq to='alice_subscribe_1104@localhost' id='push56e4315290052164' type='result'/>



*** User 2024-04-15 16:53:12.173 ***🔗
bob_subscribe_1104@localhost/res1 in
<presence from='alice_subscribe_1104@localhost' to='bob_subscribe_1104@localhost/res1' type='subscribe'/>



*** User 2024-04-15 16:53:12.173 ***🔗
bob_subscribe_1104@localhost/res1 out
<iq type='set' id='caf9499fb05c6b66df055e23465fcaa4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_1104@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:12.174 ***🔗
bob_subscribe_1104@localhost/res1 in
<iq from='bob_subscribe_1104@localhost' to='bob_subscribe_1104@localhost/res1' id='push448708842a4cd27e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_1104@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:12.174 ***🔗
bob_subscribe_1104@localhost/res1 out
<iq to='bob_subscribe_1104@localhost' id='push448708842a4cd27e' type='result'/>



*** User 2024-04-15 16:53:12.174 ***🔗
bob_subscribe_1104@localhost/res1 in
<iq from='bob_subscribe_1104@localhost' to='bob_subscribe_1104@localhost/res1' id='caf9499fb05c6b66df055e23465fcaa4' type='result'/>



*** User 2024-04-15 16:53:12.174 ***🔗
bob_subscribe_1104@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_1104@localhost'/>



*** User 2024-04-15 16:53:12.176 ***🔗
alice_subscribe_1104@localhost/res1 in
<iq from='alice_subscribe_1104@localhost' to='alice_subscribe_1104@localhost/res1' id='push98ac6d38e4a0e5f8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_1104@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:12.176 ***🔗
alice_subscribe_1104@localhost/res1 in
<presence from='bob_subscribe_1104@localhost' to='alice_subscribe_1104@localhost/res1' type='subscribed'/>



*** User 2024-04-15 16:53:12.176 ***🔗
alice_subscribe_1104@localhost/res1 in
<presence from='bob_subscribe_1104@localhost/res1' to='alice_subscribe_1104@localhost/res1'/>



*** User 2024-04-15 16:53:12.176 ***🔗
bob_subscribe_1104@localhost/res1 in
<iq from='bob_subscribe_1104@localhost' to='bob_subscribe_1104@localhost/res1' id='push9aea5c3c04c1b482' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_1104@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:12.177 ***🔗
bob_subscribe_1104@localhost/res1 out
</stream:stream>

*** User 2024-04-15 16:53:12.178 ***🔗
bob_subscribe_1104@localhost/res1 in
</stream:stream>

*** User 2024-04-15 16:53:12.178 ***🔗
alice_subscribe_1104@localhost/res1 out
</stream:stream>

*** User 2024-04-15 16:53:12.178 ***🔗
alice_subscribe_1104@localhost/res1 in
</stream:stream>
*** CT 2024-04-15 16:53:12.180 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1792.html



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


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