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

=== Config value:

    [{watchdog,<0.24849.0>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.124753187>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_roster_SUITE_data"},
     {preset,"riak_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@37839f4a29ed.2022-03-18_09.02.26/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-18_09.08.54/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@37839f4a29ed.2022-03-18_09.02.26/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-18_09.08.54/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@37839f4a29ed.2022-03-18_09.02.26"

=== Started at 2022-03-18 09:08:54


*** CT 2022-03-18 09:08:54.809 *** View log from node mongooseim@localhost when started mongooseim@localhost_875.html
*** CT 2022-03-18 09:08:54.809 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_480.html

*** User 2022-03-18 09:08:54.836 ***
alicE_subscribe_812@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 09:08:54.837 ***
alicE_subscribe_812@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='bc1aea205aa6f400' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 09:08:54.837 ***
alicE_subscribe_812@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 09:08:54.837 ***
alicE_subscribe_812@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV84MTIAbWF0eWdyeXNh</auth>



*** User 2022-03-18 09:08:54.839 ***
alicE_subscribe_812@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 09:08:54.839 ***
alicE_subscribe_812@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 09:08:54.840 ***
alicE_subscribe_812@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2b3def058a311bd0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 09:08:54.840 ***
alicE_subscribe_812@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 09:08:54.840 ***
alicE_subscribe_812@localhost/res1 out
<iq type='set' id='29168b458b5f981c5bd9ad30d631a623'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 09:08:54.840 ***
alicE_subscribe_812@localhost/res1 in
<iq id='29168b458b5f981c5bd9ad30d631a623' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_812@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 09:08:54.840 ***
alicE_subscribe_812@localhost/res1 out
<iq type='set' id='f429dafa2a1496b36017afb212e6bd77'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 09:08:54.840 ***
alicE_subscribe_812@localhost/res1 in
<iq type='result' id='f429dafa2a1496b36017afb212e6bd77'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 09:08:54.840 ***
alicE_subscribe_812@localhost/res1 out
<presence/>



*** User 2022-03-18 09:08:54.842 ***
alicE_subscribe_812@localhost/res1 in
<presence from='alicE_subscribe_812@localhost/res1' to='alice_subscribe_812@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 09:08:54.843 ***
bOb_subscribe_812@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 09:08:54.843 ***
bOb_subscribe_812@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='38a66786d672f2f1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 09:08:54.843 ***
bOb_subscribe_812@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 09:08:54.843 ***
bOb_subscribe_812@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfODEyAG1ha3JvbGlrYQ==</auth>



*** User 2022-03-18 09:08:54.845 ***
bOb_subscribe_812@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-18 09:08:54.845 ***
bOb_subscribe_812@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-18 09:08:54.845 ***
bOb_subscribe_812@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9ec180e81eacce22' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-18 09:08:54.845 ***
bOb_subscribe_812@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-03-18 09:08:54.845 ***
bOb_subscribe_812@localhost/res1 out
<iq type='set' id='81934bb62317d71f7cdef9bd73a06e0d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-18 09:08:54.846 ***
bOb_subscribe_812@localhost/res1 in
<iq id='81934bb62317d71f7cdef9bd73a06e0d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_812@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-18 09:08:54.846 ***
bOb_subscribe_812@localhost/res1 out
<iq type='set' id='18ba536ab450619b6af68025e6cbd406'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 09:08:54.846 ***
bOb_subscribe_812@localhost/res1 in
<iq type='result' id='18ba536ab450619b6af68025e6cbd406'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-18 09:08:54.846 ***
bOb_subscribe_812@localhost/res1 out
<presence/>



*** User 2022-03-18 09:08:54.848 ***
bOb_subscribe_812@localhost/res1 in
<presence from='bOb_subscribe_812@localhost/res1' to='bob_subscribe_812@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 09:08:54.848 ***
alicE_subscribe_812@localhost/res1 out
<iq type='set' id='2cbe58234f9210536d858d92b9756e72'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_812@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 09:08:54.851 ***
alicE_subscribe_812@localhost/res1 in
<iq from='alicE_subscribe_812@localhost' to='alicE_subscribe_812@localhost/res1' id='pushd5178f36904999b6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_812@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 09:08:54.851 ***
alicE_subscribe_812@localhost/res1 out
<iq to='alicE_subscribe_812@localhost' id='pushd5178f36904999b6' type='result'/>



*** User 2022-03-18 09:08:54.851 ***
alicE_subscribe_812@localhost/res1 in
<iq from='alicE_subscribe_812@localhost' to='alicE_subscribe_812@localhost/res1' id='2cbe58234f9210536d858d92b9756e72' type='result'/>



*** User 2022-03-18 09:08:54.851 ***
alicE_subscribe_812@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_812@localhost'/>



*** User 2022-03-18 09:08:54.857 ***
alicE_subscribe_812@localhost/res1 in
<iq from='alicE_subscribe_812@localhost' to='alicE_subscribe_812@localhost/res1' id='push4c4cd17dda461f96' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_812@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 09:08:54.857 ***
alicE_subscribe_812@localhost/res1 out
<iq to='alicE_subscribe_812@localhost' id='push4c4cd17dda461f96' type='result'/>



*** User 2022-03-18 09:08:54.857 ***
bOb_subscribe_812@localhost/res1 in
<presence from='alicE_subscribe_812@localhost' to='bOb_subscribe_812@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-18 09:08:54.857 ***
bOb_subscribe_812@localhost/res1 out
<iq type='set' id='ad4a1596cf8913f8ff7aac7e35929b15'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_subscribe_812@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 09:08:54.860 ***
bOb_subscribe_812@localhost/res1 in
<iq from='bOb_subscribe_812@localhost' to='bOb_subscribe_812@localhost/res1' id='pushda40b05423681c58' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_812@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 09:08:54.861 ***
bOb_subscribe_812@localhost/res1 out
<iq to='bOb_subscribe_812@localhost' id='pushda40b05423681c58' type='result'/>



*** User 2022-03-18 09:08:54.861 ***
bOb_subscribe_812@localhost/res1 in
<iq from='bOb_subscribe_812@localhost' to='bOb_subscribe_812@localhost/res1' id='ad4a1596cf8913f8ff7aac7e35929b15' type='result'/>



*** User 2022-03-18 09:08:54.861 ***
bOb_subscribe_812@localhost/res1 out
<presence type='subscribed' to='alicE_subscribe_812@localhost'/>



*** User 2022-03-18 09:08:54.867 ***
alicE_subscribe_812@localhost/res1 in
<iq from='alicE_subscribe_812@localhost' to='alicE_subscribe_812@localhost/res1' id='pushd115fd7ce5f99946' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_812@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 09:08:54.867 ***
alicE_subscribe_812@localhost/res1 in
<presence from='bOb_subscribe_812@localhost' to='alicE_subscribe_812@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-18 09:08:54.867 ***
alicE_subscribe_812@localhost/res1 in
<presence from='bOb_subscribe_812@localhost/res1' to='alice_subscribe_812@localhost/res1' xml:lang='en'/>



*** User 2022-03-18 09:08:54.867 ***
bOb_subscribe_812@localhost/res1 in
<iq from='bOb_subscribe_812@localhost' to='bOb_subscribe_812@localhost/res1' id='pushf76ee0d0fbcce446' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_812@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-18 09:08:54.868 ***
bOb_subscribe_812@localhost/res1 out
</stream:stream>

*** User 2022-03-18 09:08:54.869 ***
bOb_subscribe_812@localhost/res1 in
</stream:stream>

*** User 2022-03-18 09:08:54.869 ***
alicE_subscribe_812@localhost/res1 out
</stream:stream>

*** User 2022-03-18 09:08:54.869 ***
alicE_subscribe_812@localhost/res1 in
</stream:stream>
*** CT 2022-03-18 09:08:54.875 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_480.html
*** CT 2022-03-18 09:08:54.875 *** View log from node mongooseim@localhost when finished mongooseim@localhost_875.html



=== Ended at 2022-03-18 09:08:54
=== successfully completed test case
=== === Returned value: ok


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