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

=== Config value:

    [{watchdog,<0.30615.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.129660948>,
                         [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@b12e200c049c.2024-03-08_13.48.44/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-08_13.58.52/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@b12e200c049c.2024-03-08_13.48.44/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-08_13.58.52/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@b12e200c049c.2024-03-08_13.48.44"

=== Started at 2024-03-08 13:58:53


*** CT 2024-03-08 13:58:53.266 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2297.html

*** User 2024-03-08 13:58:53.275 ***🔗
alicE_subscribe_2655@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-08 13:58:53.275 ***🔗
alicE_subscribe_2655@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b14176dcc8040678' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-08 13:58:53.275 ***🔗
alicE_subscribe_2655@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-08 13:58:53.275 ***🔗
alicE_subscribe_2655@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNjU1AG1hdHlncnlzYQ==</auth>



*** User 2024-03-08 13:58:53.276 ***🔗
alicE_subscribe_2655@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-08 13:58:53.277 ***🔗
alicE_subscribe_2655@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-08 13:58:53.277 ***🔗
alicE_subscribe_2655@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb312109064366fe' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2655@localhost'>

*** User 2024-03-08 13:58:53.277 ***🔗
alicE_subscribe_2655@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-08 13:58:53.277 ***🔗
alicE_subscribe_2655@localhost/res1 out
<iq type='set' id='7f4e88da7fd1561bf34da95ce5ec4902'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-08 13:58:53.278 ***🔗
alicE_subscribe_2655@localhost/res1 in
<iq id='7f4e88da7fd1561bf34da95ce5ec4902' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2655@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-08 13:58:53.278 ***🔗
alice_subscribe_2655@localhost/res1 out
<iq type='set' id='02ca07ba299031f1fd687f43b581c687'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 13:58:53.278 ***🔗
alice_subscribe_2655@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2655@localhost/res1' id='02ca07ba299031f1fd687f43b581c687' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 13:58:53.278 ***🔗
alice_subscribe_2655@localhost/res1 out
<presence/>



*** User 2024-03-08 13:58:53.280 ***🔗
alice_subscribe_2655@localhost/res1 in
<presence from='alice_subscribe_2655@localhost/res1' to='alice_subscribe_2655@localhost/res1'/>



*** User 2024-03-08 13:58:53.281 ***🔗
bOb_subscribe_2655@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-08 13:58:53.281 ***🔗
bOb_subscribe_2655@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d70b08c1d21ce87d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-08 13:58:53.281 ***🔗
bOb_subscribe_2655@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-08 13:58:53.281 ***🔗
bOb_subscribe_2655@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjY1NQBtYWtyb2xpa2E=</auth>



*** User 2024-03-08 13:58:53.282 ***🔗
bOb_subscribe_2655@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-08 13:58:53.282 ***🔗
bOb_subscribe_2655@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-08 13:58:53.283 ***🔗
bOb_subscribe_2655@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='af6936fec8ce38d9' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2655@localhost'>

*** User 2024-03-08 13:58:53.283 ***🔗
bOb_subscribe_2655@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-08 13:58:53.283 ***🔗
bOb_subscribe_2655@localhost/res1 out
<iq type='set' id='dfbd7e7519a10ede78e01e5b100ca083'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-08 13:58:53.283 ***🔗
bOb_subscribe_2655@localhost/res1 in
<iq id='dfbd7e7519a10ede78e01e5b100ca083' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2655@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-08 13:58:53.283 ***🔗
bob_subscribe_2655@localhost/res1 out
<iq type='set' id='b52b2f838cfa90cf2175748ab1d53504'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 13:58:53.284 ***🔗
bob_subscribe_2655@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2655@localhost/res1' id='b52b2f838cfa90cf2175748ab1d53504' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 13:58:53.284 ***🔗
bob_subscribe_2655@localhost/res1 out
<presence/>



*** User 2024-03-08 13:58:53.285 ***🔗
bob_subscribe_2655@localhost/res1 in
<presence from='bob_subscribe_2655@localhost/res1' to='bob_subscribe_2655@localhost/res1'/>



*** User 2024-03-08 13:58:53.285 ***🔗
alice_subscribe_2655@localhost/res1 out
<iq type='set' id='f1f726c20c215558c6291602170fc144'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2655@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 13:58:53.288 ***🔗
alice_subscribe_2655@localhost/res1 in
<iq from='alice_subscribe_2655@localhost' to='alice_subscribe_2655@localhost/res1' id='pusheb0586b08b85717d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2655@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 13:58:53.288 ***🔗
alice_subscribe_2655@localhost/res1 out
<iq to='alice_subscribe_2655@localhost' id='pusheb0586b08b85717d' type='result'/>



*** User 2024-03-08 13:58:53.288 ***🔗
alice_subscribe_2655@localhost/res1 in
<iq from='alice_subscribe_2655@localhost' to='alice_subscribe_2655@localhost/res1' id='f1f726c20c215558c6291602170fc144' type='result'/>



*** User 2024-03-08 13:58:53.288 ***🔗
alice_subscribe_2655@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2655@localhost'/>



*** User 2024-03-08 13:58:53.291 ***🔗
alice_subscribe_2655@localhost/res1 in
<iq from='alice_subscribe_2655@localhost' to='alice_subscribe_2655@localhost/res1' id='push2fda3751846dd3e9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2655@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 13:58:53.291 ***🔗
alice_subscribe_2655@localhost/res1 out
<iq to='alice_subscribe_2655@localhost' id='push2fda3751846dd3e9' type='result'/>



*** User 2024-03-08 13:58:53.291 ***🔗
bob_subscribe_2655@localhost/res1 in
<presence from='alice_subscribe_2655@localhost' to='bob_subscribe_2655@localhost/res1' type='subscribe'/>



*** User 2024-03-08 13:58:53.292 ***🔗
bob_subscribe_2655@localhost/res1 out
<iq type='set' id='a8f119963ae25f39f9761342d82acba7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2655@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 13:58:53.295 ***🔗
bob_subscribe_2655@localhost/res1 in
<iq from='bob_subscribe_2655@localhost' to='bob_subscribe_2655@localhost/res1' id='push94ea8ae2fba29fcd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2655@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 13:58:53.295 ***🔗
bob_subscribe_2655@localhost/res1 out
<iq to='bob_subscribe_2655@localhost' id='push94ea8ae2fba29fcd' type='result'/>



*** User 2024-03-08 13:58:53.295 ***🔗
bob_subscribe_2655@localhost/res1 in
<iq from='bob_subscribe_2655@localhost' to='bob_subscribe_2655@localhost/res1' id='a8f119963ae25f39f9761342d82acba7' type='result'/>



*** User 2024-03-08 13:58:53.295 ***🔗
bob_subscribe_2655@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2655@localhost'/>



*** User 2024-03-08 13:58:53.300 ***🔗
alice_subscribe_2655@localhost/res1 in
<iq from='alice_subscribe_2655@localhost' to='alice_subscribe_2655@localhost/res1' id='push7136c026fe25603e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2655@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 13:58:53.300 ***🔗
alice_subscribe_2655@localhost/res1 in
<presence from='bob_subscribe_2655@localhost' to='alice_subscribe_2655@localhost/res1' type='subscribed'/>



*** User 2024-03-08 13:58:53.300 ***🔗
alice_subscribe_2655@localhost/res1 in
<presence from='bob_subscribe_2655@localhost/res1' to='alice_subscribe_2655@localhost/res1'/>



*** User 2024-03-08 13:58:53.300 ***🔗
bob_subscribe_2655@localhost/res1 in
<iq from='bob_subscribe_2655@localhost' to='bob_subscribe_2655@localhost/res1' id='push6be44fb77bf7170c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2655@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 13:58:53.301 ***🔗
bob_subscribe_2655@localhost/res1 out
</stream:stream>

*** User 2024-03-08 13:58:53.302 ***🔗
bob_subscribe_2655@localhost/res1 in
</stream:stream>

*** User 2024-03-08 13:58:53.302 ***🔗
alice_subscribe_2655@localhost/res1 out
</stream:stream>

*** User 2024-03-08 13:58:53.302 ***🔗
alice_subscribe_2655@localhost/res1 in
</stream:stream>
*** CT 2024-03-08 13:58:53.310 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2297.html



=== Ended at 2024-03-08 13:58:53
=== successfully completed test case
=== === Returned value: ok


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