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

=== Config value:

    [{watchdog,<0.60111.0>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.90531342>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {preset,"pgsql_cets"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_roster_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-17_15.18.38/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@1c2ae12cdb1a.2023-11-17_15.10.15/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-17_15.18.38/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@1c2ae12cdb1a.2023-11-17_15.10.15"

=== Started at 2023-11-17 15:18:39


*** CT 2023-11-17 15:18:39.148 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2084.html

*** User 2023-11-17 15:18:39.155 ***🔗
alicE_subscribe_2280@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:18:39.156 ***🔗
alicE_subscribe_2280@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2ecbead628f01cb4' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:18:39.156 ***🔗
alicE_subscribe_2280@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:18:39.156 ***🔗
alicE_subscribe_2280@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yMjgwAG1hdHlncnlzYQ==</auth>



*** User 2023-11-17 15:18:39.157 ***🔗
alicE_subscribe_2280@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:18:39.157 ***🔗
alicE_subscribe_2280@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:18:39.157 ***🔗
alicE_subscribe_2280@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b99e274a70d2b293' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2280@localhost'>

*** User 2023-11-17 15:18:39.157 ***🔗
alicE_subscribe_2280@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:18:39.157 ***🔗
alicE_subscribe_2280@localhost/res1 out
<iq type='set' id='ae51766f9f9acf069d497a6282fc4649'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:18:39.158 ***🔗
alicE_subscribe_2280@localhost/res1 in
<iq id='ae51766f9f9acf069d497a6282fc4649' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2280@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:18:39.158 ***🔗
alice_subscribe_2280@localhost/res1 out
<iq type='set' id='32312aa07e4206b95a3480eb0f356a55'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:18:39.158 ***🔗
alice_subscribe_2280@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2280@localhost/res1' id='32312aa07e4206b95a3480eb0f356a55' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:18:39.158 ***🔗
alice_subscribe_2280@localhost/res1 out
<presence/>



*** User 2023-11-17 15:18:39.159 ***🔗
alice_subscribe_2280@localhost/res1 in
<presence from='alice_subscribe_2280@localhost/res1' to='alice_subscribe_2280@localhost/res1'/>



*** User 2023-11-17 15:18:39.160 ***🔗
bOb_subscribe_2280@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:18:39.160 ***🔗
bOb_subscribe_2280@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f932e5fddee94ea0' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-17 15:18:39.160 ***🔗
bOb_subscribe_2280@localhost/res1 in
<stream:features>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:18:39.160 ***🔗
bOb_subscribe_2280@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjI4MABtYWtyb2xpa2E=</auth>



*** User 2023-11-17 15:18:39.161 ***🔗
bOb_subscribe_2280@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-17 15:18:39.161 ***🔗
bOb_subscribe_2280@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2023-11-17 15:18:39.162 ***🔗
bOb_subscribe_2280@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1488337d667981d8' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2280@localhost'>

*** User 2023-11-17 15:18:39.162 ***🔗
bOb_subscribe_2280@localhost/res1 in
<stream:features>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2023-11-17 15:18:39.162 ***🔗
bOb_subscribe_2280@localhost/res1 out
<iq type='set' id='140c61f3a2d4ec81f4506f790d32d887'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-17 15:18:39.162 ***🔗
bOb_subscribe_2280@localhost/res1 in
<iq id='140c61f3a2d4ec81f4506f790d32d887' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2280@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-17 15:18:39.162 ***🔗
bob_subscribe_2280@localhost/res1 out
<iq type='set' id='9ed888854d713f4d9ffc49b99550f8ca'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:18:39.163 ***🔗
bob_subscribe_2280@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2280@localhost/res1' id='9ed888854d713f4d9ffc49b99550f8ca' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-17 15:18:39.163 ***🔗
bob_subscribe_2280@localhost/res1 out
<presence/>



*** User 2023-11-17 15:18:39.164 ***🔗
bob_subscribe_2280@localhost/res1 in
<presence from='bob_subscribe_2280@localhost/res1' to='bob_subscribe_2280@localhost/res1'/>



*** User 2023-11-17 15:18:39.164 ***🔗
alice_subscribe_2280@localhost/res1 out
<iq type='set' id='173f0513b34d7869d5415a115b1ba757'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2280@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:18:39.165 ***🔗
alice_subscribe_2280@localhost/res1 in
<iq from='alice_subscribe_2280@localhost' to='alice_subscribe_2280@localhost/res1' id='push7f4aa5a46cb2126a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_2280@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:18:39.166 ***🔗
alice_subscribe_2280@localhost/res1 out
<iq to='alice_subscribe_2280@localhost' id='push7f4aa5a46cb2126a' type='result'/>



*** User 2023-11-17 15:18:39.166 ***🔗
alice_subscribe_2280@localhost/res1 in
<iq from='alice_subscribe_2280@localhost' to='alice_subscribe_2280@localhost/res1' id='173f0513b34d7869d5415a115b1ba757' type='result'/>



*** User 2023-11-17 15:18:39.166 ***🔗
alice_subscribe_2280@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2280@localhost'/>



*** User 2023-11-17 15:18:39.169 ***🔗
alice_subscribe_2280@localhost/res1 in
<iq from='alice_subscribe_2280@localhost' to='alice_subscribe_2280@localhost/res1' id='pushea818615d85d30f3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_2280@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:18:39.169 ***🔗
alice_subscribe_2280@localhost/res1 out
<iq to='alice_subscribe_2280@localhost' id='pushea818615d85d30f3' type='result'/>



*** User 2023-11-17 15:18:39.169 ***🔗
bob_subscribe_2280@localhost/res1 in
<presence from='alice_subscribe_2280@localhost' to='bob_subscribe_2280@localhost/res1' type='subscribe'/>



*** User 2023-11-17 15:18:39.169 ***🔗
bob_subscribe_2280@localhost/res1 out
<iq type='set' id='d4b75315591bca52e52e7a1589be932e'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2280@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:18:39.171 ***🔗
bob_subscribe_2280@localhost/res1 in
<iq from='bob_subscribe_2280@localhost' to='bob_subscribe_2280@localhost/res1' id='push6d53d8aae6b00235' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_2280@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:18:39.171 ***🔗
bob_subscribe_2280@localhost/res1 out
<iq to='bob_subscribe_2280@localhost' id='push6d53d8aae6b00235' type='result'/>



*** User 2023-11-17 15:18:39.171 ***🔗
bob_subscribe_2280@localhost/res1 in
<iq from='bob_subscribe_2280@localhost' to='bob_subscribe_2280@localhost/res1' id='d4b75315591bca52e52e7a1589be932e' type='result'/>



*** User 2023-11-17 15:18:39.171 ***🔗
bob_subscribe_2280@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2280@localhost'/>



*** User 2023-11-17 15:18:39.174 ***🔗
alice_subscribe_2280@localhost/res1 in
<iq from='alice_subscribe_2280@localhost' to='alice_subscribe_2280@localhost/res1' id='pushd8049debda3028e7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_2280@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:18:39.174 ***🔗
alice_subscribe_2280@localhost/res1 in
<presence from='bob_subscribe_2280@localhost' to='alice_subscribe_2280@localhost/res1' type='subscribed'/>



*** User 2023-11-17 15:18:39.174 ***🔗
alice_subscribe_2280@localhost/res1 in
<presence from='bob_subscribe_2280@localhost/res1' to='alice_subscribe_2280@localhost/res1'/>



*** User 2023-11-17 15:18:39.174 ***🔗
bob_subscribe_2280@localhost/res1 in
<iq from='bob_subscribe_2280@localhost' to='bob_subscribe_2280@localhost/res1' id='push808b670b7c10cf51' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_2280@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-17 15:18:39.175 ***🔗
bob_subscribe_2280@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:18:39.175 ***🔗
bob_subscribe_2280@localhost/res1 in
</stream:stream>

*** User 2023-11-17 15:18:39.175 ***🔗
alice_subscribe_2280@localhost/res1 out
</stream:stream>

*** User 2023-11-17 15:18:39.176 ***🔗
alice_subscribe_2280@localhost/res1 in
</stream:stream>
*** CT 2023-11-17 15:18:39.182 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2084.html



=== Ended at 2023-11-17 15:18:39
=== successfully completed test case
=== === Returned value: ok


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