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

=== Config value:

    [{watchdog,<0.18178.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.50612365>,
                         [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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-18_10.04.46/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@a4fd8d8e9aae.2022-05-18_09.59.33/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-18_10.04.46/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@a4fd8d8e9aae.2022-05-18_09.59.33"

=== Started at 2022-05-18 10:04:46


*** CT 2022-05-18 10:04:46.589 *** View log from node mongooseim@localhost when started mongooseim@localhost_1838.html
*** CT 2022-05-18 10:04:46.589 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_430.html

*** User 2022-05-18 10:04:46.595 ***
alicE_subscribe_1599@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-05-18 10:04:46.596 ***
alicE_subscribe_1599@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cd319144a93ddebb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:04:46.596 ***
alicE_subscribe_1599@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-05-18 10:04:46.596 ***
alicE_subscribe_1599@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8xNTk5AG1hdHlncnlzYQ==</auth>



*** User 2022-05-18 10:04:46.597 ***
alicE_subscribe_1599@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:04:46.597 ***
alicE_subscribe_1599@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-05-18 10:04:46.597 ***
alicE_subscribe_1599@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e5f1ce7e7e4db627' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:04:46.597 ***
alicE_subscribe_1599@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-05-18 10:04:46.597 ***
alicE_subscribe_1599@domain.example.com/res1 out
<iq type='set' id='85e9d1c7f2d0b1d853c73c4dfc7159ab'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:04:46.597 ***
alicE_subscribe_1599@domain.example.com/res1 in
<iq id='85e9d1c7f2d0b1d853c73c4dfc7159ab' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_1599@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:04:46.598 ***
alice_subscribe_1599@domain.example.com/res1 out
<iq type='set' id='3f20679f7e30a0f103183fe899dff2ae'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:04:46.598 ***
alice_subscribe_1599@domain.example.com/res1 in
<iq type='result' id='3f20679f7e30a0f103183fe899dff2ae'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:04:46.598 ***
alice_subscribe_1599@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:04:46.599 ***
alice_subscribe_1599@domain.example.com/res1 in
<presence from='alice_subscribe_1599@domain.example.com/res1' to='alice_subscribe_1599@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:04:46.599 ***
bOb_subscribe_1599@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-05-18 10:04:46.600 ***
bOb_subscribe_1599@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='95d5a974b5d9c283' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:04:46.600 ***
bOb_subscribe_1599@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-05-18 10:04:46.600 ***
bOb_subscribe_1599@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMTU5OQBtYWtyb2xpa2E=</auth>



*** User 2022-05-18 10:04:46.600 ***
bOb_subscribe_1599@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-18 10:04:46.600 ***
bOb_subscribe_1599@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-05-18 10:04:46.601 ***
bOb_subscribe_1599@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e100ac094fa9a51e' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2022-05-18 10:04:46.601 ***
bOb_subscribe_1599@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-05-18 10:04:46.601 ***
bOb_subscribe_1599@domain.example.com/res1 out
<iq type='set' id='d52db9c9351fdfa605991aaf1b160f5f'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-18 10:04:46.601 ***
bOb_subscribe_1599@domain.example.com/res1 in
<iq id='d52db9c9351fdfa605991aaf1b160f5f' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_1599@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2022-05-18 10:04:46.601 ***
bob_subscribe_1599@domain.example.com/res1 out
<iq type='set' id='c302976b6e64c35e0ba9168f874502b8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:04:46.601 ***
bob_subscribe_1599@domain.example.com/res1 in
<iq type='result' id='c302976b6e64c35e0ba9168f874502b8'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-18 10:04:46.601 ***
bob_subscribe_1599@domain.example.com/res1 out
<presence/>



*** User 2022-05-18 10:04:46.603 ***
bob_subscribe_1599@domain.example.com/res1 in
<presence from='bob_subscribe_1599@domain.example.com/res1' to='bob_subscribe_1599@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:04:46.603 ***
alice_subscribe_1599@domain.example.com/res1 out
<iq type='set' id='3fddcae491be0bfba6242f3f10bbc72a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_1599@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:04:46.605 ***
alice_subscribe_1599@domain.example.com/res1 in
<iq from='alice_subscribe_1599@domain.example.com' to='alice_subscribe_1599@domain.example.com/res1' id='push6db42ae795827f0b' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_1599@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:04:46.605 ***
alice_subscribe_1599@domain.example.com/res1 out
<iq to='alice_subscribe_1599@domain.example.com' id='push6db42ae795827f0b' type='result'/>



*** User 2022-05-18 10:04:46.605 ***
alice_subscribe_1599@domain.example.com/res1 in
<iq from='alice_subscribe_1599@domain.example.com' to='alice_subscribe_1599@domain.example.com/res1' id='3fddcae491be0bfba6242f3f10bbc72a' type='result'/>



*** User 2022-05-18 10:04:46.605 ***
alice_subscribe_1599@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_1599@domain.example.com'/>



*** User 2022-05-18 10:04:46.608 ***
alice_subscribe_1599@domain.example.com/res1 in
<iq from='alice_subscribe_1599@domain.example.com' to='alice_subscribe_1599@domain.example.com/res1' id='pushb0f469bc05148ade' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_1599@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:04:46.608 ***
alice_subscribe_1599@domain.example.com/res1 out
<iq to='alice_subscribe_1599@domain.example.com' id='pushb0f469bc05148ade' type='result'/>



*** User 2022-05-18 10:04:46.608 ***
bob_subscribe_1599@domain.example.com/res1 in
<presence from='alice_subscribe_1599@domain.example.com' to='bob_subscribe_1599@domain.example.com/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-18 10:04:46.608 ***
bob_subscribe_1599@domain.example.com/res1 out
<iq type='set' id='0e4f705b563f8961a2b556973fbb4347'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_1599@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:04:46.609 ***
bob_subscribe_1599@domain.example.com/res1 in
<iq from='bob_subscribe_1599@domain.example.com' to='bob_subscribe_1599@domain.example.com/res1' id='pushe2c350d5c6b21ebe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_1599@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:04:46.609 ***
bob_subscribe_1599@domain.example.com/res1 out
<iq to='bob_subscribe_1599@domain.example.com' id='pushe2c350d5c6b21ebe' type='result'/>



*** User 2022-05-18 10:04:46.609 ***
bob_subscribe_1599@domain.example.com/res1 in
<iq from='bob_subscribe_1599@domain.example.com' to='bob_subscribe_1599@domain.example.com/res1' id='0e4f705b563f8961a2b556973fbb4347' type='result'/>



*** User 2022-05-18 10:04:46.609 ***
bob_subscribe_1599@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_1599@domain.example.com'/>



*** User 2022-05-18 10:04:46.612 ***
alice_subscribe_1599@domain.example.com/res1 in
<iq from='alice_subscribe_1599@domain.example.com' to='alice_subscribe_1599@domain.example.com/res1' id='pushbbaca2718e391b20' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_1599@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:04:46.613 ***
alice_subscribe_1599@domain.example.com/res1 in
<presence from='bob_subscribe_1599@domain.example.com' to='alice_subscribe_1599@domain.example.com/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-18 10:04:46.613 ***
alice_subscribe_1599@domain.example.com/res1 in
<presence from='bob_subscribe_1599@domain.example.com/res1' to='alice_subscribe_1599@domain.example.com/res1' xml:lang='en'/>



*** User 2022-05-18 10:04:46.613 ***
bob_subscribe_1599@domain.example.com/res1 in
<iq from='bob_subscribe_1599@domain.example.com' to='bob_subscribe_1599@domain.example.com/res1' id='pusha268b30c01774028' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_1599@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-18 10:04:46.614 ***
bob_subscribe_1599@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:04:46.614 ***
bob_subscribe_1599@domain.example.com/res1 in
</stream:stream>

*** User 2022-05-18 10:04:46.614 ***
alice_subscribe_1599@domain.example.com/res1 out
</stream:stream>

*** User 2022-05-18 10:04:46.614 ***
alice_subscribe_1599@domain.example.com/res1 in
</stream:stream>
*** CT 2022-05-18 10:04:46.619 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_430.html
*** CT 2022-05-18 10:04:46.619 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1838.html



=== Ended at 2022-05-18 10:04:46
=== successfully completed test case
=== === Returned value: ok


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