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

=== Config value:

    [{watchdog,<0.13412.1>},
     {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,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.metrics_roster_SUITE.logs/run.2022-01-25_16.27.39/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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.metrics_roster_SUITE.logs/run.2022-01-25_16.27.39/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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:27:39


*** CT 2022-01-25 16:27:39.714 *** View log from node mongooseim@localhost when started mongooseim@localhost_1824.html
*** CT 2022-01-25 16:27:39.714 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_612.html

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

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



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



*** User 2022-01-25 16:27:39.721 ***
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-25 16:27:39.722 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8396fcf90780c31b' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:39.722 ***
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-25 16:27:39.722 ***
alicE@localhost/res1 out
<iq type='set' id='96d917fc62a118888eb91548fd1c42c4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:27:39.722 ***
alicE@localhost/res1 in
<iq id='96d917fc62a118888eb91548fd1c42c4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:27:39.722 ***
alicE@localhost/res1 out
<iq type='set' id='ba34d19083146507be4e89d417f423a4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:39.723 ***
alicE@localhost/res1 in
<iq type='result' id='ba34d19083146507be4e89d417f423a4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:39.723 ***
alicE@localhost/res1 out
<presence/>



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



*** User 2022-01-25 16:27:39.725 ***
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-25 16:27:39.726 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5f206565c9cbb9eb' from='localhost' version='1.0' xml:lang='en'>

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



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



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

*** User 2022-01-25 16:27:39.728 ***
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-25 16:27:39.728 ***
bOb@localhost/res1 out
<iq type='set' id='f5c42fb646f3054c39fa4f3090bc14f6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:27:39.728 ***
bOb@localhost/res1 in
<iq id='f5c42fb646f3054c39fa4f3090bc14f6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:27:39.729 ***
bOb@localhost/res1 out
<iq type='set' id='d7910ad0386862d67f142a37a4c0c51b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:39.729 ***
bOb@localhost/res1 in
<iq type='result' id='d7910ad0386862d67f142a37a4c0c51b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:39.729 ***
bOb@localhost/res1 out
<presence/>



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



*** User 2022-01-25 16:27:39.731 ***
alicE@localhost/res1 out
<iq type='set' id='54c1bf3310b1fc5d240a53ea301d31c0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:27:39.738 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push413e12722304df68' 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-01-25 16:27:39.738 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='push413e12722304df68' type='result'/>



*** User 2022-01-25 16:27:39.739 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='54c1bf3310b1fc5d240a53ea301d31c0' type='result'/>



*** User 2022-01-25 16:27:39.739 ***
alicE@localhost/res1 out
<presence type='subscribe' to='bOb@localhost'/>



*** User 2022-01-25 16:27:39.747 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push10199f3f03974564' 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-01-25 16:27:39.747 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='push10199f3f03974564' type='result'/>



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



*** User 2022-01-25 16:27:39.747 ***
bOb@localhost/res1 out
<iq type='set' id='7fba26baeb2432bc7f12d15b6cbc6676'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



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



*** User 2022-01-25 16:27:39.752 ***
bOb@localhost/res1 out
<iq to='bOb@localhost' id='push5250b8cdac4be7a6' type='result'/>



*** User 2022-01-25 16:27:39.752 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='7fba26baeb2432bc7f12d15b6cbc6676' type='result'/>



*** User 2022-01-25 16:27:39.752 ***
bOb@localhost/res1 out
<presence type='subscribed' to='alicE@localhost'/>



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



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



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



*** User 2022-01-25 16:27:39.763 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:27:39.763 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:27:39.763 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:27:39.764 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:27:39.783 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_612.html
*** CT 2022-01-25 16:27:39.784 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1824.html



=== Ended at 2022-01-25 16:27:39
=== successfully completed test case
=== === Returned value: ok


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