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

=== Config value:

    [{watchdog,<0.60900.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@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-12_13.34.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@8a480c91a890.2024-04-12_13.25.32/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-12_13.34.14/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@8a480c91a890.2024-04-12_13.25.32"

=== Started at 2024-04-12 13:34:15


*** CT 2024-04-12 13:34:15.317 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2026.html

*** User 2024-04-12 13:34:15.328 ***🔗
alicE_subscribe_2467@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-04-12 13:34:15.328 ***🔗
alicE_subscribe_2467@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='dfcd60e2b383851b' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-12 13:34:15.328 ***🔗
alicE_subscribe_2467@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-04-12 13:34:15.328 ***🔗
alicE_subscribe_2467@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNDY3AG1hdHlncnlzYQ==</auth>



*** User 2024-04-12 13:34:15.329 ***🔗
alicE_subscribe_2467@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-12 13:34:15.329 ***🔗
alicE_subscribe_2467@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-04-12 13:34:15.329 ***🔗
alicE_subscribe_2467@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1bbf6eb694baa248' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2467@domain.example.com'>

*** User 2024-04-12 13:34:15.329 ***🔗
alicE_subscribe_2467@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-04-12 13:34:15.329 ***🔗
alicE_subscribe_2467@domain.example.com/res1 out
<iq type='set' id='21920cbd2dce9e9dbf17884ca0d99dea'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-12 13:34:15.330 ***🔗
alicE_subscribe_2467@domain.example.com/res1 in
<iq id='21920cbd2dce9e9dbf17884ca0d99dea' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2467@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-12 13:34:15.330 ***🔗
alice_subscribe_2467@domain.example.com/res1 out
<iq type='set' id='01c4c26180be3eaa5cac59dd68021230'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:34:15.330 ***🔗
alice_subscribe_2467@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2467@domain.example.com/res1' id='01c4c26180be3eaa5cac59dd68021230' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:34:15.330 ***🔗
alice_subscribe_2467@domain.example.com/res1 out
<presence/>



*** User 2024-04-12 13:34:15.332 ***🔗
alice_subscribe_2467@domain.example.com/res1 in
<presence from='alice_subscribe_2467@domain.example.com/res1' to='alice_subscribe_2467@domain.example.com/res1'/>



*** User 2024-04-12 13:34:15.332 ***🔗
bOb_subscribe_2467@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-04-12 13:34:15.332 ***🔗
bOb_subscribe_2467@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='75d3025a73c0b477' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-12 13:34:15.332 ***🔗
bOb_subscribe_2467@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-04-12 13:34:15.333 ***🔗
bOb_subscribe_2467@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjQ2NwBtYWtyb2xpa2E=</auth>



*** User 2024-04-12 13:34:15.333 ***🔗
bOb_subscribe_2467@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-12 13:34:15.333 ***🔗
bOb_subscribe_2467@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-04-12 13:34:15.333 ***🔗
bOb_subscribe_2467@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b292cea03c196420' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2467@domain.example.com'>

*** User 2024-04-12 13:34:15.334 ***🔗
bOb_subscribe_2467@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-04-12 13:34:15.334 ***🔗
bOb_subscribe_2467@domain.example.com/res1 out
<iq type='set' id='e70bd9fd7d974b9ed22a78f71da97f16'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-12 13:34:15.334 ***🔗
bOb_subscribe_2467@domain.example.com/res1 in
<iq id='e70bd9fd7d974b9ed22a78f71da97f16' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2467@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-12 13:34:15.334 ***🔗
bob_subscribe_2467@domain.example.com/res1 out
<iq type='set' id='e08a990523a2bd5c94a09e2d7e4d5f9b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:34:15.334 ***🔗
bob_subscribe_2467@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2467@domain.example.com/res1' id='e08a990523a2bd5c94a09e2d7e4d5f9b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-12 13:34:15.335 ***🔗
bob_subscribe_2467@domain.example.com/res1 out
<presence/>



*** User 2024-04-12 13:34:15.336 ***🔗
bob_subscribe_2467@domain.example.com/res1 in
<presence from='bob_subscribe_2467@domain.example.com/res1' to='bob_subscribe_2467@domain.example.com/res1'/>



*** User 2024-04-12 13:34:15.336 ***🔗
alice_subscribe_2467@domain.example.com/res1 out
<iq type='set' id='a3949f2cbb28c478af5d6772c8b6426d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2467@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:34:15.339 ***🔗
alice_subscribe_2467@domain.example.com/res1 in
<iq from='alice_subscribe_2467@domain.example.com' to='alice_subscribe_2467@domain.example.com/res1' id='push7b80664415b0e4aa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2467@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:34:15.339 ***🔗
alice_subscribe_2467@domain.example.com/res1 out
<iq to='alice_subscribe_2467@domain.example.com' id='push7b80664415b0e4aa' type='result'/>



*** User 2024-04-12 13:34:15.340 ***🔗
alice_subscribe_2467@domain.example.com/res1 in
<iq from='alice_subscribe_2467@domain.example.com' to='alice_subscribe_2467@domain.example.com/res1' id='a3949f2cbb28c478af5d6772c8b6426d' type='result'/>



*** User 2024-04-12 13:34:15.340 ***🔗
alice_subscribe_2467@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2467@domain.example.com'/>



*** User 2024-04-12 13:34:15.344 ***🔗
alice_subscribe_2467@domain.example.com/res1 in
<iq from='alice_subscribe_2467@domain.example.com' to='alice_subscribe_2467@domain.example.com/res1' id='push19e5ae12463f39dc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2467@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:34:15.345 ***🔗
alice_subscribe_2467@domain.example.com/res1 out
<iq to='alice_subscribe_2467@domain.example.com' id='push19e5ae12463f39dc' type='result'/>



*** User 2024-04-12 13:34:15.345 ***🔗
bob_subscribe_2467@domain.example.com/res1 in
<presence from='alice_subscribe_2467@domain.example.com' to='bob_subscribe_2467@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-12 13:34:15.345 ***🔗
bob_subscribe_2467@domain.example.com/res1 out
<iq type='set' id='5161fec56104e66272f03bfc1ed22656'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2467@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:34:15.348 ***🔗
bob_subscribe_2467@domain.example.com/res1 in
<iq from='bob_subscribe_2467@domain.example.com' to='bob_subscribe_2467@domain.example.com/res1' id='push6a95d268764bc4f1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2467@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:34:15.349 ***🔗
bob_subscribe_2467@domain.example.com/res1 out
<iq to='bob_subscribe_2467@domain.example.com' id='push6a95d268764bc4f1' type='result'/>



*** User 2024-04-12 13:34:15.349 ***🔗
bob_subscribe_2467@domain.example.com/res1 in
<iq from='bob_subscribe_2467@domain.example.com' to='bob_subscribe_2467@domain.example.com/res1' id='5161fec56104e66272f03bfc1ed22656' type='result'/>



*** User 2024-04-12 13:34:15.349 ***🔗
bob_subscribe_2467@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2467@domain.example.com'/>



*** User 2024-04-12 13:34:15.354 ***🔗
alice_subscribe_2467@domain.example.com/res1 in
<iq from='alice_subscribe_2467@domain.example.com' to='alice_subscribe_2467@domain.example.com/res1' id='pushf4ffbbbe4cf2db19' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2467@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:34:15.354 ***🔗
alice_subscribe_2467@domain.example.com/res1 in
<presence from='bob_subscribe_2467@domain.example.com' to='alice_subscribe_2467@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-12 13:34:15.354 ***🔗
alice_subscribe_2467@domain.example.com/res1 in
<presence from='bob_subscribe_2467@domain.example.com/res1' to='alice_subscribe_2467@domain.example.com/res1'/>



*** User 2024-04-12 13:34:15.354 ***🔗
bob_subscribe_2467@domain.example.com/res1 in
<iq from='bob_subscribe_2467@domain.example.com' to='bob_subscribe_2467@domain.example.com/res1' id='push04997c86075335bd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2467@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-12 13:34:15.356 ***🔗
bob_subscribe_2467@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-12 13:34:15.356 ***🔗
bob_subscribe_2467@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-12 13:34:15.356 ***🔗
alice_subscribe_2467@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-12 13:34:15.357 ***🔗
alice_subscribe_2467@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-12 13:34:15.364 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2026.html



=== Ended at 2024-04-12 13:34:15
=== successfully completed test case
=== === Returned value: ok


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