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

=== Config value:

    [{watchdog,<0.24292.0>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.124753187>,
                         [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@e940550c5ac4.2022-04-29_13.53.57/big_tests.tests.metrics_roster_SUITE.logs/run.2022-04-29_13.57.05/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@e940550c5ac4.2022-04-29_13.53.57/big_tests.tests.metrics_roster_SUITE.logs/run.2022-04-29_13.57.05/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@e940550c5ac4.2022-04-29_13.53.57"

=== Started at 2022-04-29 13:57:05


*** CT 2022-04-29 13:57:05.657 *** View log from node mongooseim@localhost when started mongooseim@localhost_1739.html
*** CT 2022-04-29 13:57:05.657 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_490.html

*** User 2022-04-29 13:57:05.663 ***
alicE_subscribe_776@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-04-29 13:57:05.663 ***
alicE_subscribe_776@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8bfb21a1efc405b7' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 13:57:05.663 ***
alicE_subscribe_776@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-04-29 13:57:05.664 ***
alicE_subscribe_776@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV83NzYAbWF0eWdyeXNh</auth>



*** User 2022-04-29 13:57:05.664 ***
alicE_subscribe_776@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-29 13:57:05.664 ***
alicE_subscribe_776@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-04-29 13:57:05.664 ***
alicE_subscribe_776@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b1fdbb83ce03906f' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 13:57:05.665 ***
alicE_subscribe_776@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-04-29 13:57:05.665 ***
alicE_subscribe_776@localhost/res1 out
<iq type='set' id='5f88dbb166688da022a7b66f8ac73e59'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-29 13:57:05.665 ***
alicE_subscribe_776@localhost/res1 in
<iq id='5f88dbb166688da022a7b66f8ac73e59' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_subscribe_776@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-29 13:57:05.665 ***
alicE_subscribe_776@localhost/res1 out
<iq type='set' id='45b93ca669ce09c2034331b21bcbc8da'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 13:57:05.665 ***
alicE_subscribe_776@localhost/res1 in
<iq type='result' id='45b93ca669ce09c2034331b21bcbc8da'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 13:57:05.665 ***
alicE_subscribe_776@localhost/res1 out
<presence/>



*** User 2022-04-29 13:57:05.666 ***
alicE_subscribe_776@localhost/res1 in
<presence from='alicE_subscribe_776@localhost/res1' to='alice_subscribe_776@localhost/res1' xml:lang='en'/>



*** User 2022-04-29 13:57:05.666 ***
bOb_subscribe_776@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-04-29 13:57:05.667 ***
bOb_subscribe_776@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='98778b482d7fb26c' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 13:57:05.667 ***
bOb_subscribe_776@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-04-29 13:57:05.667 ***
bOb_subscribe_776@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfNzc2AG1ha3JvbGlrYQ==</auth>



*** User 2022-04-29 13:57:05.667 ***
bOb_subscribe_776@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-04-29 13:57:05.667 ***
bOb_subscribe_776@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-04-29 13:57:05.668 ***
bOb_subscribe_776@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c2c91d77ce0b402d' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-04-29 13:57:05.668 ***
bOb_subscribe_776@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-04-29 13:57:05.668 ***
bOb_subscribe_776@localhost/res1 out
<iq type='set' id='5037ec6a980ed52c2d643f1591a8cfdb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-04-29 13:57:05.668 ***
bOb_subscribe_776@localhost/res1 in
<iq id='5037ec6a980ed52c2d643f1591a8cfdb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_subscribe_776@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-04-29 13:57:05.668 ***
bOb_subscribe_776@localhost/res1 out
<iq type='set' id='0da164a712c8a98273a1458708475708'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 13:57:05.668 ***
bOb_subscribe_776@localhost/res1 in
<iq type='result' id='0da164a712c8a98273a1458708475708'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-04-29 13:57:05.669 ***
bOb_subscribe_776@localhost/res1 out
<presence/>



*** User 2022-04-29 13:57:05.669 ***
bOb_subscribe_776@localhost/res1 in
<presence from='bOb_subscribe_776@localhost/res1' to='bob_subscribe_776@localhost/res1' xml:lang='en'/>



*** User 2022-04-29 13:57:05.669 ***
alicE_subscribe_776@localhost/res1 out
<iq type='set' id='fbd75d797123b20f097215570b2d15a7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_subscribe_776@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.670 ***
alicE_subscribe_776@localhost/res1 in
<iq from='alicE_subscribe_776@localhost' to='alicE_subscribe_776@localhost/res1' id='pusheff706895c10564a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_776@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.670 ***
alicE_subscribe_776@localhost/res1 out
<iq to='alicE_subscribe_776@localhost' id='pusheff706895c10564a' type='result'/>



*** User 2022-04-29 13:57:05.670 ***
alicE_subscribe_776@localhost/res1 in
<iq from='alicE_subscribe_776@localhost' to='alicE_subscribe_776@localhost/res1' id='fbd75d797123b20f097215570b2d15a7' type='result'/>



*** User 2022-04-29 13:57:05.670 ***
alicE_subscribe_776@localhost/res1 out
<presence type='subscribe' to='bOb_subscribe_776@localhost'/>



*** User 2022-04-29 13:57:05.671 ***
alicE_subscribe_776@localhost/res1 in
<iq from='alicE_subscribe_776@localhost' to='alicE_subscribe_776@localhost/res1' id='pushb93a2132639dec24' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_776@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.671 ***
alicE_subscribe_776@localhost/res1 out
<iq to='alicE_subscribe_776@localhost' id='pushb93a2132639dec24' type='result'/>



*** User 2022-04-29 13:57:05.671 ***
bOb_subscribe_776@localhost/res1 in
<presence from='alicE_subscribe_776@localhost' to='bOb_subscribe_776@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-04-29 13:57:05.671 ***
bOb_subscribe_776@localhost/res1 out
<iq type='set' id='c5a1646bfea2782d7ad6196c9ff58043'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_subscribe_776@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.672 ***
bOb_subscribe_776@localhost/res1 in
<iq from='bOb_subscribe_776@localhost' to='bOb_subscribe_776@localhost/res1' id='pushae0ece141f57183c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_776@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.672 ***
bOb_subscribe_776@localhost/res1 out
<iq to='bOb_subscribe_776@localhost' id='pushae0ece141f57183c' type='result'/>



*** User 2022-04-29 13:57:05.672 ***
bOb_subscribe_776@localhost/res1 in
<iq from='bOb_subscribe_776@localhost' to='bOb_subscribe_776@localhost/res1' id='c5a1646bfea2782d7ad6196c9ff58043' type='result'/>



*** User 2022-04-29 13:57:05.672 ***
bOb_subscribe_776@localhost/res1 out
<presence type='subscribed' to='alicE_subscribe_776@localhost'/>



*** User 2022-04-29 13:57:05.673 ***
alicE_subscribe_776@localhost/res1 in
<iq from='alicE_subscribe_776@localhost' to='alicE_subscribe_776@localhost/res1' id='pushf62f33e855435940' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_776@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.673 ***
alicE_subscribe_776@localhost/res1 in
<presence from='bOb_subscribe_776@localhost' to='alicE_subscribe_776@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-04-29 13:57:05.673 ***
alicE_subscribe_776@localhost/res1 in
<presence from='bOb_subscribe_776@localhost/res1' to='alice_subscribe_776@localhost/res1' xml:lang='en'/>



*** User 2022-04-29 13:57:05.673 ***
bOb_subscribe_776@localhost/res1 in
<iq from='bOb_subscribe_776@localhost' to='bOb_subscribe_776@localhost/res1' id='push655d98a373167bae' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_776@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-04-29 13:57:05.675 ***
bOb_subscribe_776@localhost/res1 out
</stream:stream>

*** User 2022-04-29 13:57:05.675 ***
bOb_subscribe_776@localhost/res1 in
</stream:stream>

*** User 2022-04-29 13:57:05.675 ***
alicE_subscribe_776@localhost/res1 out
</stream:stream>

*** User 2022-04-29 13:57:05.675 ***
alicE_subscribe_776@localhost/res1 in
</stream:stream>
*** CT 2022-04-29 13:57:05.678 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_490.html
*** CT 2022-04-29 13:57:05.679 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1739.html



=== Ended at 2022-04-29 13:57:05
=== successfully completed test case
=== === Returned value: ok


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