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

=== Config value:

    [{watchdog,<0.61177.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@9653e50c5872.2024-04-25_14.32.38/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-25_14.44.15/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@9653e50c5872.2024-04-25_14.32.38/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-25_14.44.15/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@9653e50c5872.2024-04-25_14.32.38"

=== Started at 2024-04-25 14:44:16


*** CT 2024-04-25 14:44:16.317 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2310.html

*** User 2024-04-25 14:44:16.334 ***🔗
alicE_subscribe_2736@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-25 14:44:16.335 ***🔗
alicE_subscribe_2736@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2886bd2971804b41' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:44:16.335 ***🔗
alicE_subscribe_2736@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-25 14:44:16.335 ***🔗
alicE_subscribe_2736@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNzM2AG1hdHlncnlzYQ==</auth>



*** User 2024-04-25 14:44:16.337 ***🔗
alicE_subscribe_2736@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:44:16.337 ***🔗
alicE_subscribe_2736@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-25 14:44:16.337 ***🔗
alicE_subscribe_2736@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='82a6b0d75ce04b37' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2736@domain.example.com'>

*** User 2024-04-25 14:44:16.337 ***🔗
alicE_subscribe_2736@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-25 14:44:16.337 ***🔗
alicE_subscribe_2736@domain.example.com/res1 out
<iq type='set' id='2f159445e88a322af70519c714ed3190'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 14:44:16.338 ***🔗
alicE_subscribe_2736@domain.example.com/res1 in
<iq id='2f159445e88a322af70519c714ed3190' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2736@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 14:44:16.338 ***🔗
alice_subscribe_2736@domain.example.com/res1 out
<iq type='set' id='1d3f5ba2b531640f0e19376f8fd0137b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:44:16.338 ***🔗
alice_subscribe_2736@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2736@domain.example.com/res1' id='1d3f5ba2b531640f0e19376f8fd0137b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:44:16.338 ***🔗
alice_subscribe_2736@domain.example.com/res1 out
<presence/>



*** User 2024-04-25 14:44:16.340 ***🔗
alice_subscribe_2736@domain.example.com/res1 in
<presence from='alice_subscribe_2736@domain.example.com/res1' to='alice_subscribe_2736@domain.example.com/res1'/>



*** User 2024-04-25 14:44:16.340 ***🔗
bOb_subscribe_2736@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-25 14:44:16.341 ***🔗
bOb_subscribe_2736@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='178413d73750b4e7' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-25 14:44:16.341 ***🔗
bOb_subscribe_2736@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-25 14:44:16.341 ***🔗
bOb_subscribe_2736@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjczNgBtYWtyb2xpa2E=</auth>



*** User 2024-04-25 14:44:16.342 ***🔗
bOb_subscribe_2736@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 14:44:16.342 ***🔗
bOb_subscribe_2736@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-25 14:44:16.343 ***🔗
bOb_subscribe_2736@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aedb1e940bd40c17' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2736@domain.example.com'>

*** User 2024-04-25 14:44:16.343 ***🔗
bOb_subscribe_2736@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-25 14:44:16.343 ***🔗
bOb_subscribe_2736@domain.example.com/res1 out
<iq type='set' id='543361d092fa0e5b9a5698792f81ba4a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 14:44:16.343 ***🔗
bOb_subscribe_2736@domain.example.com/res1 in
<iq id='543361d092fa0e5b9a5698792f81ba4a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2736@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 14:44:16.343 ***🔗
bob_subscribe_2736@domain.example.com/res1 out
<iq type='set' id='33a3b1769bcdf6d63008b984e76c21ef'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:44:16.344 ***🔗
bob_subscribe_2736@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2736@domain.example.com/res1' id='33a3b1769bcdf6d63008b984e76c21ef' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 14:44:16.344 ***🔗
bob_subscribe_2736@domain.example.com/res1 out
<presence/>



*** User 2024-04-25 14:44:16.345 ***🔗
bob_subscribe_2736@domain.example.com/res1 in
<presence from='bob_subscribe_2736@domain.example.com/res1' to='bob_subscribe_2736@domain.example.com/res1'/>



*** User 2024-04-25 14:44:16.345 ***🔗
alice_subscribe_2736@domain.example.com/res1 out
<iq type='set' id='0d8ef696fab11a54c3e05d9527e289fb'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2736@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.351 ***🔗
alice_subscribe_2736@domain.example.com/res1 in
<iq from='alice_subscribe_2736@domain.example.com' to='alice_subscribe_2736@domain.example.com/res1' id='push30ce0bd9738eccc5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2736@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.351 ***🔗
alice_subscribe_2736@domain.example.com/res1 out
<iq to='alice_subscribe_2736@domain.example.com' id='push30ce0bd9738eccc5' type='result'/>



*** User 2024-04-25 14:44:16.351 ***🔗
alice_subscribe_2736@domain.example.com/res1 in
<iq from='alice_subscribe_2736@domain.example.com' to='alice_subscribe_2736@domain.example.com/res1' id='0d8ef696fab11a54c3e05d9527e289fb' type='result'/>



*** User 2024-04-25 14:44:16.351 ***🔗
alice_subscribe_2736@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2736@domain.example.com'/>



*** User 2024-04-25 14:44:16.359 ***🔗
alice_subscribe_2736@domain.example.com/res1 in
<iq from='alice_subscribe_2736@domain.example.com' to='alice_subscribe_2736@domain.example.com/res1' id='pushbfec9bd9ebf5ce20' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2736@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.359 ***🔗
alice_subscribe_2736@domain.example.com/res1 out
<iq to='alice_subscribe_2736@domain.example.com' id='pushbfec9bd9ebf5ce20' type='result'/>



*** User 2024-04-25 14:44:16.360 ***🔗
bob_subscribe_2736@domain.example.com/res1 in
<presence from='alice_subscribe_2736@domain.example.com' to='bob_subscribe_2736@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-25 14:44:16.360 ***🔗
bob_subscribe_2736@domain.example.com/res1 out
<iq type='set' id='d7347e412c5a8de9490f3957c6bd3ee7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2736@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.364 ***🔗
bob_subscribe_2736@domain.example.com/res1 in
<iq from='bob_subscribe_2736@domain.example.com' to='bob_subscribe_2736@domain.example.com/res1' id='pushcaae1f48d07bcc85' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2736@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.364 ***🔗
bob_subscribe_2736@domain.example.com/res1 out
<iq to='bob_subscribe_2736@domain.example.com' id='pushcaae1f48d07bcc85' type='result'/>



*** User 2024-04-25 14:44:16.364 ***🔗
bob_subscribe_2736@domain.example.com/res1 in
<iq from='bob_subscribe_2736@domain.example.com' to='bob_subscribe_2736@domain.example.com/res1' id='d7347e412c5a8de9490f3957c6bd3ee7' type='result'/>



*** User 2024-04-25 14:44:16.364 ***🔗
bob_subscribe_2736@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2736@domain.example.com'/>



*** User 2024-04-25 14:44:16.373 ***🔗
alice_subscribe_2736@domain.example.com/res1 in
<iq from='alice_subscribe_2736@domain.example.com' to='alice_subscribe_2736@domain.example.com/res1' id='push295fe9c26b671d7b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2736@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.373 ***🔗
alice_subscribe_2736@domain.example.com/res1 in
<presence from='bob_subscribe_2736@domain.example.com' to='alice_subscribe_2736@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-25 14:44:16.373 ***🔗
alice_subscribe_2736@domain.example.com/res1 in
<presence from='bob_subscribe_2736@domain.example.com/res1' to='alice_subscribe_2736@domain.example.com/res1'/>



*** User 2024-04-25 14:44:16.373 ***🔗
bob_subscribe_2736@domain.example.com/res1 in
<iq from='bob_subscribe_2736@domain.example.com' to='bob_subscribe_2736@domain.example.com/res1' id='push50e67b4b1be65f3b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2736@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 14:44:16.374 ***🔗
bob_subscribe_2736@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-25 14:44:16.375 ***🔗
bob_subscribe_2736@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-25 14:44:16.375 ***🔗
alice_subscribe_2736@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-25 14:44:16.375 ***🔗
alice_subscribe_2736@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-25 14:44:16.383 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2310.html



=== Ended at 2024-04-25 14:44:16
=== successfully completed test case
=== === Returned value: ok


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