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

=== Config value:

    [{watchdog,<0.31808.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,"internal_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@d02a26308542.2024-03-11_11.28.58/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-11_11.38.26/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@d02a26308542.2024-03-11_11.28.58/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-11_11.38.26/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@d02a26308542.2024-03-11_11.28.58"

=== Started at 2024-03-11 11:38:27


*** CT 2024-03-11 11:38:27.449 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1812.html

*** User 2024-03-11 11:38:27.456 ***🔗
alicE_subscribe_1166@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-11 11:38:27.456 ***🔗
alicE_subscribe_1166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='df880c87d7b2eb5f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:38:27.456 ***🔗
alicE_subscribe_1166@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-11 11:38:27.457 ***🔗
alicE_subscribe_1166@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8xMTY2AG1hdHlncnlzYQ==</auth>



*** User 2024-03-11 11:38:27.457 ***🔗
alicE_subscribe_1166@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:38:27.457 ***🔗
alicE_subscribe_1166@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-11 11:38:27.458 ***🔗
alicE_subscribe_1166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aa79359e7fcdce7d' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_1166@localhost'>

*** User 2024-03-11 11:38:27.458 ***🔗
alicE_subscribe_1166@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-11 11:38:27.458 ***🔗
alicE_subscribe_1166@localhost/res1 out
<iq type='set' id='577fe31dc75ca09f28292e1010751bab'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:38:27.458 ***🔗
alicE_subscribe_1166@localhost/res1 in
<iq id='577fe31dc75ca09f28292e1010751bab' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_1166@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:38:27.458 ***🔗
alice_subscribe_1166@localhost/res1 out
<iq type='set' id='08e9f3b18721c9d71720392945df6233'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:38:27.459 ***🔗
alice_subscribe_1166@localhost/res1 in
<iq from='localhost' to='alice_subscribe_1166@localhost/res1' id='08e9f3b18721c9d71720392945df6233' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:38:27.459 ***🔗
alice_subscribe_1166@localhost/res1 out
<presence/>



*** User 2024-03-11 11:38:27.460 ***🔗
alice_subscribe_1166@localhost/res1 in
<presence from='alice_subscribe_1166@localhost/res1' to='alice_subscribe_1166@localhost/res1'/>



*** User 2024-03-11 11:38:27.461 ***🔗
bOb_subscribe_1166@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-11 11:38:27.461 ***🔗
bOb_subscribe_1166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bcfc13d16985d6ff' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-11 11:38:27.461 ***🔗
bOb_subscribe_1166@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-11 11:38:27.462 ***🔗
bOb_subscribe_1166@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMTE2NgBtYWtyb2xpa2E=</auth>



*** User 2024-03-11 11:38:27.462 ***🔗
bOb_subscribe_1166@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-11 11:38:27.462 ***🔗
bOb_subscribe_1166@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-11 11:38:27.463 ***🔗
bOb_subscribe_1166@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d9489b50dd4bd605' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_1166@localhost'>

*** User 2024-03-11 11:38:27.463 ***🔗
bOb_subscribe_1166@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-11 11:38:27.463 ***🔗
bOb_subscribe_1166@localhost/res1 out
<iq type='set' id='14997c8e9269172567f69670c7980178'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-11 11:38:27.463 ***🔗
bOb_subscribe_1166@localhost/res1 in
<iq id='14997c8e9269172567f69670c7980178' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_1166@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-11 11:38:27.463 ***🔗
bob_subscribe_1166@localhost/res1 out
<iq type='set' id='568bd821d83d87f9172db31be13c42f8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:38:27.464 ***🔗
bob_subscribe_1166@localhost/res1 in
<iq from='localhost' to='bob_subscribe_1166@localhost/res1' id='568bd821d83d87f9172db31be13c42f8' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-11 11:38:27.464 ***🔗
bob_subscribe_1166@localhost/res1 out
<presence/>



*** User 2024-03-11 11:38:27.465 ***🔗
bob_subscribe_1166@localhost/res1 in
<presence from='bob_subscribe_1166@localhost/res1' to='bob_subscribe_1166@localhost/res1'/>



*** User 2024-03-11 11:38:27.465 ***🔗
alice_subscribe_1166@localhost/res1 out
<iq type='set' id='ab21d06723f33c7002cd5a524f50acc4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_1166@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:38:27.466 ***🔗
alice_subscribe_1166@localhost/res1 in
<iq from='alice_subscribe_1166@localhost' to='alice_subscribe_1166@localhost/res1' id='pushb1e9c93098d99d6b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_1166@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:38:27.466 ***🔗
alice_subscribe_1166@localhost/res1 out
<iq to='alice_subscribe_1166@localhost' id='pushb1e9c93098d99d6b' type='result'/>



*** User 2024-03-11 11:38:27.466 ***🔗
alice_subscribe_1166@localhost/res1 in
<iq from='alice_subscribe_1166@localhost' to='alice_subscribe_1166@localhost/res1' id='ab21d06723f33c7002cd5a524f50acc4' type='result'/>



*** User 2024-03-11 11:38:27.466 ***🔗
alice_subscribe_1166@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_1166@localhost'/>



*** User 2024-03-11 11:38:27.467 ***🔗
alice_subscribe_1166@localhost/res1 in
<iq from='alice_subscribe_1166@localhost' to='alice_subscribe_1166@localhost/res1' id='pushedfeef08ea3e11db' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_1166@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:38:27.467 ***🔗
alice_subscribe_1166@localhost/res1 out
<iq to='alice_subscribe_1166@localhost' id='pushedfeef08ea3e11db' type='result'/>



*** User 2024-03-11 11:38:27.467 ***🔗
bob_subscribe_1166@localhost/res1 in
<presence from='alice_subscribe_1166@localhost' to='bob_subscribe_1166@localhost/res1' type='subscribe'/>



*** User 2024-03-11 11:38:27.468 ***🔗
bob_subscribe_1166@localhost/res1 out
<iq type='set' id='b6d3d5414fce76a3f4a5047a5e09c8ba'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_1166@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:38:27.468 ***🔗
bob_subscribe_1166@localhost/res1 in
<iq from='bob_subscribe_1166@localhost' to='bob_subscribe_1166@localhost/res1' id='push5e46abcbc04a799e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_1166@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:38:27.468 ***🔗
bob_subscribe_1166@localhost/res1 out
<iq to='bob_subscribe_1166@localhost' id='push5e46abcbc04a799e' type='result'/>



*** User 2024-03-11 11:38:27.468 ***🔗
bob_subscribe_1166@localhost/res1 in
<iq from='bob_subscribe_1166@localhost' to='bob_subscribe_1166@localhost/res1' id='b6d3d5414fce76a3f4a5047a5e09c8ba' type='result'/>



*** User 2024-03-11 11:38:27.469 ***🔗
bob_subscribe_1166@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_1166@localhost'/>



*** User 2024-03-11 11:38:27.469 ***🔗
alice_subscribe_1166@localhost/res1 in
<iq from='alice_subscribe_1166@localhost' to='alice_subscribe_1166@localhost/res1' id='push20ab44d6271d83d7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_1166@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:38:27.470 ***🔗
alice_subscribe_1166@localhost/res1 in
<presence from='bob_subscribe_1166@localhost' to='alice_subscribe_1166@localhost/res1' type='subscribed'/>



*** User 2024-03-11 11:38:27.470 ***🔗
alice_subscribe_1166@localhost/res1 in
<presence from='bob_subscribe_1166@localhost/res1' to='alice_subscribe_1166@localhost/res1'/>



*** User 2024-03-11 11:38:27.470 ***🔗
bob_subscribe_1166@localhost/res1 in
<iq from='bob_subscribe_1166@localhost' to='bob_subscribe_1166@localhost/res1' id='push6f44f270322ebf09' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_1166@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-11 11:38:27.471 ***🔗
bob_subscribe_1166@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:38:27.472 ***🔗
bob_subscribe_1166@localhost/res1 in
</stream:stream>

*** User 2024-03-11 11:38:27.472 ***🔗
alice_subscribe_1166@localhost/res1 out
</stream:stream>

*** User 2024-03-11 11:38:27.472 ***🔗
alice_subscribe_1166@localhost/res1 in
</stream:stream>
*** CT 2024-03-11 11:38:27.476 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1812.html



=== Ended at 2024-03-11 11:38:27
=== successfully completed test case
=== === Returned value: ok


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