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

=== Config value:

    [{watchdog,<0.57190.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_cets"},
     {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@8ba0dd56aa70.2024-04-15_16.45.39/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-15_16.53.53/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@8ba0dd56aa70.2024-04-15_16.45.39/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-15_16.53.53/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@8ba0dd56aa70.2024-04-15_16.45.39"

=== Started at 2024-04-15 16:53:53


*** CT 2024-04-15 16:53:53.754 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1968.html

*** User 2024-04-15 16:53:53.771 ***🔗
alicE_subscribe_2295@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-04-15 16:53:53.771 ***🔗
alicE_subscribe_2295@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9bf67e0f6d71c049' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 16:53:53.771 ***🔗
alicE_subscribe_2295@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-04-15 16:53:53.771 ***🔗
alicE_subscribe_2295@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yMjk1AG1hdHlncnlzYQ==</auth>



*** User 2024-04-15 16:53:53.772 ***🔗
alicE_subscribe_2295@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 16:53:53.772 ***🔗
alicE_subscribe_2295@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-04-15 16:53:53.772 ***🔗
alicE_subscribe_2295@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='faf6bbeb6ee67cab' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2295@localhost'>

*** User 2024-04-15 16:53:53.773 ***🔗
alicE_subscribe_2295@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-04-15 16:53:53.773 ***🔗
alicE_subscribe_2295@localhost/res1 out
<iq type='set' id='8b3a6c1d8f295e87aa6ca75150a09ec2'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 16:53:53.773 ***🔗
alicE_subscribe_2295@localhost/res1 in
<iq id='8b3a6c1d8f295e87aa6ca75150a09ec2' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2295@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:53:53.773 ***🔗
alice_subscribe_2295@localhost/res1 out
<iq type='set' id='87ec8b490d4a84f3fe6d4a29eaaa776e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:53:53.774 ***🔗
alice_subscribe_2295@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2295@localhost/res1' id='87ec8b490d4a84f3fe6d4a29eaaa776e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:53:53.774 ***🔗
alice_subscribe_2295@localhost/res1 out
<presence/>



*** User 2024-04-15 16:53:53.775 ***🔗
alice_subscribe_2295@localhost/res1 in
<presence from='alice_subscribe_2295@localhost/res1' to='alice_subscribe_2295@localhost/res1'/>



*** User 2024-04-15 16:53:53.775 ***🔗
bOb_subscribe_2295@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-04-15 16:53:53.776 ***🔗
bOb_subscribe_2295@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='71e06f4aa67ab1d3' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-15 16:53:53.776 ***🔗
bOb_subscribe_2295@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-04-15 16:53:53.776 ***🔗
bOb_subscribe_2295@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjI5NQBtYWtyb2xpa2E=</auth>



*** User 2024-04-15 16:53:53.777 ***🔗
bOb_subscribe_2295@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-15 16:53:53.777 ***🔗
bOb_subscribe_2295@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-04-15 16:53:53.777 ***🔗
bOb_subscribe_2295@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='20f710516c4929ee' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2295@localhost'>

*** User 2024-04-15 16:53:53.777 ***🔗
bOb_subscribe_2295@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-04-15 16:53:53.777 ***🔗
bOb_subscribe_2295@localhost/res1 out
<iq type='set' id='1b7568bbc8e9231d841319001e1b9f28'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 16:53:53.777 ***🔗
bOb_subscribe_2295@localhost/res1 in
<iq id='1b7568bbc8e9231d841319001e1b9f28' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2295@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:53:53.777 ***🔗
bob_subscribe_2295@localhost/res1 out
<iq type='set' id='8f3988cf431d9dc4e1afcc75498739c7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:53:53.778 ***🔗
bob_subscribe_2295@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2295@localhost/res1' id='8f3988cf431d9dc4e1afcc75498739c7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:53:53.778 ***🔗
bob_subscribe_2295@localhost/res1 out
<presence/>



*** User 2024-04-15 16:53:53.779 ***🔗
bob_subscribe_2295@localhost/res1 in
<presence from='bob_subscribe_2295@localhost/res1' to='bob_subscribe_2295@localhost/res1'/>



*** User 2024-04-15 16:53:53.779 ***🔗
alice_subscribe_2295@localhost/res1 out
<iq type='set' id='54db35ab84c293b76c4cf0bc1645eaff'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2295@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:53.785 ***🔗
alice_subscribe_2295@localhost/res1 in
<iq from='alice_subscribe_2295@localhost' to='alice_subscribe_2295@localhost/res1' id='pushfd0fe82e00014e37' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2295@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:53.785 ***🔗
alice_subscribe_2295@localhost/res1 out
<iq to='alice_subscribe_2295@localhost' id='pushfd0fe82e00014e37' type='result'/>



*** User 2024-04-15 16:53:53.785 ***🔗
alice_subscribe_2295@localhost/res1 in
<iq from='alice_subscribe_2295@localhost' to='alice_subscribe_2295@localhost/res1' id='54db35ab84c293b76c4cf0bc1645eaff' type='result'/>



*** User 2024-04-15 16:53:53.785 ***🔗
alice_subscribe_2295@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2295@localhost'/>



*** User 2024-04-15 16:53:53.797 ***🔗
alice_subscribe_2295@localhost/res1 in
<iq from='alice_subscribe_2295@localhost' to='alice_subscribe_2295@localhost/res1' id='push11e56be8de1b2dcc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2295@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:53.797 ***🔗
alice_subscribe_2295@localhost/res1 out
<iq to='alice_subscribe_2295@localhost' id='push11e56be8de1b2dcc' type='result'/>



*** User 2024-04-15 16:53:53.797 ***🔗
bob_subscribe_2295@localhost/res1 in
<presence from='alice_subscribe_2295@localhost' to='bob_subscribe_2295@localhost/res1' type='subscribe'/>



*** User 2024-04-15 16:53:53.798 ***🔗
bob_subscribe_2295@localhost/res1 out
<iq type='set' id='463f6dac1eb22b60467e256685e75cea'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2295@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:53.803 ***🔗
bob_subscribe_2295@localhost/res1 in
<iq from='bob_subscribe_2295@localhost' to='bob_subscribe_2295@localhost/res1' id='push3b3e42db66f79cf5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2295@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:53.803 ***🔗
bob_subscribe_2295@localhost/res1 out
<iq to='bob_subscribe_2295@localhost' id='push3b3e42db66f79cf5' type='result'/>



*** User 2024-04-15 16:53:53.803 ***🔗
bob_subscribe_2295@localhost/res1 in
<iq from='bob_subscribe_2295@localhost' to='bob_subscribe_2295@localhost/res1' id='463f6dac1eb22b60467e256685e75cea' type='result'/>



*** User 2024-04-15 16:53:53.803 ***🔗
bob_subscribe_2295@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2295@localhost'/>



*** User 2024-04-15 16:53:53.815 ***🔗
alice_subscribe_2295@localhost/res1 in
<iq from='alice_subscribe_2295@localhost' to='alice_subscribe_2295@localhost/res1' id='push33183ab51d9e3471' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2295@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:53.815 ***🔗
alice_subscribe_2295@localhost/res1 in
<presence from='bob_subscribe_2295@localhost' to='alice_subscribe_2295@localhost/res1' type='subscribed'/>



*** User 2024-04-15 16:53:53.815 ***🔗
alice_subscribe_2295@localhost/res1 in
<presence from='bob_subscribe_2295@localhost/res1' to='alice_subscribe_2295@localhost/res1'/>



*** User 2024-04-15 16:53:53.815 ***🔗
bob_subscribe_2295@localhost/res1 in
<iq from='bob_subscribe_2295@localhost' to='bob_subscribe_2295@localhost/res1' id='push50b820a026d549c4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2295@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:53:53.816 ***🔗
bob_subscribe_2295@localhost/res1 out
</stream:stream>

*** User 2024-04-15 16:53:53.817 ***🔗
bob_subscribe_2295@localhost/res1 in
</stream:stream>

*** User 2024-04-15 16:53:53.817 ***🔗
alice_subscribe_2295@localhost/res1 out
</stream:stream>

*** User 2024-04-15 16:53:53.817 ***🔗
alice_subscribe_2295@localhost/res1 in
</stream:stream>
*** CT 2024-04-15 16:53:53.823 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1968.html



=== Ended at 2024-04-15 16:53:53
=== successfully completed test case
=== === Returned value: ok


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