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

=== Config value:

    [{watchdog,<0.60986.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@d091d39a81d0.2024-03-08_08.59.35/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-08_09.11.41/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@d091d39a81d0.2024-03-08_08.59.35/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-08_09.11.41/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@d091d39a81d0.2024-03-08_08.59.35"

=== Started at 2024-03-08 09:11:42


*** CT 2024-03-08 09:11:42.589 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2373.html

*** User 2024-03-08 09:11:42.599 ***🔗
alicE_subscribe_2485@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-08 09:11:42.599 ***🔗
alicE_subscribe_2485@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d05987e173dbb623' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-08 09:11:42.599 ***🔗
alicE_subscribe_2485@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-08 09:11:42.599 ***🔗
alicE_subscribe_2485@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNDg1AG1hdHlncnlzYQ==</auth>



*** User 2024-03-08 09:11:42.601 ***🔗
alicE_subscribe_2485@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-08 09:11:42.601 ***🔗
alicE_subscribe_2485@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-08 09:11:42.601 ***🔗
alicE_subscribe_2485@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8b0f13cccf8c4475' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2485@localhost'>

*** User 2024-03-08 09:11:42.601 ***🔗
alicE_subscribe_2485@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-08 09:11:42.601 ***🔗
alicE_subscribe_2485@localhost/res1 out
<iq type='set' id='6b7674c0eb2a37a8f83c0dc66a7f7b72'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-08 09:11:42.601 ***🔗
alicE_subscribe_2485@localhost/res1 in
<iq id='6b7674c0eb2a37a8f83c0dc66a7f7b72' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2485@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-08 09:11:42.601 ***🔗
alice_subscribe_2485@localhost/res1 out
<iq type='set' id='0085fb298757f87f3db194611372b03a'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:11:42.602 ***🔗
alice_subscribe_2485@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2485@localhost/res1' id='0085fb298757f87f3db194611372b03a' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:11:42.602 ***🔗
alice_subscribe_2485@localhost/res1 out
<presence/>



*** User 2024-03-08 09:11:42.603 ***🔗
alice_subscribe_2485@localhost/res1 in
<presence from='alice_subscribe_2485@localhost/res1' to='alice_subscribe_2485@localhost/res1'/>



*** User 2024-03-08 09:11:42.604 ***🔗
bOb_subscribe_2485@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-08 09:11:42.604 ***🔗
bOb_subscribe_2485@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d4d4b310ba182755' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-08 09:11:42.604 ***🔗
bOb_subscribe_2485@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-08 09:11:42.604 ***🔗
bOb_subscribe_2485@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjQ4NQBtYWtyb2xpa2E=</auth>



*** User 2024-03-08 09:11:42.605 ***🔗
bOb_subscribe_2485@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-08 09:11:42.605 ***🔗
bOb_subscribe_2485@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-08 09:11:42.606 ***🔗
bOb_subscribe_2485@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7b4dcf7cbb6873f8' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2485@localhost'>

*** User 2024-03-08 09:11:42.606 ***🔗
bOb_subscribe_2485@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-08 09:11:42.606 ***🔗
bOb_subscribe_2485@localhost/res1 out
<iq type='set' id='2e91b417af6d093cb694e1c3e55d9e08'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-08 09:11:42.606 ***🔗
bOb_subscribe_2485@localhost/res1 in
<iq id='2e91b417af6d093cb694e1c3e55d9e08' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2485@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-08 09:11:42.606 ***🔗
bob_subscribe_2485@localhost/res1 out
<iq type='set' id='734866d5bf8fe9aa4f48fca6fee04983'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:11:42.607 ***🔗
bob_subscribe_2485@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2485@localhost/res1' id='734866d5bf8fe9aa4f48fca6fee04983' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-08 09:11:42.607 ***🔗
bob_subscribe_2485@localhost/res1 out
<presence/>



*** User 2024-03-08 09:11:42.608 ***🔗
bob_subscribe_2485@localhost/res1 in
<presence from='bob_subscribe_2485@localhost/res1' to='bob_subscribe_2485@localhost/res1'/>



*** User 2024-03-08 09:11:42.608 ***🔗
alice_subscribe_2485@localhost/res1 out
<iq type='set' id='5713dd69d56d4d99491aedfc141f66f2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2485@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 09:11:42.613 ***🔗
alice_subscribe_2485@localhost/res1 in
<iq from='alice_subscribe_2485@localhost' to='alice_subscribe_2485@localhost/res1' id='pushf6b7723c79b2f288' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_2485@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 09:11:42.613 ***🔗
alice_subscribe_2485@localhost/res1 out
<iq to='alice_subscribe_2485@localhost' id='pushf6b7723c79b2f288' type='result'/>



*** User 2024-03-08 09:11:42.613 ***🔗
alice_subscribe_2485@localhost/res1 in
<iq from='alice_subscribe_2485@localhost' to='alice_subscribe_2485@localhost/res1' id='5713dd69d56d4d99491aedfc141f66f2' type='result'/>



*** User 2024-03-08 09:11:42.613 ***🔗
alice_subscribe_2485@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2485@localhost'/>



*** User 2024-03-08 09:11:42.620 ***🔗
alice_subscribe_2485@localhost/res1 in
<iq from='alice_subscribe_2485@localhost' to='alice_subscribe_2485@localhost/res1' id='push3540803f472a75f3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_2485@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 09:11:42.620 ***🔗
alice_subscribe_2485@localhost/res1 out
<iq to='alice_subscribe_2485@localhost' id='push3540803f472a75f3' type='result'/>



*** User 2024-03-08 09:11:42.621 ***🔗
bob_subscribe_2485@localhost/res1 in
<presence from='alice_subscribe_2485@localhost' to='bob_subscribe_2485@localhost/res1' type='subscribe'/>



*** User 2024-03-08 09:11:42.621 ***🔗
bob_subscribe_2485@localhost/res1 out
<iq type='set' id='ff9296868b79d25e7b73d50701ee16b8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2485@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 09:11:42.624 ***🔗
bob_subscribe_2485@localhost/res1 in
<iq from='bob_subscribe_2485@localhost' to='bob_subscribe_2485@localhost/res1' id='push1350fc3ab011a66a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_2485@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 09:11:42.625 ***🔗
bob_subscribe_2485@localhost/res1 out
<iq to='bob_subscribe_2485@localhost' id='push1350fc3ab011a66a' type='result'/>



*** User 2024-03-08 09:11:42.625 ***🔗
bob_subscribe_2485@localhost/res1 in
<iq from='bob_subscribe_2485@localhost' to='bob_subscribe_2485@localhost/res1' id='ff9296868b79d25e7b73d50701ee16b8' type='result'/>



*** User 2024-03-08 09:11:42.625 ***🔗
bob_subscribe_2485@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2485@localhost'/>



*** User 2024-03-08 09:11:42.632 ***🔗
alice_subscribe_2485@localhost/res1 in
<iq from='alice_subscribe_2485@localhost' to='alice_subscribe_2485@localhost/res1' id='push12c6d81cc6bf13d2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_2485@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 09:11:42.633 ***🔗
alice_subscribe_2485@localhost/res1 in
<presence from='bob_subscribe_2485@localhost' to='alice_subscribe_2485@localhost/res1' type='subscribed'/>



*** User 2024-03-08 09:11:42.633 ***🔗
alice_subscribe_2485@localhost/res1 in
<presence from='bob_subscribe_2485@localhost/res1' to='alice_subscribe_2485@localhost/res1'/>



*** User 2024-03-08 09:11:42.633 ***🔗
bob_subscribe_2485@localhost/res1 in
<iq from='bob_subscribe_2485@localhost' to='bob_subscribe_2485@localhost/res1' id='push47b6a8f1932577af' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_2485@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 09:11:42.634 ***🔗
bob_subscribe_2485@localhost/res1 out
</stream:stream>

*** User 2024-03-08 09:11:42.634 ***🔗
bob_subscribe_2485@localhost/res1 in
</stream:stream>

*** User 2024-03-08 09:11:42.634 ***🔗
alice_subscribe_2485@localhost/res1 out
</stream:stream>

*** User 2024-03-08 09:11:42.635 ***🔗
alice_subscribe_2485@localhost/res1 in
</stream:stream>
*** CT 2024-03-08 09:11:42.642 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2373.html



=== Ended at 2024-03-08 09:11:42
=== successfully completed test case
=== === Returned value: ok


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