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

=== Config value:

    [{watchdog,<0.61329.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,"pgsql_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@c3f703cbaa20.2024-03-06_10.06.32/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-06_10.17.10/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@c3f703cbaa20.2024-03-06_10.06.32/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-06_10.17.10/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@c3f703cbaa20.2024-03-06_10.06.32"

=== Started at 2024-03-06 10:17:11


*** CT 2024-03-06 10:17:11.251 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2301.html

*** User 2024-03-06 10:17:11.258 ***🔗
alicE_subscribe_2500@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-06 10:17:11.258 ***🔗
alicE_subscribe_2500@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5199d8f2c737fc81' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-06 10:17:11.258 ***🔗
alicE_subscribe_2500@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-03-06 10:17:11.259 ***🔗
alicE_subscribe_2500@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNTAwAG1hdHlncnlzYQ==</auth>



*** User 2024-03-06 10:17:11.260 ***🔗
alicE_subscribe_2500@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-06 10:17:11.260 ***🔗
alicE_subscribe_2500@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-06 10:17:11.260 ***🔗
alicE_subscribe_2500@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b4cfd7765ceb4534' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2500@localhost'>

*** User 2024-03-06 10:17:11.260 ***🔗
alicE_subscribe_2500@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-06 10:17:11.260 ***🔗
alicE_subscribe_2500@localhost/res1 out
<iq type='set' id='f0116f51ff42bb103f50c74b6f3aeb71'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-06 10:17:11.260 ***🔗
alicE_subscribe_2500@localhost/res1 in
<iq id='f0116f51ff42bb103f50c74b6f3aeb71' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2500@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-06 10:17:11.261 ***🔗
alice_subscribe_2500@localhost/res1 out
<iq type='set' id='fd708415defe7184931b5882e6790390'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 10:17:11.261 ***🔗
alice_subscribe_2500@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2500@localhost/res1' id='fd708415defe7184931b5882e6790390' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 10:17:11.261 ***🔗
alice_subscribe_2500@localhost/res1 out
<presence/>



*** User 2024-03-06 10:17:11.262 ***🔗
alice_subscribe_2500@localhost/res1 in
<presence from='alice_subscribe_2500@localhost/res1' to='alice_subscribe_2500@localhost/res1'/>



*** User 2024-03-06 10:17:11.263 ***🔗
bOb_subscribe_2500@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-06 10:17:11.263 ***🔗
bOb_subscribe_2500@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ecf9566d1ac61a8d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-06 10:17:11.263 ***🔗
bOb_subscribe_2500@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-03-06 10:17:11.263 ***🔗
bOb_subscribe_2500@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjUwMABtYWtyb2xpa2E=</auth>



*** User 2024-03-06 10:17:11.264 ***🔗
bOb_subscribe_2500@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-06 10:17:11.264 ***🔗
bOb_subscribe_2500@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-06 10:17:11.264 ***🔗
bOb_subscribe_2500@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a84ba1a284af91ec' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2500@localhost'>

*** User 2024-03-06 10:17:11.264 ***🔗
bOb_subscribe_2500@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-06 10:17:11.264 ***🔗
bOb_subscribe_2500@localhost/res1 out
<iq type='set' id='51fcf9c27e818ee1609b789c7a7b2451'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-06 10:17:11.265 ***🔗
bOb_subscribe_2500@localhost/res1 in
<iq id='51fcf9c27e818ee1609b789c7a7b2451' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2500@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-06 10:17:11.265 ***🔗
bob_subscribe_2500@localhost/res1 out
<iq type='set' id='b2ef2672117d0c6a36aaa150eb8c9ada'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 10:17:11.265 ***🔗
bob_subscribe_2500@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2500@localhost/res1' id='b2ef2672117d0c6a36aaa150eb8c9ada' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-06 10:17:11.265 ***🔗
bob_subscribe_2500@localhost/res1 out
<presence/>



*** User 2024-03-06 10:17:11.266 ***🔗
bob_subscribe_2500@localhost/res1 in
<presence from='bob_subscribe_2500@localhost/res1' to='bob_subscribe_2500@localhost/res1'/>



*** User 2024-03-06 10:17:11.266 ***🔗
alice_subscribe_2500@localhost/res1 out
<iq type='set' id='b5bb2e130a393898f3d893066ed45e35'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2500@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:17:11.268 ***🔗
alice_subscribe_2500@localhost/res1 in
<iq from='alice_subscribe_2500@localhost' to='alice_subscribe_2500@localhost/res1' id='push3fc80b7dda7ad8b0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_2500@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:17:11.268 ***🔗
alice_subscribe_2500@localhost/res1 out
<iq to='alice_subscribe_2500@localhost' id='push3fc80b7dda7ad8b0' type='result'/>



*** User 2024-03-06 10:17:11.269 ***🔗
alice_subscribe_2500@localhost/res1 in
<iq from='alice_subscribe_2500@localhost' to='alice_subscribe_2500@localhost/res1' id='b5bb2e130a393898f3d893066ed45e35' type='result'/>



*** User 2024-03-06 10:17:11.269 ***🔗
alice_subscribe_2500@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2500@localhost'/>



*** User 2024-03-06 10:17:11.272 ***🔗
alice_subscribe_2500@localhost/res1 in
<iq from='alice_subscribe_2500@localhost' to='alice_subscribe_2500@localhost/res1' id='push97d0f9c2dd68dcd2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_2500@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:17:11.272 ***🔗
alice_subscribe_2500@localhost/res1 out
<iq to='alice_subscribe_2500@localhost' id='push97d0f9c2dd68dcd2' type='result'/>



*** User 2024-03-06 10:17:11.272 ***🔗
bob_subscribe_2500@localhost/res1 in
<presence from='alice_subscribe_2500@localhost' to='bob_subscribe_2500@localhost/res1' type='subscribe'/>



*** User 2024-03-06 10:17:11.272 ***🔗
bob_subscribe_2500@localhost/res1 out
<iq type='set' id='08229e10958842120c50357b9f13e893'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2500@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:17:11.274 ***🔗
bob_subscribe_2500@localhost/res1 in
<iq from='bob_subscribe_2500@localhost' to='bob_subscribe_2500@localhost/res1' id='push4d98409d03fa706d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_2500@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:17:11.274 ***🔗
bob_subscribe_2500@localhost/res1 out
<iq to='bob_subscribe_2500@localhost' id='push4d98409d03fa706d' type='result'/>



*** User 2024-03-06 10:17:11.274 ***🔗
bob_subscribe_2500@localhost/res1 in
<iq from='bob_subscribe_2500@localhost' to='bob_subscribe_2500@localhost/res1' id='08229e10958842120c50357b9f13e893' type='result'/>



*** User 2024-03-06 10:17:11.274 ***🔗
bob_subscribe_2500@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2500@localhost'/>



*** User 2024-03-06 10:17:11.277 ***🔗
alice_subscribe_2500@localhost/res1 in
<iq from='alice_subscribe_2500@localhost' to='alice_subscribe_2500@localhost/res1' id='push9746db5ce9062ea7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_2500@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:17:11.277 ***🔗
alice_subscribe_2500@localhost/res1 in
<presence from='bob_subscribe_2500@localhost' to='alice_subscribe_2500@localhost/res1' type='subscribed'/>



*** User 2024-03-06 10:17:11.277 ***🔗
alice_subscribe_2500@localhost/res1 in
<presence from='bob_subscribe_2500@localhost/res1' to='alice_subscribe_2500@localhost/res1'/>



*** User 2024-03-06 10:17:11.277 ***🔗
bob_subscribe_2500@localhost/res1 in
<iq from='bob_subscribe_2500@localhost' to='bob_subscribe_2500@localhost/res1' id='push1fa39fb459101a9d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_2500@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-06 10:17:11.278 ***🔗
bob_subscribe_2500@localhost/res1 out
</stream:stream>

*** User 2024-03-06 10:17:11.279 ***🔗
bob_subscribe_2500@localhost/res1 in
</stream:stream>

*** User 2024-03-06 10:17:11.279 ***🔗
alice_subscribe_2500@localhost/res1 out
</stream:stream>

*** User 2024-03-06 10:17:11.279 ***🔗
alice_subscribe_2500@localhost/res1 in
</stream:stream>
*** CT 2024-03-06 10:17:11.284 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2301.html



=== Ended at 2024-03-06 10:17:11
=== successfully completed test case
=== === Returned value: ok


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