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

=== Config value:

    [{watchdog,<0.20424.0>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.113763633>,
                         [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,"ldap_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-03_10.31.37/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@12130b74fc81.2022-03-03_10.28.39/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-03_10.31.37/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@12130b74fc81.2022-03-03_10.28.39"

=== Started at 2022-03-03 10:31:38


*** CT 2022-03-03 10:31:38.046 *** View log from node mongooseim@localhost when started mongooseim@localhost_939.html
*** CT 2022-03-03 10:31:38.047 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_616.html

*** User 2022-03-03 10:31:38.050 ***
alicE@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-03 10:31:38.051 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c6b6125c2a0fcc89' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:31:38.051 ***
alicE@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>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-03 10:31:38.051 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-03-03 10:31:38.052 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:31:38.052 ***
alicE@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-03 10:31:38.053 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a6c0b1a4567028a6' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:31:38.053 ***
alicE@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-03 10:31:38.053 ***
alicE@localhost/res1 out
<iq type='set' id='a5567711aafdfef34c61f8fe5823e8a1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:31:38.053 ***
alicE@localhost/res1 in
<iq id='a5567711aafdfef34c61f8fe5823e8a1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:31:38.053 ***
alicE@localhost/res1 out
<iq type='set' id='7fc7663fe4f21cb1d0fdfbe78ce1f447'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:31:38.053 ***
alicE@localhost/res1 in
<iq type='result' id='7fc7663fe4f21cb1d0fdfbe78ce1f447'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:31:38.054 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-03-03 10:31:38.054 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:31:38.055 ***
bOb@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-03 10:31:38.055 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='de3f5847df626996' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:31:38.055 ***
bOb@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>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-03 10:31:38.056 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-03-03 10:31:38.057 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-03 10:31:38.057 ***
bOb@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-03 10:31:38.057 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='924b0c4dedbd9387' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-03 10:31:38.057 ***
bOb@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-03 10:31:38.058 ***
bOb@localhost/res1 out
<iq type='set' id='d61ec625d053dc32b39fa0420fedab2e'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-03 10:31:38.058 ***
bOb@localhost/res1 in
<iq id='d61ec625d053dc32b39fa0420fedab2e' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-03 10:31:38.058 ***
bOb@localhost/res1 out
<iq type='set' id='e9c57420fef28f518865d065345eee40'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:31:38.058 ***
bOb@localhost/res1 in
<iq type='result' id='e9c57420fef28f518865d065345eee40'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-03 10:31:38.058 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-03-03 10:31:38.059 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:31:38.059 ***
alicE@localhost/res1 out
<iq type='set' id='7f2d2fd8b126b638e50c900532856df2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:31:38.060 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push77560bf859f4f32f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob@localhost'>
			<group>friends</group>
			<group>friends</group>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:31:38.060 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='push77560bf859f4f32f' type='result'/>



*** User 2022-03-03 10:31:38.061 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='7f2d2fd8b126b638e50c900532856df2' type='result'/>



*** User 2022-03-03 10:31:38.061 ***
alicE@localhost/res1 out
<presence type='subscribe' to='bOb@localhost'/>



*** User 2022-03-03 10:31:38.063 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push5d8826d2a1dcec2d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob@localhost'>
			<group>friends</group>
			<group>friends</group>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:31:38.063 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='push5d8826d2a1dcec2d' type='result'/>



*** User 2022-03-03 10:31:38.063 ***
bOb@localhost/res1 in
<presence from='alicE@localhost' to='bOb@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-03 10:31:38.063 ***
bOb@localhost/res1 out
<iq type='set' id='dd902d47a3c8a3b505b9776e1aee677f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:31:38.064 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='push06821640726471d5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:31:38.064 ***
bOb@localhost/res1 out
<iq to='bOb@localhost' id='push06821640726471d5' type='result'/>



*** User 2022-03-03 10:31:38.064 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='dd902d47a3c8a3b505b9776e1aee677f' type='result'/>



*** User 2022-03-03 10:31:38.064 ***
bOb@localhost/res1 out
<presence type='subscribed' to='alicE@localhost'/>



*** User 2022-03-03 10:31:38.066 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='pushf9d71f0e83fc22ac' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob@localhost'>
			<group>friends</group>
			<group>friends</group>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:31:38.066 ***
alicE@localhost/res1 in
<presence from='bOb@localhost' to='alicE@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-03 10:31:38.066 ***
alicE@localhost/res1 in
<presence from='bOb@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-03 10:31:38.066 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='pusheabd7f377b198093' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-03 10:31:38.067 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:31:38.067 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-03 10:31:38.068 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-03 10:31:38.068 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-03 10:31:38.070 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_616.html
*** CT 2022-03-03 10:31:38.071 *** View log from node mongooseim@localhost when finished mongooseim@localhost_939.html



=== Ended at 2022-03-03 10:31:38
=== successfully completed test case
=== === Returned value: ok


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