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

=== Config value:

    [{watchdog,<0.30566.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@fd91257997dc.2024-02-26_12.03.35/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-26_12.13.00/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@fd91257997dc.2024-02-26_12.03.35/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-26_12.13.00/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@fd91257997dc.2024-02-26_12.03.35"

=== Started at 2024-02-26 12:13:01


*** CT 2024-02-26 12:13:01.245 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2310.html

*** User 2024-02-26 12:13:01.251 ***🔗
alicE_subscribe_2617@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-02-26 12:13:01.251 ***🔗
alicE_subscribe_2617@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f7e4f4b8ae7af24e' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-26 12:13:01.251 ***🔗
alicE_subscribe_2617@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-02-26 12:13:01.251 ***🔗
alicE_subscribe_2617@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNjE3AG1hdHlncnlzYQ==</auth>



*** User 2024-02-26 12:13:01.252 ***🔗
alicE_subscribe_2617@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 12:13:01.252 ***🔗
alicE_subscribe_2617@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-02-26 12:13:01.252 ***🔗
alicE_subscribe_2617@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='39fe29687fd583b9' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2617@localhost'>

*** User 2024-02-26 12:13:01.252 ***🔗
alicE_subscribe_2617@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-02-26 12:13:01.252 ***🔗
alicE_subscribe_2617@localhost/res1 out
<iq type='set' id='00f1658819cfc0f2100d07da862d99ed'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 12:13:01.253 ***🔗
alicE_subscribe_2617@localhost/res1 in
<iq id='00f1658819cfc0f2100d07da862d99ed' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2617@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 12:13:01.253 ***🔗
alice_subscribe_2617@localhost/res1 out
<iq type='set' id='c269ab05bf78d739a8a02d4cf786cd85'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 12:13:01.253 ***🔗
alice_subscribe_2617@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2617@localhost/res1' id='c269ab05bf78d739a8a02d4cf786cd85' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 12:13:01.253 ***🔗
alice_subscribe_2617@localhost/res1 out
<presence/>



*** User 2024-02-26 12:13:01.254 ***🔗
alice_subscribe_2617@localhost/res1 in
<presence from='alice_subscribe_2617@localhost/res1' to='alice_subscribe_2617@localhost/res1'/>



*** User 2024-02-26 12:13:01.255 ***🔗
bOb_subscribe_2617@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-02-26 12:13:01.255 ***🔗
bOb_subscribe_2617@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='77495586e0e041ad' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-02-26 12:13:01.255 ***🔗
bOb_subscribe_2617@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-02-26 12:13:01.255 ***🔗
bOb_subscribe_2617@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjYxNwBtYWtyb2xpa2E=</auth>



*** User 2024-02-26 12:13:01.256 ***🔗
bOb_subscribe_2617@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-26 12:13:01.256 ***🔗
bOb_subscribe_2617@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-02-26 12:13:01.256 ***🔗
bOb_subscribe_2617@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3f8a0fcc89fcea06' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2617@localhost'>

*** User 2024-02-26 12:13:01.256 ***🔗
bOb_subscribe_2617@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-02-26 12:13:01.256 ***🔗
bOb_subscribe_2617@localhost/res1 out
<iq type='set' id='8c59ba3065ce6ca339cae5bf1784704f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-26 12:13:01.256 ***🔗
bOb_subscribe_2617@localhost/res1 in
<iq id='8c59ba3065ce6ca339cae5bf1784704f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2617@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-02-26 12:13:01.256 ***🔗
bob_subscribe_2617@localhost/res1 out
<iq type='set' id='be92eded6775ac979b46e6d14b6b1b6d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 12:13:01.257 ***🔗
bob_subscribe_2617@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2617@localhost/res1' id='be92eded6775ac979b46e6d14b6b1b6d' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-26 12:13:01.257 ***🔗
bob_subscribe_2617@localhost/res1 out
<presence/>



*** User 2024-02-26 12:13:01.258 ***🔗
bob_subscribe_2617@localhost/res1 in
<presence from='bob_subscribe_2617@localhost/res1' to='bob_subscribe_2617@localhost/res1'/>



*** User 2024-02-26 12:13:01.258 ***🔗
alice_subscribe_2617@localhost/res1 out
<iq type='set' id='9c70e4998f82459d008c943ecc7a721e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2617@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 12:13:01.260 ***🔗
alice_subscribe_2617@localhost/res1 in
<iq from='alice_subscribe_2617@localhost' to='alice_subscribe_2617@localhost/res1' id='push41468aec239c68dd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_2617@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 12:13:01.260 ***🔗
alice_subscribe_2617@localhost/res1 out
<iq to='alice_subscribe_2617@localhost' id='push41468aec239c68dd' type='result'/>



*** User 2024-02-26 12:13:01.260 ***🔗
alice_subscribe_2617@localhost/res1 in
<iq from='alice_subscribe_2617@localhost' to='alice_subscribe_2617@localhost/res1' id='9c70e4998f82459d008c943ecc7a721e' type='result'/>



*** User 2024-02-26 12:13:01.261 ***🔗
alice_subscribe_2617@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2617@localhost'/>



*** User 2024-02-26 12:13:01.263 ***🔗
alice_subscribe_2617@localhost/res1 in
<iq from='alice_subscribe_2617@localhost' to='alice_subscribe_2617@localhost/res1' id='push56e12c31822fe1b8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_2617@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 12:13:01.263 ***🔗
alice_subscribe_2617@localhost/res1 out
<iq to='alice_subscribe_2617@localhost' id='push56e12c31822fe1b8' type='result'/>



*** User 2024-02-26 12:13:01.264 ***🔗
bob_subscribe_2617@localhost/res1 in
<presence from='alice_subscribe_2617@localhost' to='bob_subscribe_2617@localhost/res1' type='subscribe'/>



*** User 2024-02-26 12:13:01.264 ***🔗
bob_subscribe_2617@localhost/res1 out
<iq type='set' id='51c5225429d2dc0021ae5a759c94147d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2617@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 12:13:01.266 ***🔗
bob_subscribe_2617@localhost/res1 in
<iq from='bob_subscribe_2617@localhost' to='bob_subscribe_2617@localhost/res1' id='push778cbcfa7ebcb0f7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_2617@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 12:13:01.266 ***🔗
bob_subscribe_2617@localhost/res1 out
<iq to='bob_subscribe_2617@localhost' id='push778cbcfa7ebcb0f7' type='result'/>



*** User 2024-02-26 12:13:01.266 ***🔗
bob_subscribe_2617@localhost/res1 in
<iq from='bob_subscribe_2617@localhost' to='bob_subscribe_2617@localhost/res1' id='51c5225429d2dc0021ae5a759c94147d' type='result'/>



*** User 2024-02-26 12:13:01.266 ***🔗
bob_subscribe_2617@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2617@localhost'/>



*** User 2024-02-26 12:13:01.269 ***🔗
alice_subscribe_2617@localhost/res1 in
<iq from='alice_subscribe_2617@localhost' to='alice_subscribe_2617@localhost/res1' id='push6ca515ca38f7c2a8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_2617@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 12:13:01.269 ***🔗
alice_subscribe_2617@localhost/res1 in
<presence from='bob_subscribe_2617@localhost' to='alice_subscribe_2617@localhost/res1' type='subscribed'/>



*** User 2024-02-26 12:13:01.269 ***🔗
alice_subscribe_2617@localhost/res1 in
<presence from='bob_subscribe_2617@localhost/res1' to='alice_subscribe_2617@localhost/res1'/>



*** User 2024-02-26 12:13:01.269 ***🔗
bob_subscribe_2617@localhost/res1 in
<iq from='bob_subscribe_2617@localhost' to='bob_subscribe_2617@localhost/res1' id='pushf8fdd05ae1920f87' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_2617@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-26 12:13:01.270 ***🔗
bob_subscribe_2617@localhost/res1 out
</stream:stream>

*** User 2024-02-26 12:13:01.270 ***🔗
bob_subscribe_2617@localhost/res1 in
</stream:stream>

*** User 2024-02-26 12:13:01.270 ***🔗
alice_subscribe_2617@localhost/res1 out
</stream:stream>

*** User 2024-02-26 12:13:01.271 ***🔗
alice_subscribe_2617@localhost/res1 in
</stream:stream>
*** CT 2024-02-26 12:13:01.275 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2310.html



=== Ended at 2024-02-26 12:13:01
=== successfully completed test case
=== === Returned value: ok


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