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

=== Config value:

    [{watchdog,<0.63398.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@de34115c687f.2024-04-10_12.44.09/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-10_12.52.27/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@de34115c687f.2024-04-10_12.44.09/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-10_12.52.27/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@de34115c687f.2024-04-10_12.44.09"

=== Started at 2024-04-10 12:52:27


*** CT 2024-04-10 12:52:27.645 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2047.html

*** User 2024-04-10 12:52:27.652 ***🔗
alicE_subscribe_2516@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-10 12:52:27.652 ***🔗
alicE_subscribe_2516@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='50b62a35ce7dea3a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:52:27.652 ***🔗
alicE_subscribe_2516@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-10 12:52:27.652 ***🔗
alicE_subscribe_2516@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNTE2AG1hdHlncnlzYQ==</auth>



*** User 2024-04-10 12:52:27.653 ***🔗
alicE_subscribe_2516@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:52:27.653 ***🔗
alicE_subscribe_2516@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-10 12:52:27.654 ***🔗
alicE_subscribe_2516@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='30cd4e4af8012e47' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2516@localhost'>

*** User 2024-04-10 12:52:27.654 ***🔗
alicE_subscribe_2516@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-10 12:52:27.654 ***🔗
alicE_subscribe_2516@localhost/res1 out
<iq type='set' id='6b5b437d40a3cfab02f186609683056a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:52:27.654 ***🔗
alicE_subscribe_2516@localhost/res1 in
<iq id='6b5b437d40a3cfab02f186609683056a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2516@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:52:27.654 ***🔗
alice_subscribe_2516@localhost/res1 out
<iq type='set' id='ba305189fd7d0ee683436a6ca1bdfbea'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:52:27.655 ***🔗
alice_subscribe_2516@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2516@localhost/res1' id='ba305189fd7d0ee683436a6ca1bdfbea' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:52:27.655 ***🔗
alice_subscribe_2516@localhost/res1 out
<presence/>



*** User 2024-04-10 12:52:27.656 ***🔗
alice_subscribe_2516@localhost/res1 in
<presence from='alice_subscribe_2516@localhost/res1' to='alice_subscribe_2516@localhost/res1'/>



*** User 2024-04-10 12:52:27.657 ***🔗
bOb_subscribe_2516@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-10 12:52:27.657 ***🔗
bOb_subscribe_2516@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f1554cd8a0264dfc' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-10 12:52:27.657 ***🔗
bOb_subscribe_2516@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-10 12:52:27.658 ***🔗
bOb_subscribe_2516@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjUxNgBtYWtyb2xpa2E=</auth>



*** User 2024-04-10 12:52:27.658 ***🔗
bOb_subscribe_2516@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-10 12:52:27.658 ***🔗
bOb_subscribe_2516@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-10 12:52:27.659 ***🔗
bOb_subscribe_2516@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='30a47a2a2989f927' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2516@localhost'>

*** User 2024-04-10 12:52:27.659 ***🔗
bOb_subscribe_2516@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-10 12:52:27.659 ***🔗
bOb_subscribe_2516@localhost/res1 out
<iq type='set' id='3b6c4dc1a0aa7f74351fd240c35f8a7a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-10 12:52:27.659 ***🔗
bOb_subscribe_2516@localhost/res1 in
<iq id='3b6c4dc1a0aa7f74351fd240c35f8a7a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2516@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-10 12:52:27.659 ***🔗
bob_subscribe_2516@localhost/res1 out
<iq type='set' id='bf7db932ee5b9b22715ce46ea9c1fa65'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:52:27.660 ***🔗
bob_subscribe_2516@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2516@localhost/res1' id='bf7db932ee5b9b22715ce46ea9c1fa65' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-10 12:52:27.660 ***🔗
bob_subscribe_2516@localhost/res1 out
<presence/>



*** User 2024-04-10 12:52:27.661 ***🔗
bob_subscribe_2516@localhost/res1 in
<presence from='bob_subscribe_2516@localhost/res1' to='bob_subscribe_2516@localhost/res1'/>



*** User 2024-04-10 12:52:27.661 ***🔗
alice_subscribe_2516@localhost/res1 out
<iq type='set' id='29d0787d1f6351104b5786911b14f814'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2516@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:52:27.663 ***🔗
alice_subscribe_2516@localhost/res1 in
<iq from='alice_subscribe_2516@localhost' to='alice_subscribe_2516@localhost/res1' id='push24a7eea0c43942c8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2516@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:52:27.664 ***🔗
alice_subscribe_2516@localhost/res1 out
<iq to='alice_subscribe_2516@localhost' id='push24a7eea0c43942c8' type='result'/>



*** User 2024-04-10 12:52:27.664 ***🔗
alice_subscribe_2516@localhost/res1 in
<iq from='alice_subscribe_2516@localhost' to='alice_subscribe_2516@localhost/res1' id='29d0787d1f6351104b5786911b14f814' type='result'/>



*** User 2024-04-10 12:52:27.664 ***🔗
alice_subscribe_2516@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2516@localhost'/>



*** User 2024-04-10 12:52:27.667 ***🔗
alice_subscribe_2516@localhost/res1 in
<iq from='alice_subscribe_2516@localhost' to='alice_subscribe_2516@localhost/res1' id='push4dc4e7989cbbecc9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2516@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:52:27.668 ***🔗
alice_subscribe_2516@localhost/res1 out
<iq to='alice_subscribe_2516@localhost' id='push4dc4e7989cbbecc9' type='result'/>



*** User 2024-04-10 12:52:27.668 ***🔗
bob_subscribe_2516@localhost/res1 in
<presence from='alice_subscribe_2516@localhost' to='bob_subscribe_2516@localhost/res1' type='subscribe'/>



*** User 2024-04-10 12:52:27.668 ***🔗
bob_subscribe_2516@localhost/res1 out
<iq type='set' id='fe6c78be51ac5e759f668a6e9269482b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2516@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:52:27.670 ***🔗
bob_subscribe_2516@localhost/res1 in
<iq from='bob_subscribe_2516@localhost' to='bob_subscribe_2516@localhost/res1' id='pusha799b463a4a8feea' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2516@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:52:27.670 ***🔗
bob_subscribe_2516@localhost/res1 out
<iq to='bob_subscribe_2516@localhost' id='pusha799b463a4a8feea' type='result'/>



*** User 2024-04-10 12:52:27.670 ***🔗
bob_subscribe_2516@localhost/res1 in
<iq from='bob_subscribe_2516@localhost' to='bob_subscribe_2516@localhost/res1' id='fe6c78be51ac5e759f668a6e9269482b' type='result'/>



*** User 2024-04-10 12:52:27.670 ***🔗
bob_subscribe_2516@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2516@localhost'/>



*** User 2024-04-10 12:52:27.674 ***🔗
alice_subscribe_2516@localhost/res1 in
<iq from='alice_subscribe_2516@localhost' to='alice_subscribe_2516@localhost/res1' id='pushbded1d24e1c752b8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2516@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:52:27.675 ***🔗
alice_subscribe_2516@localhost/res1 in
<presence from='bob_subscribe_2516@localhost' to='alice_subscribe_2516@localhost/res1' type='subscribed'/>



*** User 2024-04-10 12:52:27.675 ***🔗
alice_subscribe_2516@localhost/res1 in
<presence from='bob_subscribe_2516@localhost/res1' to='alice_subscribe_2516@localhost/res1'/>



*** User 2024-04-10 12:52:27.675 ***🔗
bob_subscribe_2516@localhost/res1 in
<iq from='bob_subscribe_2516@localhost' to='bob_subscribe_2516@localhost/res1' id='push0a3ccb3ecbd27a19' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2516@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-10 12:52:27.676 ***🔗
bob_subscribe_2516@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:52:27.676 ***🔗
bob_subscribe_2516@localhost/res1 in
</stream:stream>

*** User 2024-04-10 12:52:27.676 ***🔗
alice_subscribe_2516@localhost/res1 out
</stream:stream>

*** User 2024-04-10 12:52:27.677 ***🔗
alice_subscribe_2516@localhost/res1 in
</stream:stream>
*** CT 2024-04-10 12:52:27.683 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2047.html



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


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