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

=== Config value:

    [{watchdog,<0.49125.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,"internal_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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_10.23.40/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@6b87bb397ec6.2024-04-16_10.12.53/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_10.23.40/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@6b87bb397ec6.2024-04-16_10.12.53"

=== Started at 2024-04-16 10:23:41


*** CT 2024-04-16 10:23:41.185 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1814.html

*** User 2024-04-16 10:23:41.192 ***🔗
alicE_subscribe_1806@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-16 10:23:41.193 ***🔗
alicE_subscribe_1806@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b016abd94136425b' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:23:41.193 ***🔗
alicE_subscribe_1806@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-16 10:23:41.193 ***🔗
alicE_subscribe_1806@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8xODA2AG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 10:23:41.193 ***🔗
alicE_subscribe_1806@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:23:41.193 ***🔗
alicE_subscribe_1806@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-16 10:23:41.194 ***🔗
alicE_subscribe_1806@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b48e2c3721e70eb9' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_1806@localhost'>

*** User 2024-04-16 10:23:41.194 ***🔗
alicE_subscribe_1806@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-16 10:23:41.194 ***🔗
alicE_subscribe_1806@localhost/res1 out
<iq type='set' id='5f7c6ab4cc5df45588578d5d6869bb2c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:23:41.194 ***🔗
alicE_subscribe_1806@localhost/res1 in
<iq id='5f7c6ab4cc5df45588578d5d6869bb2c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_1806@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:23:41.194 ***🔗
alice_subscribe_1806@localhost/res1 out
<iq type='set' id='dae41db88efed25190d4aaf933e1079e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:23:41.195 ***🔗
alice_subscribe_1806@localhost/res1 in
<iq from='localhost' to='alice_subscribe_1806@localhost/res1' id='dae41db88efed25190d4aaf933e1079e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:23:41.195 ***🔗
alice_subscribe_1806@localhost/res1 out
<presence/>



*** User 2024-04-16 10:23:41.196 ***🔗
alice_subscribe_1806@localhost/res1 in
<presence from='alice_subscribe_1806@localhost/res1' to='alice_subscribe_1806@localhost/res1'/>



*** User 2024-04-16 10:23:41.196 ***🔗
bOb_subscribe_1806@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-16 10:23:41.197 ***🔗
bOb_subscribe_1806@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0c10fd48fba5c4b2' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:23:41.197 ***🔗
bOb_subscribe_1806@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-16 10:23:41.197 ***🔗
bOb_subscribe_1806@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMTgwNgBtYWtyb2xpa2E=</auth>



*** User 2024-04-16 10:23:41.197 ***🔗
bOb_subscribe_1806@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:23:41.198 ***🔗
bOb_subscribe_1806@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-16 10:23:41.198 ***🔗
bOb_subscribe_1806@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='73f202ac2d93eac8' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_1806@localhost'>

*** User 2024-04-16 10:23:41.198 ***🔗
bOb_subscribe_1806@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-16 10:23:41.198 ***🔗
bOb_subscribe_1806@localhost/res1 out
<iq type='set' id='9e3cfd2275cbd5251c4b8e548776df20'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:23:41.198 ***🔗
bOb_subscribe_1806@localhost/res1 in
<iq id='9e3cfd2275cbd5251c4b8e548776df20' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_1806@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:23:41.199 ***🔗
bob_subscribe_1806@localhost/res1 out
<iq type='set' id='159e453c5844c0ada7dda504f892b472'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:23:41.199 ***🔗
bob_subscribe_1806@localhost/res1 in
<iq from='localhost' to='bob_subscribe_1806@localhost/res1' id='159e453c5844c0ada7dda504f892b472' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:23:41.199 ***🔗
bob_subscribe_1806@localhost/res1 out
<presence/>



*** User 2024-04-16 10:23:41.200 ***🔗
bob_subscribe_1806@localhost/res1 in
<presence from='bob_subscribe_1806@localhost/res1' to='bob_subscribe_1806@localhost/res1'/>



*** User 2024-04-16 10:23:41.200 ***🔗
alice_subscribe_1806@localhost/res1 out
<iq type='set' id='a15529843b33fb0ab710caebd4b9d4c2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_1806@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:41.201 ***🔗
alice_subscribe_1806@localhost/res1 in
<iq from='alice_subscribe_1806@localhost' to='alice_subscribe_1806@localhost/res1' id='pushd541e496522b08ba' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_1806@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:41.201 ***🔗
alice_subscribe_1806@localhost/res1 out
<iq to='alice_subscribe_1806@localhost' id='pushd541e496522b08ba' type='result'/>



*** User 2024-04-16 10:23:41.201 ***🔗
alice_subscribe_1806@localhost/res1 in
<iq from='alice_subscribe_1806@localhost' to='alice_subscribe_1806@localhost/res1' id='a15529843b33fb0ab710caebd4b9d4c2' type='result'/>



*** User 2024-04-16 10:23:41.201 ***🔗
alice_subscribe_1806@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_1806@localhost'/>



*** User 2024-04-16 10:23:41.202 ***🔗
alice_subscribe_1806@localhost/res1 in
<iq from='alice_subscribe_1806@localhost' to='alice_subscribe_1806@localhost/res1' id='push0f62663b8597da10' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_1806@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:41.202 ***🔗
alice_subscribe_1806@localhost/res1 out
<iq to='alice_subscribe_1806@localhost' id='push0f62663b8597da10' type='result'/>



*** User 2024-04-16 10:23:41.202 ***🔗
bob_subscribe_1806@localhost/res1 in
<presence from='alice_subscribe_1806@localhost' to='bob_subscribe_1806@localhost/res1' type='subscribe'/>



*** User 2024-04-16 10:23:41.203 ***🔗
bob_subscribe_1806@localhost/res1 out
<iq type='set' id='05d87d87ebc0b79a7e4aa2c5b69b4010'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_1806@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:41.203 ***🔗
bob_subscribe_1806@localhost/res1 in
<iq from='bob_subscribe_1806@localhost' to='bob_subscribe_1806@localhost/res1' id='push6791261ad722d515' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_1806@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:41.203 ***🔗
bob_subscribe_1806@localhost/res1 out
<iq to='bob_subscribe_1806@localhost' id='push6791261ad722d515' type='result'/>



*** User 2024-04-16 10:23:41.204 ***🔗
bob_subscribe_1806@localhost/res1 in
<iq from='bob_subscribe_1806@localhost' to='bob_subscribe_1806@localhost/res1' id='05d87d87ebc0b79a7e4aa2c5b69b4010' type='result'/>



*** User 2024-04-16 10:23:41.204 ***🔗
bob_subscribe_1806@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_1806@localhost'/>



*** User 2024-04-16 10:23:41.205 ***🔗
alice_subscribe_1806@localhost/res1 in
<iq from='alice_subscribe_1806@localhost' to='alice_subscribe_1806@localhost/res1' id='pushe9090b165e0981a7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_1806@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:41.205 ***🔗
alice_subscribe_1806@localhost/res1 in
<presence from='bob_subscribe_1806@localhost' to='alice_subscribe_1806@localhost/res1' type='subscribed'/>



*** User 2024-04-16 10:23:41.205 ***🔗
alice_subscribe_1806@localhost/res1 in
<presence from='bob_subscribe_1806@localhost/res1' to='alice_subscribe_1806@localhost/res1'/>



*** User 2024-04-16 10:23:41.205 ***🔗
bob_subscribe_1806@localhost/res1 in
<iq from='bob_subscribe_1806@localhost' to='bob_subscribe_1806@localhost/res1' id='push20b500a337114b48' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_1806@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:41.206 ***🔗
bob_subscribe_1806@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:23:41.207 ***🔗
bob_subscribe_1806@localhost/res1 in
</stream:stream>

*** User 2024-04-16 10:23:41.207 ***🔗
alice_subscribe_1806@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:23:41.207 ***🔗
alice_subscribe_1806@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 10:23:41.211 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1814.html



=== Ended at 2024-04-16 10:23:41
=== successfully completed test case
=== === Returned value: ok


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