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

=== Config value:

    [{watchdog,<0.63893.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@17a96e781220.2024-03-21_22.20.25/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-21_22.28.44/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@17a96e781220.2024-03-21_22.20.25/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-21_22.28.44/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@17a96e781220.2024-03-21_22.20.25"

=== Started at 2024-03-21 22:28:44


*** CT 2024-03-21 22:28:44.461 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2985.html

*** User 2024-03-21 22:28:44.467 ***🔗
alicE_subscribe_2465@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-21 22:28:44.468 ***🔗
alicE_subscribe_2465@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ed575d17c11908f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 22:28:44.468 ***🔗
alicE_subscribe_2465@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-21 22:28:44.468 ***🔗
alicE_subscribe_2465@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNDY1AG1hdHlncnlzYQ==</auth>



*** User 2024-03-21 22:28:44.469 ***🔗
alicE_subscribe_2465@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 22:28:44.469 ***🔗
alicE_subscribe_2465@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-21 22:28:44.469 ***🔗
alicE_subscribe_2465@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f731ddec0a8535b9' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2465@localhost'>

*** User 2024-03-21 22:28:44.469 ***🔗
alicE_subscribe_2465@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-21 22:28:44.469 ***🔗
alicE_subscribe_2465@localhost/res1 out
<iq type='set' id='106bccc970a86fd18332ae6e4d5a60db'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 22:28:44.469 ***🔗
alicE_subscribe_2465@localhost/res1 in
<iq id='106bccc970a86fd18332ae6e4d5a60db' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2465@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 22:28:44.469 ***🔗
alice_subscribe_2465@localhost/res1 out
<iq type='set' id='d51569c81aaa9e0851a74bd6994b54e5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:28:44.470 ***🔗
alice_subscribe_2465@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2465@localhost/res1' id='d51569c81aaa9e0851a74bd6994b54e5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:28:44.470 ***🔗
alice_subscribe_2465@localhost/res1 out
<presence/>



*** User 2024-03-21 22:28:44.471 ***🔗
alice_subscribe_2465@localhost/res1 in
<presence from='alice_subscribe_2465@localhost/res1' to='alice_subscribe_2465@localhost/res1'/>



*** User 2024-03-21 22:28:44.472 ***🔗
bOb_subscribe_2465@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-21 22:28:44.472 ***🔗
bOb_subscribe_2465@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='32cfc6f1b349762f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 22:28:44.472 ***🔗
bOb_subscribe_2465@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-21 22:28:44.472 ***🔗
bOb_subscribe_2465@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjQ2NQBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 22:28:44.473 ***🔗
bOb_subscribe_2465@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 22:28:44.473 ***🔗
bOb_subscribe_2465@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-21 22:28:44.473 ***🔗
bOb_subscribe_2465@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fcffce6cb9362472' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2465@localhost'>

*** User 2024-03-21 22:28:44.473 ***🔗
bOb_subscribe_2465@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-21 22:28:44.473 ***🔗
bOb_subscribe_2465@localhost/res1 out
<iq type='set' id='1ae58a6fbc6302f1e1f066c33f9f6ceb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 22:28:44.473 ***🔗
bOb_subscribe_2465@localhost/res1 in
<iq id='1ae58a6fbc6302f1e1f066c33f9f6ceb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2465@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 22:28:44.473 ***🔗
bob_subscribe_2465@localhost/res1 out
<iq type='set' id='43e83d04f371cd943938635cd1196253'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:28:44.474 ***🔗
bob_subscribe_2465@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2465@localhost/res1' id='43e83d04f371cd943938635cd1196253' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 22:28:44.474 ***🔗
bob_subscribe_2465@localhost/res1 out
<presence/>



*** User 2024-03-21 22:28:44.475 ***🔗
bob_subscribe_2465@localhost/res1 in
<presence from='bob_subscribe_2465@localhost/res1' to='bob_subscribe_2465@localhost/res1'/>



*** User 2024-03-21 22:28:44.475 ***🔗
alice_subscribe_2465@localhost/res1 out
<iq type='set' id='31a125179ed6964296834e79d259ae96'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2465@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 22:28:44.477 ***🔗
alice_subscribe_2465@localhost/res1 in
<iq from='alice_subscribe_2465@localhost' to='alice_subscribe_2465@localhost/res1' id='pushf31b128dcea67cc3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2465@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 22:28:44.478 ***🔗
alice_subscribe_2465@localhost/res1 out
<iq to='alice_subscribe_2465@localhost' id='pushf31b128dcea67cc3' type='result'/>



*** User 2024-03-21 22:28:44.478 ***🔗
alice_subscribe_2465@localhost/res1 in
<iq from='alice_subscribe_2465@localhost' to='alice_subscribe_2465@localhost/res1' id='31a125179ed6964296834e79d259ae96' type='result'/>



*** User 2024-03-21 22:28:44.478 ***🔗
alice_subscribe_2465@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2465@localhost'/>



*** User 2024-03-21 22:28:44.481 ***🔗
alice_subscribe_2465@localhost/res1 in
<iq from='alice_subscribe_2465@localhost' to='alice_subscribe_2465@localhost/res1' id='push21243d92d9a910e5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2465@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 22:28:44.481 ***🔗
alice_subscribe_2465@localhost/res1 out
<iq to='alice_subscribe_2465@localhost' id='push21243d92d9a910e5' type='result'/>



*** User 2024-03-21 22:28:44.481 ***🔗
bob_subscribe_2465@localhost/res1 in
<presence from='alice_subscribe_2465@localhost' to='bob_subscribe_2465@localhost/res1' type='subscribe'/>



*** User 2024-03-21 22:28:44.481 ***🔗
bob_subscribe_2465@localhost/res1 out
<iq type='set' id='337534adf7d1dd08979e598003d94d1d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2465@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 22:28:44.484 ***🔗
bob_subscribe_2465@localhost/res1 in
<iq from='bob_subscribe_2465@localhost' to='bob_subscribe_2465@localhost/res1' id='push74db8321dce19453' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2465@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 22:28:44.484 ***🔗
bob_subscribe_2465@localhost/res1 out
<iq to='bob_subscribe_2465@localhost' id='push74db8321dce19453' type='result'/>



*** User 2024-03-21 22:28:44.484 ***🔗
bob_subscribe_2465@localhost/res1 in
<iq from='bob_subscribe_2465@localhost' to='bob_subscribe_2465@localhost/res1' id='337534adf7d1dd08979e598003d94d1d' type='result'/>



*** User 2024-03-21 22:28:44.484 ***🔗
bob_subscribe_2465@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2465@localhost'/>



*** User 2024-03-21 22:28:44.488 ***🔗
alice_subscribe_2465@localhost/res1 in
<iq from='alice_subscribe_2465@localhost' to='alice_subscribe_2465@localhost/res1' id='push5b93b1bc569f24f1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2465@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 22:28:44.488 ***🔗
alice_subscribe_2465@localhost/res1 in
<presence from='bob_subscribe_2465@localhost' to='alice_subscribe_2465@localhost/res1' type='subscribed'/>



*** User 2024-03-21 22:28:44.488 ***🔗
alice_subscribe_2465@localhost/res1 in
<presence from='bob_subscribe_2465@localhost/res1' to='alice_subscribe_2465@localhost/res1'/>



*** User 2024-03-21 22:28:44.488 ***🔗
bob_subscribe_2465@localhost/res1 in
<iq from='bob_subscribe_2465@localhost' to='bob_subscribe_2465@localhost/res1' id='pusha2d68bdbf1fe772a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2465@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 22:28:44.489 ***🔗
bob_subscribe_2465@localhost/res1 out
</stream:stream>

*** User 2024-03-21 22:28:44.489 ***🔗
bob_subscribe_2465@localhost/res1 in
</stream:stream>

*** User 2024-03-21 22:28:44.489 ***🔗
alice_subscribe_2465@localhost/res1 out
</stream:stream>

*** User 2024-03-21 22:28:44.489 ***🔗
alice_subscribe_2465@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 22:28:44.494 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2985.html



=== Ended at 2024-03-21 22:28:44
=== successfully completed test case
=== === Returned value: ok


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