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

=== Config value:

    [{watchdog,<0.15832.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.131448507>,
                         [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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-04_11.21.17/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@43f5552376e6.2022-03-04_11.16.18/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-04_11.21.17/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@43f5552376e6.2022-03-04_11.16.18"

=== Started at 2022-03-04 11:21:17


*** CT 2022-03-04 11:21:17.614 *** View log from node mongooseim@localhost when started mongooseim@localhost_1919.html
*** CT 2022-03-04 11:21:17.615 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_594.html

*** User 2022-03-04 11:21:17.619 ***
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-04 11:21:17.620 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='27fb6898fd339131' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-03-04 11:21:17.621 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:21:17.621 ***
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-04 11:21:17.622 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='28f8ef06f4a890ae' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:21:17.622 ***
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-04 11:21:17.622 ***
alicE@localhost/res1 out
<iq type='set' id='e0c545447a0d57e395b092d565f3373c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:21:17.622 ***
alicE@localhost/res1 in
<iq id='e0c545447a0d57e395b092d565f3373c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:21:17.622 ***
alicE@localhost/res1 out
<iq type='set' id='56e32ff3131fabe28e751e2276f291a5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:21:17.622 ***
alicE@localhost/res1 in
<iq type='result' id='56e32ff3131fabe28e751e2276f291a5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:21:17.622 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-03-04 11:21:17.623 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:21:17.624 ***
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-04 11:21:17.625 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='be417c1d222e4a1c' from='localhost' version='1.0' xml:lang='en'>

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



*** User 2022-03-04 11:21:17.626 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



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

*** User 2022-03-04 11:21:17.626 ***
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-04 11:21:17.626 ***
bOb@localhost/res1 out
<iq type='set' id='e23d1683bd4c559c2c2936053173378c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:21:17.627 ***
bOb@localhost/res1 in
<iq id='e23d1683bd4c559c2c2936053173378c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:21:17.627 ***
bOb@localhost/res1 out
<iq type='set' id='b55a05af7c0e46cfad0bf6a56e536d0e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:21:17.627 ***
bOb@localhost/res1 in
<iq type='result' id='b55a05af7c0e46cfad0bf6a56e536d0e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:21:17.627 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-03-04 11:21:17.628 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:21:17.628 ***
alicE@localhost/res1 out
<iq type='set' id='b980d4814829662e050b7c02ed13ea4c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



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



*** User 2022-03-04 11:21:17.630 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='pushd6712268e7086597' type='result'/>



*** User 2022-03-04 11:21:17.630 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='b980d4814829662e050b7c02ed13ea4c' type='result'/>



*** User 2022-03-04 11:21:17.630 ***
alicE@localhost/res1 out
<presence type='subscribe' to='bOb@localhost'/>



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



*** User 2022-03-04 11:21:17.633 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='push4d7cc48411d393be' type='result'/>



*** User 2022-03-04 11:21:17.634 ***
bOb@localhost/res1 in
<presence from='alicE@localhost' to='bOb@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-04 11:21:17.634 ***
bOb@localhost/res1 out
<iq type='set' id='57b3be861d878d2ecf09c23ebcbd9ea8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:17.636 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='push5ab6e7b05cf32cbe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:17.636 ***
bOb@localhost/res1 out
<iq to='bOb@localhost' id='push5ab6e7b05cf32cbe' type='result'/>



*** User 2022-03-04 11:21:17.636 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='57b3be861d878d2ecf09c23ebcbd9ea8' type='result'/>



*** User 2022-03-04 11:21:17.636 ***
bOb@localhost/res1 out
<presence type='subscribed' to='alicE@localhost'/>



*** User 2022-03-04 11:21:17.639 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='pushe52d0dd348c68491' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:17.639 ***
alicE@localhost/res1 in
<presence from='bOb@localhost' to='alicE@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-04 11:21:17.639 ***
alicE@localhost/res1 in
<presence from='bOb@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-03-04 11:21:17.639 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='push9489a97c411c9c71' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-03-04 11:21:17.641 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:21:17.641 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-03-04 11:21:17.641 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-03-04 11:21:17.641 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-03-04 11:21:17.646 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_594.html
*** CT 2022-03-04 11:21:17.646 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1919.html



=== Ended at 2022-03-04 11:21:17
=== successfully completed test case
=== === Returned value: ok


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