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

=== Config value:

    [{watchdog,<0.61288.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,"pgsql_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@09896f76b4b2.2024-03-08_08.59.11/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-08_09.09.36/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@09896f76b4b2.2024-03-08_08.59.11/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-08_09.09.36/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@09896f76b4b2.2024-03-08_08.59.11"

=== Started at 2024-03-08 09:09:37


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

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

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



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



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

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



*** User 2024-03-08 09:09:37.338 ***🔗
alicE_subscribe_2448@localhost/res1 in
<iq id='2aa8c3b60ab10c9ca0f78b2f5e0ec4c3' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2448@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-08 09:09:37.338 ***🔗
alice_subscribe_2448@localhost/res1 out
<iq type='set' id='b71dd0fc19c779946b9cf47fd3b791a7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



*** User 2024-03-08 09:09:37.339 ***🔗
alice_subscribe_2448@localhost/res1 out
<presence/>



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



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

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



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



*** User 2024-03-08 09:09:37.342 ***🔗
bOb_subscribe_2448@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:09:37.342 ***🔗
bOb_subscribe_2448@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='869ec185914ca7d4' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2448@localhost'>

*** User 2024-03-08 09:09:37.342 ***🔗
bOb_subscribe_2448@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:09:37.343 ***🔗
bOb_subscribe_2448@localhost/res1 out
<iq type='set' id='8f2e790e62afd958de88c0d9a683c0d8'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-08 09:09:37.343 ***🔗
bOb_subscribe_2448@localhost/res1 in
<iq id='8f2e790e62afd958de88c0d9a683c0d8' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2448@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-08 09:09:37.343 ***🔗
bob_subscribe_2448@localhost/res1 out
<iq type='set' id='c97f629a14330a49c945e7163638339c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



*** User 2024-03-08 09:09:37.344 ***🔗
bob_subscribe_2448@localhost/res1 out
<presence/>



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



*** User 2024-03-08 09:09:37.345 ***🔗
alice_subscribe_2448@localhost/res1 out
<iq type='set' id='eee013abd155a5a5fa96a86a3539d778'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2448@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



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



*** User 2024-03-08 09:09:37.347 ***🔗
alice_subscribe_2448@localhost/res1 out
<iq to='alice_subscribe_2448@localhost' id='push0450dcde20b57bee' type='result'/>



*** User 2024-03-08 09:09:37.347 ***🔗
alice_subscribe_2448@localhost/res1 in
<iq from='alice_subscribe_2448@localhost' to='alice_subscribe_2448@localhost/res1' id='eee013abd155a5a5fa96a86a3539d778' type='result'/>



*** User 2024-03-08 09:09:37.347 ***🔗
alice_subscribe_2448@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2448@localhost'/>



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



*** User 2024-03-08 09:09:37.351 ***🔗
alice_subscribe_2448@localhost/res1 out
<iq to='alice_subscribe_2448@localhost' id='push4ecbb9467fec069b' type='result'/>



*** User 2024-03-08 09:09:37.351 ***🔗
bob_subscribe_2448@localhost/res1 in
<presence from='alice_subscribe_2448@localhost' to='bob_subscribe_2448@localhost/res1' type='subscribe'/>



*** User 2024-03-08 09:09:37.351 ***🔗
bob_subscribe_2448@localhost/res1 out
<iq type='set' id='12a85ee2c4dcb7b19fdcaead4ffd6cf6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2448@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



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



*** User 2024-03-08 09:09:37.353 ***🔗
bob_subscribe_2448@localhost/res1 out
<iq to='bob_subscribe_2448@localhost' id='pushfe67d1710f3535aa' type='result'/>



*** User 2024-03-08 09:09:37.353 ***🔗
bob_subscribe_2448@localhost/res1 in
<iq from='bob_subscribe_2448@localhost' to='bob_subscribe_2448@localhost/res1' id='12a85ee2c4dcb7b19fdcaead4ffd6cf6' type='result'/>



*** User 2024-03-08 09:09:37.353 ***🔗
bob_subscribe_2448@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2448@localhost'/>



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



*** User 2024-03-08 09:09:37.356 ***🔗
alice_subscribe_2448@localhost/res1 in
<presence from='bob_subscribe_2448@localhost' to='alice_subscribe_2448@localhost/res1' type='subscribed'/>



*** User 2024-03-08 09:09:37.356 ***🔗
alice_subscribe_2448@localhost/res1 in
<presence from='bob_subscribe_2448@localhost/res1' to='alice_subscribe_2448@localhost/res1'/>



*** User 2024-03-08 09:09:37.356 ***🔗
bob_subscribe_2448@localhost/res1 in
<iq from='bob_subscribe_2448@localhost' to='bob_subscribe_2448@localhost/res1' id='push56c6607bb4db384b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_2448@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-08 09:09:37.358 ***🔗
bob_subscribe_2448@localhost/res1 out
</stream:stream>

*** User 2024-03-08 09:09:37.358 ***🔗
bob_subscribe_2448@localhost/res1 in
</stream:stream>

*** User 2024-03-08 09:09:37.358 ***🔗
alice_subscribe_2448@localhost/res1 out
</stream:stream>

*** User 2024-03-08 09:09:37.358 ***🔗
alice_subscribe_2448@localhost/res1 in
</stream:stream>
*** CT 2024-03-08 09:09:37.363 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2301.html



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


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