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

=== Config value:

    [{watchdog,<0.12580.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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-04_11.21.43/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@88d84ff17c71.2022-03-04_11.16.52/big_tests.tests.metrics_roster_SUITE.logs/run.2022-03-04_11.21.43/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@88d84ff17c71.2022-03-04_11.16.52"

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


*** CT 2022-03-04 11:21:44.209 *** View log from node mongooseim@localhost when started mongooseim@localhost_1895.html
*** CT 2022-03-04 11:21:44.209 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_529.html

*** User 2022-03-04 11:21:44.213 ***
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:21:44.213 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2fb67961db9dd632' from='domain.example.com' version='1.0' xml:lang='en'>

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



*** User 2022-03-04 11:21:44.214 ***
alicE@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:21:44.214 ***
alicE@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:21:44.215 ***
alicE@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2e763be68bd58494' from='domain.example.com' version='1.0' xml:lang='en'>

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



*** User 2022-03-04 11:21:44.215 ***
alicE@domain.example.com/res1 in
<iq id='ad91dfb93e139dcbcf105bd1fd55820d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:21:44.215 ***
alicE@domain.example.com/res1 out
<iq type='set' id='17016e8de86ee671a6b29904ad9ad7f0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:21:44.215 ***
alicE@domain.example.com/res1 in
<iq type='result' id='17016e8de86ee671a6b29904ad9ad7f0'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:21:44.215 ***
alicE@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:21:44.217 ***
alicE@domain.example.com/res1 in
<presence from='alicE@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:21:44.217 ***
bOb@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:21:44.217 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3e422d1f3177f409' from='domain.example.com' version='1.0' xml:lang='en'>

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



*** User 2022-03-04 11:21:44.218 ***
bOb@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-03-04 11:21:44.218 ***
bOb@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-03-04 11:21:44.218 ***
bOb@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cf54301802f186ff' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-03-04 11:21:44.218 ***
bOb@domain.example.com/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:44.219 ***
bOb@domain.example.com/res1 out
<iq type='set' id='24e84d9493477c29f2678ce199cf3650'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-03-04 11:21:44.219 ***
bOb@domain.example.com/res1 in
<iq id='24e84d9493477c29f2678ce199cf3650' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-03-04 11:21:44.219 ***
bOb@domain.example.com/res1 out
<iq type='set' id='d4985a7ba351d8a8d755bf3be952fcce'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:21:44.219 ***
bOb@domain.example.com/res1 in
<iq type='result' id='d4985a7ba351d8a8d755bf3be952fcce'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-03-04 11:21:44.219 ***
bOb@domain.example.com/res1 out
<presence/>



*** User 2022-03-04 11:21:44.220 ***
bOb@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='bob@domain.example.com/res1' xml:lang='en'/>



*** User 2022-03-04 11:21:44.220 ***
alicE@domain.example.com/res1 out
<iq type='set' id='6011aad22da18c4523ffb093aca17c76'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



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



*** User 2022-03-04 11:21:44.224 ***
alicE@domain.example.com/res1 out
<iq to='alicE@domain.example.com' id='pushc06aaacbacb89268' type='result'/>



*** User 2022-03-04 11:21:44.224 ***
alicE@domain.example.com/res1 in
<iq from='alicE@domain.example.com' to='alicE@domain.example.com/res1' id='6011aad22da18c4523ffb093aca17c76' type='result'/>



*** User 2022-03-04 11:21:44.224 ***
alicE@domain.example.com/res1 out
<presence type='subscribe' to='bOb@domain.example.com'/>



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



*** User 2022-03-04 11:21:44.228 ***
alicE@domain.example.com/res1 out
<iq to='alicE@domain.example.com' id='pushfed599d69ad1717c' type='result'/>



*** User 2022-03-04 11:21:44.228 ***
bOb@domain.example.com/res1 in
<presence from='alicE@domain.example.com' to='bOb@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-03-04 11:21:44.228 ***
bOb@domain.example.com/res1 out
<iq type='set' id='76e73d65cdfcf0105d8f365363f7232d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



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



*** User 2022-03-04 11:21:44.231 ***
bOb@domain.example.com/res1 out
<iq to='bOb@domain.example.com' id='pushd2fc5fb6d0e52f9d' type='result'/>



*** User 2022-03-04 11:21:44.231 ***
bOb@domain.example.com/res1 in
<iq from='bOb@domain.example.com' to='bOb@domain.example.com/res1' id='76e73d65cdfcf0105d8f365363f7232d' type='result'/>



*** User 2022-03-04 11:21:44.231 ***
bOb@domain.example.com/res1 out
<presence type='subscribed' to='alicE@domain.example.com'/>



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



*** User 2022-03-04 11:21:44.237 ***
alicE@domain.example.com/res1 in
<presence from='bOb@domain.example.com' to='alicE@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-03-04 11:21:44.237 ***
alicE@domain.example.com/res1 in
<presence from='bOb@domain.example.com/res1' to='alice@domain.example.com/res1' xml:lang='en'/>



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



*** User 2022-03-04 11:21:44.238 ***
bOb@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:21:44.238 ***
bOb@domain.example.com/res1 in
</stream:stream>

*** User 2022-03-04 11:21:44.238 ***
alicE@domain.example.com/res1 out
</stream:stream>

*** User 2022-03-04 11:21:44.238 ***
alicE@domain.example.com/res1 in
</stream:stream>
*** CT 2022-03-04 11:21:44.247 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_529.html
*** CT 2022-03-04 11:21:44.248 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1895.html



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


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