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

=== Config value:

    [{watchdog,<0.19407.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,"internal_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.metrics_roster_SUITE.logs/run.2022-01-27_15.28.28/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@34a9b6d2516c.2022-01-27_15.25.07/big_tests.tests.metrics_roster_SUITE.logs/run.2022-01-27_15.28.28/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@34a9b6d2516c.2022-01-27_15.25.07"

=== Started at 2022-01-27 15:28:28


*** CT 2022-01-27 15:28:28.759 *** View log from node mongooseim@localhost when started mongooseim@localhost_901.html
*** CT 2022-01-27 15:28:28.761 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_613.html

*** User 2022-01-27 15:28:28.768 ***
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-01-27 15:28:28.769 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='948aba01f80353e4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:28:28.769 ***
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>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-01-27 15:28:28.769 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-27 15:28:28.769 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:28:28.770 ***
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-01-27 15:28:28.770 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d221c265a73d41b3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:28:28.770 ***
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-01-27 15:28:28.770 ***
alicE@localhost/res1 out
<iq type='set' id='4b128d0f4dbf54a20f32a97d78816ae1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:28:28.770 ***
alicE@localhost/res1 in
<iq id='4b128d0f4dbf54a20f32a97d78816ae1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:28:28.770 ***
alicE@localhost/res1 out
<iq type='set' id='92a190117ff9cd1b4e724f2d9495b8ac'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:28:28.771 ***
alicE@localhost/res1 in
<iq type='result' id='92a190117ff9cd1b4e724f2d9495b8ac'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:28:28.771 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-01-27 15:28:28.771 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:28:28.772 ***
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-01-27 15:28:28.772 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cb86712b08aa76ff' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:28:28.772 ***
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>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-01-27 15:28:28.772 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-27 15:28:28.773 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-27 15:28:28.773 ***
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-01-27 15:28:28.773 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='aad16d2c11efa5b1' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-27 15:28:28.773 ***
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-01-27 15:28:28.773 ***
bOb@localhost/res1 out
<iq type='set' id='8ff0eb75205ec14c89de7249231aee4d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-27 15:28:28.773 ***
bOb@localhost/res1 in
<iq id='8ff0eb75205ec14c89de7249231aee4d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-27 15:28:28.773 ***
bOb@localhost/res1 out
<iq type='set' id='d4a58a4d7f0d3359db14caf649bf1c5d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:28:28.774 ***
bOb@localhost/res1 in
<iq type='result' id='d4a58a4d7f0d3359db14caf649bf1c5d'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-27 15:28:28.774 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-01-27 15:28:28.774 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:28:28.774 ***
alicE@localhost/res1 out
<iq type='set' id='af1412700545bd5a6e56b60348fab8ad'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:28:28.775 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push7eacd8ac2592e8b4' 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-01-27 15:28:28.775 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='push7eacd8ac2592e8b4' type='result'/>



*** User 2022-01-27 15:28:28.775 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='af1412700545bd5a6e56b60348fab8ad' type='result'/>



*** User 2022-01-27 15:28:28.775 ***
alicE@localhost/res1 out
<presence type='subscribe' to='bOb@localhost'/>



*** User 2022-01-27 15:28:28.776 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='pushdffb20364b2951c6' 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-01-27 15:28:28.776 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='pushdffb20364b2951c6' type='result'/>



*** User 2022-01-27 15:28:28.776 ***
bOb@localhost/res1 in
<presence from='alicE@localhost' to='bOb@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-27 15:28:28.776 ***
bOb@localhost/res1 out
<iq type='set' id='0a9cd20a05124f64c7ab9cd8d479b3b8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:28:28.777 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='push6d780de4dbdc83d0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:28:28.777 ***
bOb@localhost/res1 out
<iq to='bOb@localhost' id='push6d780de4dbdc83d0' type='result'/>



*** User 2022-01-27 15:28:28.777 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='0a9cd20a05124f64c7ab9cd8d479b3b8' type='result'/>



*** User 2022-01-27 15:28:28.777 ***
bOb@localhost/res1 out
<presence type='subscribed' to='alicE@localhost'/>



*** User 2022-01-27 15:28:28.778 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push99f0fa2f7048caef' 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-01-27 15:28:28.778 ***
alicE@localhost/res1 in
<presence from='bOb@localhost' to='alicE@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-27 15:28:28.778 ***
alicE@localhost/res1 in
<presence from='bOb@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-27 15:28:28.778 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='pushf21e36570aa21857' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-27 15:28:28.780 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:28:28.780 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-01-27 15:28:28.780 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-01-27 15:28:28.780 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-27 15:28:28.783 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_613.html
*** CT 2022-01-27 15:28:28.783 *** View log from node mongooseim@localhost when finished mongooseim@localhost_901.html



=== Ended at 2022-01-27 15:28:28
=== successfully completed test case
=== === Returned value: ok


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