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

=== Config value:

    [{watchdog,<0.63309.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@f4c4c3a5d63b.2024-04-26_12.39.34/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-26_12.49.14/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@f4c4c3a5d63b.2024-04-26_12.39.34/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-26_12.49.14/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@f4c4c3a5d63b.2024-04-26_12.39.34"

=== Started at 2024-04-26 12:49:17


*** CT 2024-04-26 12:49:17.116 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2039.html

*** User 2024-04-26 12:49:17.135 ***🔗
alicE_subscribe_2504@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-04-26 12:49:17.135 ***🔗
alicE_subscribe_2504@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='327406ad0627fecc' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:49:17.135 ***🔗
alicE_subscribe_2504@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-04-26 12:49:17.135 ***🔗
alicE_subscribe_2504@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNTA0AG1hdHlncnlzYQ==</auth>



*** User 2024-04-26 12:49:17.137 ***🔗
alicE_subscribe_2504@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:49:17.137 ***🔗
alicE_subscribe_2504@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-04-26 12:49:17.137 ***🔗
alicE_subscribe_2504@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7e46d2ba05ee4f0e' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2504@localhost'>

*** User 2024-04-26 12:49:17.137 ***🔗
alicE_subscribe_2504@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-04-26 12:49:17.137 ***🔗
alicE_subscribe_2504@localhost/res1 out
<iq type='set' id='51a20d13de94de1ed485ce7e483166d3'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:49:17.137 ***🔗
alicE_subscribe_2504@localhost/res1 in
<iq id='51a20d13de94de1ed485ce7e483166d3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2504@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:49:17.137 ***🔗
alice_subscribe_2504@localhost/res1 out
<iq type='set' id='6780afcc705c57941a440e7c08e4aa34'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:49:17.138 ***🔗
alice_subscribe_2504@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2504@localhost/res1' id='6780afcc705c57941a440e7c08e4aa34' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:49:17.138 ***🔗
alice_subscribe_2504@localhost/res1 out
<presence/>



*** User 2024-04-26 12:49:17.140 ***🔗
alice_subscribe_2504@localhost/res1 in
<presence from='alice_subscribe_2504@localhost/res1' to='alice_subscribe_2504@localhost/res1'/>



*** User 2024-04-26 12:49:17.141 ***🔗
bOb_subscribe_2504@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-04-26 12:49:17.141 ***🔗
bOb_subscribe_2504@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='996b1064dbdfd931' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-26 12:49:17.141 ***🔗
bOb_subscribe_2504@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-04-26 12:49:17.141 ***🔗
bOb_subscribe_2504@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjUwNABtYWtyb2xpa2E=</auth>



*** User 2024-04-26 12:49:17.142 ***🔗
bOb_subscribe_2504@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-26 12:49:17.142 ***🔗
bOb_subscribe_2504@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-04-26 12:49:17.143 ***🔗
bOb_subscribe_2504@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a6f2fb96feea3dc4' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2504@localhost'>

*** User 2024-04-26 12:49:17.143 ***🔗
bOb_subscribe_2504@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-04-26 12:49:17.143 ***🔗
bOb_subscribe_2504@localhost/res1 out
<iq type='set' id='bd587999241ac359547029fe6d5dc65b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-26 12:49:17.143 ***🔗
bOb_subscribe_2504@localhost/res1 in
<iq id='bd587999241ac359547029fe6d5dc65b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2504@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-26 12:49:17.143 ***🔗
bob_subscribe_2504@localhost/res1 out
<iq type='set' id='49b8a5d570ab4ffc7d6e77f2e164f3e1'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:49:17.144 ***🔗
bob_subscribe_2504@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2504@localhost/res1' id='49b8a5d570ab4ffc7d6e77f2e164f3e1' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-26 12:49:17.144 ***🔗
bob_subscribe_2504@localhost/res1 out
<presence/>



*** User 2024-04-26 12:49:17.146 ***🔗
bob_subscribe_2504@localhost/res1 in
<presence from='bob_subscribe_2504@localhost/res1' to='bob_subscribe_2504@localhost/res1'/>



*** User 2024-04-26 12:49:17.146 ***🔗
alice_subscribe_2504@localhost/res1 out
<iq type='set' id='68ace9af9668af7de3ab4fb5b9486eef'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2504@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:17.153 ***🔗
alice_subscribe_2504@localhost/res1 in
<iq from='alice_subscribe_2504@localhost' to='alice_subscribe_2504@localhost/res1' id='pushe16309acfb23bf2b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2504@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:17.153 ***🔗
alice_subscribe_2504@localhost/res1 out
<iq to='alice_subscribe_2504@localhost' id='pushe16309acfb23bf2b' type='result'/>



*** User 2024-04-26 12:49:17.154 ***🔗
alice_subscribe_2504@localhost/res1 in
<iq from='alice_subscribe_2504@localhost' to='alice_subscribe_2504@localhost/res1' id='68ace9af9668af7de3ab4fb5b9486eef' type='result'/>



*** User 2024-04-26 12:49:17.154 ***🔗
alice_subscribe_2504@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2504@localhost'/>



*** User 2024-04-26 12:49:17.162 ***🔗
alice_subscribe_2504@localhost/res1 in
<iq from='alice_subscribe_2504@localhost' to='alice_subscribe_2504@localhost/res1' id='pushaec3da2dbfdedf5f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2504@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:17.162 ***🔗
alice_subscribe_2504@localhost/res1 out
<iq to='alice_subscribe_2504@localhost' id='pushaec3da2dbfdedf5f' type='result'/>



*** User 2024-04-26 12:49:17.162 ***🔗
bob_subscribe_2504@localhost/res1 in
<presence from='alice_subscribe_2504@localhost' to='bob_subscribe_2504@localhost/res1' type='subscribe'/>



*** User 2024-04-26 12:49:17.162 ***🔗
bob_subscribe_2504@localhost/res1 out
<iq type='set' id='b4372c19a94be3181bcb7f2651b8e20c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2504@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:17.166 ***🔗
bob_subscribe_2504@localhost/res1 in
<iq from='bob_subscribe_2504@localhost' to='bob_subscribe_2504@localhost/res1' id='pushd99f7ed055de017d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2504@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:17.166 ***🔗
bob_subscribe_2504@localhost/res1 out
<iq to='bob_subscribe_2504@localhost' id='pushd99f7ed055de017d' type='result'/>



*** User 2024-04-26 12:49:17.166 ***🔗
bob_subscribe_2504@localhost/res1 in
<iq from='bob_subscribe_2504@localhost' to='bob_subscribe_2504@localhost/res1' id='b4372c19a94be3181bcb7f2651b8e20c' type='result'/>



*** User 2024-04-26 12:49:17.166 ***🔗
bob_subscribe_2504@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2504@localhost'/>



*** User 2024-04-26 12:49:17.173 ***🔗
alice_subscribe_2504@localhost/res1 in
<iq from='alice_subscribe_2504@localhost' to='alice_subscribe_2504@localhost/res1' id='pushea4ac084beab4704' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2504@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:17.173 ***🔗
alice_subscribe_2504@localhost/res1 in
<presence from='bob_subscribe_2504@localhost' to='alice_subscribe_2504@localhost/res1' type='subscribed'/>



*** User 2024-04-26 12:49:17.173 ***🔗
alice_subscribe_2504@localhost/res1 in
<presence from='bob_subscribe_2504@localhost/res1' to='alice_subscribe_2504@localhost/res1'/>



*** User 2024-04-26 12:49:17.173 ***🔗
bob_subscribe_2504@localhost/res1 in
<iq from='bob_subscribe_2504@localhost' to='bob_subscribe_2504@localhost/res1' id='push48fffbea3c94180b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2504@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-26 12:49:17.174 ***🔗
bob_subscribe_2504@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:49:17.174 ***🔗
bob_subscribe_2504@localhost/res1 in
</stream:stream>

*** User 2024-04-26 12:49:17.175 ***🔗
alice_subscribe_2504@localhost/res1 out
</stream:stream>

*** User 2024-04-26 12:49:17.175 ***🔗
alice_subscribe_2504@localhost/res1 in
</stream:stream>
*** CT 2024-04-26 12:49:17.181 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2039.html



=== Ended at 2024-04-26 12:49:17
=== successfully completed test case
=== === Returned value: ok


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