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

=== Config value:

    [{watchdog,<0.59852.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@33609cf67be7.2024-02-28_10.20.46/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-28_10.29.34/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@33609cf67be7.2024-02-28_10.20.46/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-28_10.29.34/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@33609cf67be7.2024-02-28_10.20.46"

=== Started at 2024-02-28 10:29:35


*** CT 2024-02-28 10:29:35.305 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2003.html

*** User 2024-02-28 10:29:35.318 ***🔗
alicE_subscribe_2402@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-28 10:29:35.319 ***🔗
alicE_subscribe_2402@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='00df619504d914e8' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-28 10:29:35.319 ***🔗
alicE_subscribe_2402@domain.example.com/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-02-28 10:29:35.319 ***🔗
alicE_subscribe_2402@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNDAyAG1hdHlncnlzYQ==</auth>



*** User 2024-02-28 10:29:35.320 ***🔗
alicE_subscribe_2402@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-28 10:29:35.320 ***🔗
alicE_subscribe_2402@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-28 10:29:35.321 ***🔗
alicE_subscribe_2402@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1fbb30bcdf4e2355' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2402@domain.example.com'>

*** User 2024-02-28 10:29:35.321 ***🔗
alicE_subscribe_2402@domain.example.com/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-02-28 10:29:35.321 ***🔗
alicE_subscribe_2402@domain.example.com/res1 out
<iq type='set' id='13a9e56271060747b47544ce5e05fcba'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-28 10:29:35.321 ***🔗
alicE_subscribe_2402@domain.example.com/res1 in
<iq id='13a9e56271060747b47544ce5e05fcba' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2402@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-28 10:29:35.321 ***🔗
alice_subscribe_2402@domain.example.com/res1 out
<iq type='set' id='839cda89bf5e469f6d0a85ae80338067'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 10:29:35.322 ***🔗
alice_subscribe_2402@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2402@domain.example.com/res1' id='839cda89bf5e469f6d0a85ae80338067' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 10:29:35.322 ***🔗
alice_subscribe_2402@domain.example.com/res1 out
<presence/>



*** User 2024-02-28 10:29:35.325 ***🔗
alice_subscribe_2402@domain.example.com/res1 in
<presence from='alice_subscribe_2402@domain.example.com/res1' to='alice_subscribe_2402@domain.example.com/res1'/>



*** User 2024-02-28 10:29:35.325 ***🔗
bOb_subscribe_2402@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-28 10:29:35.326 ***🔗
bOb_subscribe_2402@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='04065865c8206a82' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-28 10:29:35.326 ***🔗
bOb_subscribe_2402@domain.example.com/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-02-28 10:29:35.326 ***🔗
bOb_subscribe_2402@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjQwMgBtYWtyb2xpa2E=</auth>



*** User 2024-02-28 10:29:35.327 ***🔗
bOb_subscribe_2402@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-28 10:29:35.327 ***🔗
bOb_subscribe_2402@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-02-28 10:29:35.328 ***🔗
bOb_subscribe_2402@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a0c4962bf248c552' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2402@domain.example.com'>

*** User 2024-02-28 10:29:35.328 ***🔗
bOb_subscribe_2402@domain.example.com/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-02-28 10:29:35.328 ***🔗
bOb_subscribe_2402@domain.example.com/res1 out
<iq type='set' id='ce607d94d8c61f29e2263b6959dcfa8c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-28 10:29:35.328 ***🔗
bOb_subscribe_2402@domain.example.com/res1 in
<iq id='ce607d94d8c61f29e2263b6959dcfa8c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2402@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-28 10:29:35.328 ***🔗
bob_subscribe_2402@domain.example.com/res1 out
<iq type='set' id='9944fd7d997eb3ccba9d4aa52f26d338'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 10:29:35.329 ***🔗
bob_subscribe_2402@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2402@domain.example.com/res1' id='9944fd7d997eb3ccba9d4aa52f26d338' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-28 10:29:35.329 ***🔗
bob_subscribe_2402@domain.example.com/res1 out
<presence/>



*** User 2024-02-28 10:29:35.331 ***🔗
bob_subscribe_2402@domain.example.com/res1 in
<presence from='bob_subscribe_2402@domain.example.com/res1' to='bob_subscribe_2402@domain.example.com/res1'/>



*** User 2024-02-28 10:29:35.331 ***🔗
alice_subscribe_2402@domain.example.com/res1 out
<iq type='set' id='0c11292e7e503e31a085bba0d38e9c0c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2402@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-28 10:29:35.338 ***🔗
alice_subscribe_2402@domain.example.com/res1 in
<iq from='alice_subscribe_2402@domain.example.com' to='alice_subscribe_2402@domain.example.com/res1' id='pusha64b0e37736d9985' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2402@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-28 10:29:35.338 ***🔗
alice_subscribe_2402@domain.example.com/res1 out
<iq to='alice_subscribe_2402@domain.example.com' id='pusha64b0e37736d9985' type='result'/>



*** User 2024-02-28 10:29:35.338 ***🔗
alice_subscribe_2402@domain.example.com/res1 in
<iq from='alice_subscribe_2402@domain.example.com' to='alice_subscribe_2402@domain.example.com/res1' id='0c11292e7e503e31a085bba0d38e9c0c' type='result'/>



*** User 2024-02-28 10:29:35.338 ***🔗
alice_subscribe_2402@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2402@domain.example.com'/>



*** User 2024-02-28 10:29:35.347 ***🔗
alice_subscribe_2402@domain.example.com/res1 in
<iq from='alice_subscribe_2402@domain.example.com' to='alice_subscribe_2402@domain.example.com/res1' id='push2ff84bf47bca73fc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2402@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-28 10:29:35.347 ***🔗
alice_subscribe_2402@domain.example.com/res1 out
<iq to='alice_subscribe_2402@domain.example.com' id='push2ff84bf47bca73fc' type='result'/>



*** User 2024-02-28 10:29:35.348 ***🔗
bob_subscribe_2402@domain.example.com/res1 in
<presence from='alice_subscribe_2402@domain.example.com' to='bob_subscribe_2402@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-28 10:29:35.348 ***🔗
bob_subscribe_2402@domain.example.com/res1 out
<iq type='set' id='8a95f825dc119cbee36ebee2aa051a79'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2402@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-28 10:29:35.353 ***🔗
bob_subscribe_2402@domain.example.com/res1 in
<iq from='bob_subscribe_2402@domain.example.com' to='bob_subscribe_2402@domain.example.com/res1' id='push2f7d32439688ab3f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2402@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-28 10:29:35.353 ***🔗
bob_subscribe_2402@domain.example.com/res1 out
<iq to='bob_subscribe_2402@domain.example.com' id='push2f7d32439688ab3f' type='result'/>



*** User 2024-02-28 10:29:35.353 ***🔗
bob_subscribe_2402@domain.example.com/res1 in
<iq from='bob_subscribe_2402@domain.example.com' to='bob_subscribe_2402@domain.example.com/res1' id='8a95f825dc119cbee36ebee2aa051a79' type='result'/>



*** User 2024-02-28 10:29:35.353 ***🔗
bob_subscribe_2402@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2402@domain.example.com'/>



*** User 2024-02-28 10:29:35.361 ***🔗
alice_subscribe_2402@domain.example.com/res1 in
<iq from='alice_subscribe_2402@domain.example.com' to='alice_subscribe_2402@domain.example.com/res1' id='pushc42b755e3bdfcc47' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2402@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-28 10:29:35.361 ***🔗
alice_subscribe_2402@domain.example.com/res1 in
<presence from='bob_subscribe_2402@domain.example.com' to='alice_subscribe_2402@domain.example.com/res1' type='subscribed'/>



*** User 2024-02-28 10:29:35.361 ***🔗
alice_subscribe_2402@domain.example.com/res1 in
<presence from='bob_subscribe_2402@domain.example.com/res1' to='alice_subscribe_2402@domain.example.com/res1'/>



*** User 2024-02-28 10:29:35.361 ***🔗
bob_subscribe_2402@domain.example.com/res1 in
<iq from='bob_subscribe_2402@domain.example.com' to='bob_subscribe_2402@domain.example.com/res1' id='pushae6fcf6434005dd3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2402@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-28 10:29:35.362 ***🔗
bob_subscribe_2402@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-28 10:29:35.363 ***🔗
bob_subscribe_2402@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-28 10:29:35.363 ***🔗
alice_subscribe_2402@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-28 10:29:35.363 ***🔗
alice_subscribe_2402@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-28 10:29:35.370 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2003.html



=== Ended at 2024-02-28 10:29:35
=== successfully completed test case
=== === Returned value: ok


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