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

=== Config value:

    [{watchdog,<0.63094.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,"odbc_mssql_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@fe43254ce537.2024-03-13_08.50.23/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-13_09.02.49/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@fe43254ce537.2024-03-13_08.50.23/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-13_09.02.49/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@fe43254ce537.2024-03-13_08.50.23"

=== Started at 2024-03-13 09:02:50


*** CT 2024-03-13 09:02:50.834 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2349.html

*** User 2024-03-13 09:02:50.850 ***🔗
alicE_subscribe_2656@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-13 09:02:50.852 ***🔗
alicE_subscribe_2656@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d20aaad165ab0d0f' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-13 09:02:50.853 ***🔗
alicE_subscribe_2656@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-13 09:02:50.853 ***🔗
alicE_subscribe_2656@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNjU2AG1hdHlncnlzYQ==</auth>



*** User 2024-03-13 09:02:50.859 ***🔗
alicE_subscribe_2656@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 09:02:50.859 ***🔗
alicE_subscribe_2656@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-13 09:02:50.859 ***🔗
alicE_subscribe_2656@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bd60030b286c6c2c' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2656@localhost'>

*** User 2024-03-13 09:02:50.861 ***🔗
alicE_subscribe_2656@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-13 09:02:50.861 ***🔗
alicE_subscribe_2656@localhost/res1 out
<iq type='set' id='b3b51b05bd5557f8134d881f1e2a4412'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 09:02:50.864 ***🔗
alicE_subscribe_2656@localhost/res1 in
<iq id='b3b51b05bd5557f8134d881f1e2a4412' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2656@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 09:02:50.864 ***🔗
alice_subscribe_2656@localhost/res1 out
<iq type='set' id='2b61efac4acac8900e8b24043e92e229'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 09:02:50.865 ***🔗
alice_subscribe_2656@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2656@localhost/res1' id='2b61efac4acac8900e8b24043e92e229' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 09:02:50.865 ***🔗
alice_subscribe_2656@localhost/res1 out
<presence/>



*** User 2024-03-13 09:02:50.867 ***🔗
alice_subscribe_2656@localhost/res1 in
<presence from='alice_subscribe_2656@localhost/res1' to='alice_subscribe_2656@localhost/res1'/>



*** User 2024-03-13 09:02:50.870 ***🔗
bOb_subscribe_2656@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-13 09:02:50.873 ***🔗
bOb_subscribe_2656@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b4da6d76e6e93ed' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-13 09:02:50.873 ***🔗
bOb_subscribe_2656@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-13 09:02:50.873 ***🔗
bOb_subscribe_2656@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjY1NgBtYWtyb2xpa2E=</auth>



*** User 2024-03-13 09:02:50.877 ***🔗
bOb_subscribe_2656@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 09:02:50.877 ***🔗
bOb_subscribe_2656@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-13 09:02:50.878 ***🔗
bOb_subscribe_2656@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e316ead91cf86d6a' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2656@localhost'>

*** User 2024-03-13 09:02:50.878 ***🔗
bOb_subscribe_2656@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-13 09:02:50.878 ***🔗
bOb_subscribe_2656@localhost/res1 out
<iq type='set' id='8efbad971cf54de39f87aec455d5d421'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 09:02:50.879 ***🔗
bOb_subscribe_2656@localhost/res1 in
<iq id='8efbad971cf54de39f87aec455d5d421' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2656@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 09:02:50.879 ***🔗
bob_subscribe_2656@localhost/res1 out
<iq type='set' id='b9cdd92599bd09f776e46e1ed4f50f36'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 09:02:50.887 ***🔗
bob_subscribe_2656@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2656@localhost/res1' id='b9cdd92599bd09f776e46e1ed4f50f36' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 09:02:50.889 ***🔗
bob_subscribe_2656@localhost/res1 out
<presence/>



*** User 2024-03-13 09:02:50.895 ***🔗
bob_subscribe_2656@localhost/res1 in
<presence from='bob_subscribe_2656@localhost/res1' to='bob_subscribe_2656@localhost/res1'/>



*** User 2024-03-13 09:02:50.897 ***🔗
alice_subscribe_2656@localhost/res1 out
<iq type='set' id='c9f2a357aff1a891e2676bf3ffda56e9'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2656@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 09:02:50.912 ***🔗
alice_subscribe_2656@localhost/res1 in
<iq from='alice_subscribe_2656@localhost' to='alice_subscribe_2656@localhost/res1' id='push4de80d7c5d3842d3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2656@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 09:02:50.913 ***🔗
alice_subscribe_2656@localhost/res1 out
<iq to='alice_subscribe_2656@localhost' id='push4de80d7c5d3842d3' type='result'/>



*** User 2024-03-13 09:02:50.916 ***🔗
alice_subscribe_2656@localhost/res1 in
<iq from='alice_subscribe_2656@localhost' to='alice_subscribe_2656@localhost/res1' id='c9f2a357aff1a891e2676bf3ffda56e9' type='result'/>



*** User 2024-03-13 09:02:50.917 ***🔗
alice_subscribe_2656@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2656@localhost'/>



*** User 2024-03-13 09:02:50.937 ***🔗
alice_subscribe_2656@localhost/res1 in
<iq from='alice_subscribe_2656@localhost' to='alice_subscribe_2656@localhost/res1' id='pushded7c62438c06fb1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2656@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 09:02:50.938 ***🔗
alice_subscribe_2656@localhost/res1 out
<iq to='alice_subscribe_2656@localhost' id='pushded7c62438c06fb1' type='result'/>



*** User 2024-03-13 09:02:50.939 ***🔗
bob_subscribe_2656@localhost/res1 in
<presence from='alice_subscribe_2656@localhost' to='bob_subscribe_2656@localhost/res1' type='subscribe'/>



*** User 2024-03-13 09:02:50.940 ***🔗
bob_subscribe_2656@localhost/res1 out
<iq type='set' id='52cde67570057d18ec44e1ead84c33a7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2656@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 09:02:50.951 ***🔗
bob_subscribe_2656@localhost/res1 in
<iq from='bob_subscribe_2656@localhost' to='bob_subscribe_2656@localhost/res1' id='push9cf37ab47997ca60' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2656@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 09:02:50.952 ***🔗
bob_subscribe_2656@localhost/res1 out
<iq to='bob_subscribe_2656@localhost' id='push9cf37ab47997ca60' type='result'/>



*** User 2024-03-13 09:02:50.954 ***🔗
bob_subscribe_2656@localhost/res1 in
<iq from='bob_subscribe_2656@localhost' to='bob_subscribe_2656@localhost/res1' id='52cde67570057d18ec44e1ead84c33a7' type='result'/>



*** User 2024-03-13 09:02:50.955 ***🔗
bob_subscribe_2656@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2656@localhost'/>



*** User 2024-03-13 09:02:50.968 ***🔗
alice_subscribe_2656@localhost/res1 in
<iq from='alice_subscribe_2656@localhost' to='alice_subscribe_2656@localhost/res1' id='push245fca0ba5621983' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2656@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 09:02:50.971 ***🔗
alice_subscribe_2656@localhost/res1 in
<presence from='bob_subscribe_2656@localhost' to='alice_subscribe_2656@localhost/res1' type='subscribed'/>



*** User 2024-03-13 09:02:50.973 ***🔗
alice_subscribe_2656@localhost/res1 in
<presence from='bob_subscribe_2656@localhost/res1' to='alice_subscribe_2656@localhost/res1'/>



*** User 2024-03-13 09:02:50.974 ***🔗
bob_subscribe_2656@localhost/res1 in
<iq from='bob_subscribe_2656@localhost' to='bob_subscribe_2656@localhost/res1' id='push33df21ca8f75a0f4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2656@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 09:02:50.978 ***🔗
bob_subscribe_2656@localhost/res1 out
</stream:stream>

*** User 2024-03-13 09:02:50.979 ***🔗
bob_subscribe_2656@localhost/res1 in
</stream:stream>

*** User 2024-03-13 09:02:50.980 ***🔗
alice_subscribe_2656@localhost/res1 out
</stream:stream>

*** User 2024-03-13 09:02:50.982 ***🔗
alice_subscribe_2656@localhost/res1 in
</stream:stream>
*** CT 2024-03-13 09:02:51.002 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2349.html



=== Ended at 2024-03-13 09:02:51
=== successfully completed test case
=== === Returned value: ok


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