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

=== Config value:

    [{watchdog,<0.60370.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@a7e6ccb359a8.2024-03-13_08.20.17/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-13_08.27.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@a7e6ccb359a8.2024-03-13_08.20.17/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-13_08.27.52/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@a7e6ccb359a8.2024-03-13_08.20.17"

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


*** CT 2024-03-13 08:27:53.860 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2001.html

*** User 2024-03-13 08:27:53.873 ***🔗
alicE_subscribe_2432@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-13 08:27:53.873 ***🔗
alicE_subscribe_2432@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b79acc15ed8d5740' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-13 08:27:53.874 ***🔗
alicE_subscribe_2432@domain.example.com/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 08:27:53.874 ***🔗
alicE_subscribe_2432@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNDMyAG1hdHlncnlzYQ==</auth>



*** User 2024-03-13 08:27:53.875 ***🔗
alicE_subscribe_2432@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 08:27:53.875 ***🔗
alicE_subscribe_2432@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-13 08:27:53.875 ***🔗
alicE_subscribe_2432@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fbd82e6bd6709584' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2432@domain.example.com'>

*** User 2024-03-13 08:27:53.875 ***🔗
alicE_subscribe_2432@domain.example.com/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 08:27:53.875 ***🔗
alicE_subscribe_2432@domain.example.com/res1 out
<iq type='set' id='6d2cb195fea8e15411b947e8362e12cf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 08:27:53.875 ***🔗
alicE_subscribe_2432@domain.example.com/res1 in
<iq id='6d2cb195fea8e15411b947e8362e12cf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2432@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 08:27:53.875 ***🔗
alice_subscribe_2432@domain.example.com/res1 out
<iq type='set' id='6538b464ea7649c59a30063fb149f1fc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:27:53.876 ***🔗
alice_subscribe_2432@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2432@domain.example.com/res1' id='6538b464ea7649c59a30063fb149f1fc' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:27:53.876 ***🔗
alice_subscribe_2432@domain.example.com/res1 out
<presence/>



*** User 2024-03-13 08:27:53.877 ***🔗
alice_subscribe_2432@domain.example.com/res1 in
<presence from='alice_subscribe_2432@domain.example.com/res1' to='alice_subscribe_2432@domain.example.com/res1'/>



*** User 2024-03-13 08:27:53.878 ***🔗
bOb_subscribe_2432@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-13 08:27:53.878 ***🔗
bOb_subscribe_2432@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='354c5adc0b39982a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-13 08:27:53.878 ***🔗
bOb_subscribe_2432@domain.example.com/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 08:27:53.878 ***🔗
bOb_subscribe_2432@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjQzMgBtYWtyb2xpa2E=</auth>



*** User 2024-03-13 08:27:53.879 ***🔗
bOb_subscribe_2432@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-13 08:27:53.879 ***🔗
bOb_subscribe_2432@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-03-13 08:27:53.880 ***🔗
bOb_subscribe_2432@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7547f1051dabb2a4' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2432@domain.example.com'>

*** User 2024-03-13 08:27:53.880 ***🔗
bOb_subscribe_2432@domain.example.com/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 08:27:53.880 ***🔗
bOb_subscribe_2432@domain.example.com/res1 out
<iq type='set' id='9f26cf036bd6d7d7e7e40033c6df7290'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-13 08:27:53.880 ***🔗
bOb_subscribe_2432@domain.example.com/res1 in
<iq id='9f26cf036bd6d7d7e7e40033c6df7290' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2432@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-13 08:27:53.880 ***🔗
bob_subscribe_2432@domain.example.com/res1 out
<iq type='set' id='025cf99f7f027fa547af4dac7a5a1116'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:27:53.881 ***🔗
bob_subscribe_2432@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2432@domain.example.com/res1' id='025cf99f7f027fa547af4dac7a5a1116' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-13 08:27:53.881 ***🔗
bob_subscribe_2432@domain.example.com/res1 out
<presence/>



*** User 2024-03-13 08:27:53.883 ***🔗
bob_subscribe_2432@domain.example.com/res1 in
<presence from='bob_subscribe_2432@domain.example.com/res1' to='bob_subscribe_2432@domain.example.com/res1'/>



*** User 2024-03-13 08:27:53.883 ***🔗
alice_subscribe_2432@domain.example.com/res1 out
<iq type='set' id='1308217a9ece03282c091fa49416fcc2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2432@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:53.889 ***🔗
alice_subscribe_2432@domain.example.com/res1 in
<iq from='alice_subscribe_2432@domain.example.com' to='alice_subscribe_2432@domain.example.com/res1' id='push53b50873b39ac3d6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2432@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:53.889 ***🔗
alice_subscribe_2432@domain.example.com/res1 out
<iq to='alice_subscribe_2432@domain.example.com' id='push53b50873b39ac3d6' type='result'/>



*** User 2024-03-13 08:27:53.889 ***🔗
alice_subscribe_2432@domain.example.com/res1 in
<iq from='alice_subscribe_2432@domain.example.com' to='alice_subscribe_2432@domain.example.com/res1' id='1308217a9ece03282c091fa49416fcc2' type='result'/>



*** User 2024-03-13 08:27:53.889 ***🔗
alice_subscribe_2432@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2432@domain.example.com'/>



*** User 2024-03-13 08:27:53.895 ***🔗
alice_subscribe_2432@domain.example.com/res1 in
<iq from='alice_subscribe_2432@domain.example.com' to='alice_subscribe_2432@domain.example.com/res1' id='pushd04cd2a8265405d6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2432@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:53.895 ***🔗
alice_subscribe_2432@domain.example.com/res1 out
<iq to='alice_subscribe_2432@domain.example.com' id='pushd04cd2a8265405d6' type='result'/>



*** User 2024-03-13 08:27:53.895 ***🔗
bob_subscribe_2432@domain.example.com/res1 in
<presence from='alice_subscribe_2432@domain.example.com' to='bob_subscribe_2432@domain.example.com/res1' type='subscribe'/>



*** User 2024-03-13 08:27:53.896 ***🔗
bob_subscribe_2432@domain.example.com/res1 out
<iq type='set' id='5f119a1b2465a65c0ccc28112cae30f4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2432@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:53.899 ***🔗
bob_subscribe_2432@domain.example.com/res1 in
<iq from='bob_subscribe_2432@domain.example.com' to='bob_subscribe_2432@domain.example.com/res1' id='push768e810331aec927' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2432@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:53.899 ***🔗
bob_subscribe_2432@domain.example.com/res1 out
<iq to='bob_subscribe_2432@domain.example.com' id='push768e810331aec927' type='result'/>



*** User 2024-03-13 08:27:53.899 ***🔗
bob_subscribe_2432@domain.example.com/res1 in
<iq from='bob_subscribe_2432@domain.example.com' to='bob_subscribe_2432@domain.example.com/res1' id='5f119a1b2465a65c0ccc28112cae30f4' type='result'/>



*** User 2024-03-13 08:27:53.899 ***🔗
bob_subscribe_2432@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2432@domain.example.com'/>



*** User 2024-03-13 08:27:53.906 ***🔗
alice_subscribe_2432@domain.example.com/res1 in
<iq from='alice_subscribe_2432@domain.example.com' to='alice_subscribe_2432@domain.example.com/res1' id='pushcd5a41c0eac71b13' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2432@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:53.906 ***🔗
alice_subscribe_2432@domain.example.com/res1 in
<presence from='bob_subscribe_2432@domain.example.com' to='alice_subscribe_2432@domain.example.com/res1' type='subscribed'/>



*** User 2024-03-13 08:27:53.906 ***🔗
alice_subscribe_2432@domain.example.com/res1 in
<presence from='bob_subscribe_2432@domain.example.com/res1' to='alice_subscribe_2432@domain.example.com/res1'/>



*** User 2024-03-13 08:27:53.906 ***🔗
bob_subscribe_2432@domain.example.com/res1 in
<iq from='bob_subscribe_2432@domain.example.com' to='bob_subscribe_2432@domain.example.com/res1' id='push06a97bbf35cd43d6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2432@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-13 08:27:53.907 ***🔗
bob_subscribe_2432@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-13 08:27:53.908 ***🔗
bob_subscribe_2432@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-13 08:27:53.908 ***🔗
alice_subscribe_2432@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-13 08:27:53.908 ***🔗
alice_subscribe_2432@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-13 08:27:53.915 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2001.html



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


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