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

=== Config value:

    [{watchdog,<0.63605.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@f41cbf1d623b.2024-04-15_16.46.00/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-15_16.57.43/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@f41cbf1d623b.2024-04-15_16.46.00/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-15_16.57.43/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@f41cbf1d623b.2024-04-15_16.46.00"

=== Started at 2024-04-15 16:57:44


*** CT 2024-04-15 16:57:44.280 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2326.html

*** User 2024-04-15 16:57:44.288 ***🔗
alicE_subscribe_2696@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:57:44.289 ***🔗
alicE_subscribe_2696@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='874bac45bfa72b6b' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-15 16:57:44.290 ***🔗
alicE_subscribe_2696@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:57:44.290 ***🔗
alicE_subscribe_2696@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0cb364c5d2476c18' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2696@localhost'>

*** User 2024-04-15 16:57:44.290 ***🔗
alicE_subscribe_2696@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:57:44.291 ***🔗
alicE_subscribe_2696@localhost/res1 out
<iq type='set' id='78a162f2f9b630cae032e313e0b2496a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-15 16:57:44.291 ***🔗
alicE_subscribe_2696@localhost/res1 in
<iq id='78a162f2f9b630cae032e313e0b2496a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2696@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:57:44.291 ***🔗
alice_subscribe_2696@localhost/res1 out
<iq type='set' id='0e11ddb38d0c866f301c366cee4395ee'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:57:44.291 ***🔗
alice_subscribe_2696@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2696@localhost/res1' id='0e11ddb38d0c866f301c366cee4395ee' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:57:44.291 ***🔗
alice_subscribe_2696@localhost/res1 out
<presence/>



*** User 2024-04-15 16:57:44.292 ***🔗
alice_subscribe_2696@localhost/res1 in
<presence from='alice_subscribe_2696@localhost/res1' to='alice_subscribe_2696@localhost/res1'/>



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

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



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



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

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



*** User 2024-04-15 16:57:44.295 ***🔗
bOb_subscribe_2696@localhost/res1 in
<iq id='1b1c7c196a205239036b670e94ca6e43' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2696@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-15 16:57:44.295 ***🔗
bob_subscribe_2696@localhost/res1 out
<iq type='set' id='2f288203db26af0aad499f701eacd2b5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:57:44.295 ***🔗
bob_subscribe_2696@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2696@localhost/res1' id='2f288203db26af0aad499f701eacd2b5' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-15 16:57:44.296 ***🔗
bob_subscribe_2696@localhost/res1 out
<presence/>



*** User 2024-04-15 16:57:44.296 ***🔗
bob_subscribe_2696@localhost/res1 in
<presence from='bob_subscribe_2696@localhost/res1' to='bob_subscribe_2696@localhost/res1'/>



*** User 2024-04-15 16:57:44.297 ***🔗
alice_subscribe_2696@localhost/res1 out
<iq type='set' id='a1df9d14df316656e13bcf402b49c9f9'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2696@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:57:44.299 ***🔗
alice_subscribe_2696@localhost/res1 in
<iq from='alice_subscribe_2696@localhost' to='alice_subscribe_2696@localhost/res1' id='push4e65d5e29b4b3c75' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2696@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:57:44.299 ***🔗
alice_subscribe_2696@localhost/res1 out
<iq to='alice_subscribe_2696@localhost' id='push4e65d5e29b4b3c75' type='result'/>



*** User 2024-04-15 16:57:44.299 ***🔗
alice_subscribe_2696@localhost/res1 in
<iq from='alice_subscribe_2696@localhost' to='alice_subscribe_2696@localhost/res1' id='a1df9d14df316656e13bcf402b49c9f9' type='result'/>



*** User 2024-04-15 16:57:44.299 ***🔗
alice_subscribe_2696@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2696@localhost'/>



*** User 2024-04-15 16:57:44.305 ***🔗
alice_subscribe_2696@localhost/res1 in
<iq from='alice_subscribe_2696@localhost' to='alice_subscribe_2696@localhost/res1' id='push8a04a0f22fe6b867' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2696@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:57:44.305 ***🔗
alice_subscribe_2696@localhost/res1 out
<iq to='alice_subscribe_2696@localhost' id='push8a04a0f22fe6b867' type='result'/>



*** User 2024-04-15 16:57:44.305 ***🔗
bob_subscribe_2696@localhost/res1 in
<presence from='alice_subscribe_2696@localhost' to='bob_subscribe_2696@localhost/res1' type='subscribe'/>



*** User 2024-04-15 16:57:44.305 ***🔗
bob_subscribe_2696@localhost/res1 out
<iq type='set' id='003051922ad8b8f4bdafbd072910702d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2696@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:57:44.309 ***🔗
bob_subscribe_2696@localhost/res1 in
<iq from='bob_subscribe_2696@localhost' to='bob_subscribe_2696@localhost/res1' id='push6119e55bcc6c0078' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2696@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:57:44.309 ***🔗
bob_subscribe_2696@localhost/res1 out
<iq to='bob_subscribe_2696@localhost' id='push6119e55bcc6c0078' type='result'/>



*** User 2024-04-15 16:57:44.309 ***🔗
bob_subscribe_2696@localhost/res1 in
<iq from='bob_subscribe_2696@localhost' to='bob_subscribe_2696@localhost/res1' id='003051922ad8b8f4bdafbd072910702d' type='result'/>



*** User 2024-04-15 16:57:44.309 ***🔗
bob_subscribe_2696@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2696@localhost'/>



*** User 2024-04-15 16:57:44.313 ***🔗
alice_subscribe_2696@localhost/res1 in
<iq from='alice_subscribe_2696@localhost' to='alice_subscribe_2696@localhost/res1' id='pushe926650bba053ca9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2696@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:57:44.313 ***🔗
alice_subscribe_2696@localhost/res1 in
<presence from='bob_subscribe_2696@localhost' to='alice_subscribe_2696@localhost/res1' type='subscribed'/>



*** User 2024-04-15 16:57:44.313 ***🔗
alice_subscribe_2696@localhost/res1 in
<presence from='bob_subscribe_2696@localhost/res1' to='alice_subscribe_2696@localhost/res1'/>



*** User 2024-04-15 16:57:44.313 ***🔗
bob_subscribe_2696@localhost/res1 in
<iq from='bob_subscribe_2696@localhost' to='bob_subscribe_2696@localhost/res1' id='push9a9b533e343e08c6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2696@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-15 16:57:44.314 ***🔗
bob_subscribe_2696@localhost/res1 out
</stream:stream>

*** User 2024-04-15 16:57:44.315 ***🔗
bob_subscribe_2696@localhost/res1 in
</stream:stream>

*** User 2024-04-15 16:57:44.315 ***🔗
alice_subscribe_2696@localhost/res1 out
</stream:stream>

*** User 2024-04-15 16:57:44.315 ***🔗
alice_subscribe_2696@localhost/res1 in
</stream:stream>
*** CT 2024-04-15 16:57:44.322 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2326.html



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


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