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

=== Config value:

    [{watchdog,<0.64860.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@cec807ac1e64.2024-04-22_17.28.38/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-22_17.38.30/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@cec807ac1e64.2024-04-22_17.28.38/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-22_17.38.30/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@cec807ac1e64.2024-04-22_17.28.38"

=== Started at 2024-04-22 17:38:31


*** CT 2024-04-22 17:38:31.184 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3065.html

*** User 2024-04-22 17:38:31.194 ***🔗
alicE_subscribe_2534@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-22 17:38:31.195 ***🔗
alicE_subscribe_2534@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4427298f238c4676' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:38:31.195 ***🔗
alicE_subscribe_2534@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-22 17:38:31.195 ***🔗
alicE_subscribe_2534@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNTM0AG1hdHlncnlzYQ==</auth>



*** User 2024-04-22 17:38:31.196 ***🔗
alicE_subscribe_2534@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:38:31.196 ***🔗
alicE_subscribe_2534@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-22 17:38:31.197 ***🔗
alicE_subscribe_2534@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8a7fd463e76809f4' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2534@localhost'>

*** User 2024-04-22 17:38:31.197 ***🔗
alicE_subscribe_2534@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-22 17:38:31.197 ***🔗
alicE_subscribe_2534@localhost/res1 out
<iq type='set' id='b24f2fc85386c37e8adc5268821276a0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:38:31.197 ***🔗
alicE_subscribe_2534@localhost/res1 in
<iq id='b24f2fc85386c37e8adc5268821276a0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2534@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:38:31.197 ***🔗
alice_subscribe_2534@localhost/res1 out
<iq type='set' id='77cdeae90d62b31f0793a4b945994162'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:38:31.198 ***🔗
alice_subscribe_2534@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2534@localhost/res1' id='77cdeae90d62b31f0793a4b945994162' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:38:31.198 ***🔗
alice_subscribe_2534@localhost/res1 out
<presence/>



*** User 2024-04-22 17:38:31.200 ***🔗
alice_subscribe_2534@localhost/res1 in
<presence from='alice_subscribe_2534@localhost/res1' to='alice_subscribe_2534@localhost/res1'/>



*** User 2024-04-22 17:38:31.201 ***🔗
bOb_subscribe_2534@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-22 17:38:31.201 ***🔗
bOb_subscribe_2534@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e9219e5a5d056d0b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-22 17:38:31.201 ***🔗
bOb_subscribe_2534@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-22 17:38:31.201 ***🔗
bOb_subscribe_2534@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjUzNABtYWtyb2xpa2E=</auth>



*** User 2024-04-22 17:38:31.203 ***🔗
bOb_subscribe_2534@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-22 17:38:31.203 ***🔗
bOb_subscribe_2534@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-22 17:38:31.203 ***🔗
bOb_subscribe_2534@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ef5e00f7b8349764' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2534@localhost'>

*** User 2024-04-22 17:38:31.203 ***🔗
bOb_subscribe_2534@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-22 17:38:31.203 ***🔗
bOb_subscribe_2534@localhost/res1 out
<iq type='set' id='71097befb39c7850608cb2e0861f0c1a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-22 17:38:31.204 ***🔗
bOb_subscribe_2534@localhost/res1 in
<iq id='71097befb39c7850608cb2e0861f0c1a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2534@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-22 17:38:31.204 ***🔗
bob_subscribe_2534@localhost/res1 out
<iq type='set' id='3cf9f6702a82b02baf09cf825150052b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:38:31.205 ***🔗
bob_subscribe_2534@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2534@localhost/res1' id='3cf9f6702a82b02baf09cf825150052b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-22 17:38:31.205 ***🔗
bob_subscribe_2534@localhost/res1 out
<presence/>



*** User 2024-04-22 17:38:31.206 ***🔗
bob_subscribe_2534@localhost/res1 in
<presence from='bob_subscribe_2534@localhost/res1' to='bob_subscribe_2534@localhost/res1'/>



*** User 2024-04-22 17:38:31.207 ***🔗
alice_subscribe_2534@localhost/res1 out
<iq type='set' id='b4a90b5c44c45ce9c685711ab1f4116e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2534@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:38:31.210 ***🔗
alice_subscribe_2534@localhost/res1 in
<iq from='alice_subscribe_2534@localhost' to='alice_subscribe_2534@localhost/res1' id='pushcb0d8d2b10b8c535' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2534@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:38:31.210 ***🔗
alice_subscribe_2534@localhost/res1 out
<iq to='alice_subscribe_2534@localhost' id='pushcb0d8d2b10b8c535' type='result'/>



*** User 2024-04-22 17:38:31.210 ***🔗
alice_subscribe_2534@localhost/res1 in
<iq from='alice_subscribe_2534@localhost' to='alice_subscribe_2534@localhost/res1' id='b4a90b5c44c45ce9c685711ab1f4116e' type='result'/>



*** User 2024-04-22 17:38:31.210 ***🔗
alice_subscribe_2534@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2534@localhost'/>



*** User 2024-04-22 17:38:31.215 ***🔗
alice_subscribe_2534@localhost/res1 in
<iq from='alice_subscribe_2534@localhost' to='alice_subscribe_2534@localhost/res1' id='push324e404600aca768' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2534@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:38:31.215 ***🔗
alice_subscribe_2534@localhost/res1 out
<iq to='alice_subscribe_2534@localhost' id='push324e404600aca768' type='result'/>



*** User 2024-04-22 17:38:31.215 ***🔗
bob_subscribe_2534@localhost/res1 in
<presence from='alice_subscribe_2534@localhost' to='bob_subscribe_2534@localhost/res1' type='subscribe'/>



*** User 2024-04-22 17:38:31.215 ***🔗
bob_subscribe_2534@localhost/res1 out
<iq type='set' id='0b85609291a0f64642545613b8f45c9e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2534@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:38:31.219 ***🔗
bob_subscribe_2534@localhost/res1 in
<iq from='bob_subscribe_2534@localhost' to='bob_subscribe_2534@localhost/res1' id='push9f7580a735a7108f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2534@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:38:31.219 ***🔗
bob_subscribe_2534@localhost/res1 out
<iq to='bob_subscribe_2534@localhost' id='push9f7580a735a7108f' type='result'/>



*** User 2024-04-22 17:38:31.219 ***🔗
bob_subscribe_2534@localhost/res1 in
<iq from='bob_subscribe_2534@localhost' to='bob_subscribe_2534@localhost/res1' id='0b85609291a0f64642545613b8f45c9e' type='result'/>



*** User 2024-04-22 17:38:31.219 ***🔗
bob_subscribe_2534@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2534@localhost'/>



*** User 2024-04-22 17:38:31.225 ***🔗
alice_subscribe_2534@localhost/res1 in
<iq from='alice_subscribe_2534@localhost' to='alice_subscribe_2534@localhost/res1' id='push387bc3e732a38662' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2534@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:38:31.225 ***🔗
alice_subscribe_2534@localhost/res1 in
<presence from='bob_subscribe_2534@localhost' to='alice_subscribe_2534@localhost/res1' type='subscribed'/>



*** User 2024-04-22 17:38:31.225 ***🔗
alice_subscribe_2534@localhost/res1 in
<presence from='bob_subscribe_2534@localhost/res1' to='alice_subscribe_2534@localhost/res1'/>



*** User 2024-04-22 17:38:31.225 ***🔗
bob_subscribe_2534@localhost/res1 in
<iq from='bob_subscribe_2534@localhost' to='bob_subscribe_2534@localhost/res1' id='pushad70386195ef05bb' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2534@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-22 17:38:31.226 ***🔗
bob_subscribe_2534@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:38:31.227 ***🔗
bob_subscribe_2534@localhost/res1 in
</stream:stream>

*** User 2024-04-22 17:38:31.227 ***🔗
alice_subscribe_2534@localhost/res1 out
</stream:stream>

*** User 2024-04-22 17:38:31.227 ***🔗
alice_subscribe_2534@localhost/res1 in
</stream:stream>
*** CT 2024-04-22 17:38:31.234 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3065.html



=== Ended at 2024-04-22 17:38:31
=== successfully completed test case
=== === Returned value: ok


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