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

=== Config value:

    [{watchdog,<0.57711.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_mnesia"},
     {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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-16_09.15.58/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@cdb4b709e1db.2023-11-16_09.06.27/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-16_09.15.58/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@cdb4b709e1db.2023-11-16_09.06.27"

=== Started at 2023-11-16 09:15:58


*** CT 2023-11-16 09:15:58.859 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2245.html

*** User 2023-11-16 09:15:58.864 ***🔗
alicE_subscribe_2466@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 2023-11-16 09:15:58.865 ***🔗
alicE_subscribe_2466@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b7d29d353412e887' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:15:58.865 ***🔗
alicE_subscribe_2466@domain.example.com/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-16 09:15:58.865 ***🔗
alicE_subscribe_2466@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNDY2AG1hdHlncnlzYQ==</auth>



*** User 2023-11-16 09:15:58.866 ***🔗
alicE_subscribe_2466@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:15:58.866 ***🔗
alicE_subscribe_2466@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 2023-11-16 09:15:58.866 ***🔗
alicE_subscribe_2466@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9b64090ba698500a' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2466@domain.example.com'>

*** User 2023-11-16 09:15:58.866 ***🔗
alicE_subscribe_2466@domain.example.com/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-16 09:15:58.866 ***🔗
alicE_subscribe_2466@domain.example.com/res1 out
<iq type='set' id='06e8a2b5d1755099c6304b1663025e0c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:15:58.866 ***🔗
alicE_subscribe_2466@domain.example.com/res1 in
<iq id='06e8a2b5d1755099c6304b1663025e0c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2466@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:15:58.867 ***🔗
alice_subscribe_2466@domain.example.com/res1 out
<iq type='set' id='3bb19c6c2d9b7efe018680545e24b56c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:15:58.867 ***🔗
alice_subscribe_2466@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2466@domain.example.com/res1' id='3bb19c6c2d9b7efe018680545e24b56c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:15:58.867 ***🔗
alice_subscribe_2466@domain.example.com/res1 out
<presence/>



*** User 2023-11-16 09:15:58.868 ***🔗
alice_subscribe_2466@domain.example.com/res1 in
<presence from='alice_subscribe_2466@domain.example.com/res1' to='alice_subscribe_2466@domain.example.com/res1'/>



*** User 2023-11-16 09:15:58.868 ***🔗
bOb_subscribe_2466@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 2023-11-16 09:15:58.869 ***🔗
bOb_subscribe_2466@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4b3db69e22152e9a' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-16 09:15:58.869 ***🔗
bOb_subscribe_2466@domain.example.com/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-16 09:15:58.869 ***🔗
bOb_subscribe_2466@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjQ2NgBtYWtyb2xpa2E=</auth>



*** User 2023-11-16 09:15:58.870 ***🔗
bOb_subscribe_2466@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-16 09:15:58.870 ***🔗
bOb_subscribe_2466@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 2023-11-16 09:15:58.870 ***🔗
bOb_subscribe_2466@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='174773bf16e12f12' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2466@domain.example.com'>

*** User 2023-11-16 09:15:58.870 ***🔗
bOb_subscribe_2466@domain.example.com/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-16 09:15:58.870 ***🔗
bOb_subscribe_2466@domain.example.com/res1 out
<iq type='set' id='b2639adcf766330dc5f7a7688cd3d254'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-16 09:15:58.870 ***🔗
bOb_subscribe_2466@domain.example.com/res1 in
<iq id='b2639adcf766330dc5f7a7688cd3d254' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2466@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-16 09:15:58.871 ***🔗
bob_subscribe_2466@domain.example.com/res1 out
<iq type='set' id='da91ef2a889cc14cd3f663329c03a494'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:15:58.871 ***🔗
bob_subscribe_2466@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2466@domain.example.com/res1' id='da91ef2a889cc14cd3f663329c03a494' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-16 09:15:58.871 ***🔗
bob_subscribe_2466@domain.example.com/res1 out
<presence/>



*** User 2023-11-16 09:15:58.872 ***🔗
bob_subscribe_2466@domain.example.com/res1 in
<presence from='bob_subscribe_2466@domain.example.com/res1' to='bob_subscribe_2466@domain.example.com/res1'/>



*** User 2023-11-16 09:15:58.872 ***🔗
alice_subscribe_2466@domain.example.com/res1 out
<iq type='set' id='0a3895058c6c6b569ba141b9b129b4cd'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2466@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.875 ***🔗
alice_subscribe_2466@domain.example.com/res1 in
<iq from='alice_subscribe_2466@domain.example.com' to='alice_subscribe_2466@domain.example.com/res1' id='push11a4d27c8e8ab44a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_2466@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.875 ***🔗
alice_subscribe_2466@domain.example.com/res1 out
<iq to='alice_subscribe_2466@domain.example.com' id='push11a4d27c8e8ab44a' type='result'/>



*** User 2023-11-16 09:15:58.875 ***🔗
alice_subscribe_2466@domain.example.com/res1 in
<iq from='alice_subscribe_2466@domain.example.com' to='alice_subscribe_2466@domain.example.com/res1' id='0a3895058c6c6b569ba141b9b129b4cd' type='result'/>



*** User 2023-11-16 09:15:58.875 ***🔗
alice_subscribe_2466@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2466@domain.example.com'/>



*** User 2023-11-16 09:15:58.878 ***🔗
alice_subscribe_2466@domain.example.com/res1 in
<iq from='alice_subscribe_2466@domain.example.com' to='alice_subscribe_2466@domain.example.com/res1' id='pushb8dcdacf8f6ea973' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_2466@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.878 ***🔗
alice_subscribe_2466@domain.example.com/res1 out
<iq to='alice_subscribe_2466@domain.example.com' id='pushb8dcdacf8f6ea973' type='result'/>



*** User 2023-11-16 09:15:58.878 ***🔗
bob_subscribe_2466@domain.example.com/res1 in
<presence from='alice_subscribe_2466@domain.example.com' to='bob_subscribe_2466@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-16 09:15:58.878 ***🔗
bob_subscribe_2466@domain.example.com/res1 out
<iq type='set' id='b9b0cfef05a14e6f0c58de93aedeb06c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2466@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.881 ***🔗
bob_subscribe_2466@domain.example.com/res1 in
<iq from='bob_subscribe_2466@domain.example.com' to='bob_subscribe_2466@domain.example.com/res1' id='pushd25064be8ab106cf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_2466@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.881 ***🔗
bob_subscribe_2466@domain.example.com/res1 out
<iq to='bob_subscribe_2466@domain.example.com' id='pushd25064be8ab106cf' type='result'/>



*** User 2023-11-16 09:15:58.881 ***🔗
bob_subscribe_2466@domain.example.com/res1 in
<iq from='bob_subscribe_2466@domain.example.com' to='bob_subscribe_2466@domain.example.com/res1' id='b9b0cfef05a14e6f0c58de93aedeb06c' type='result'/>



*** User 2023-11-16 09:15:58.881 ***🔗
bob_subscribe_2466@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2466@domain.example.com'/>



*** User 2023-11-16 09:15:58.885 ***🔗
alice_subscribe_2466@domain.example.com/res1 in
<iq from='alice_subscribe_2466@domain.example.com' to='alice_subscribe_2466@domain.example.com/res1' id='push6528e95ef5ecf034' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_2466@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.885 ***🔗
alice_subscribe_2466@domain.example.com/res1 in
<presence from='bob_subscribe_2466@domain.example.com' to='alice_subscribe_2466@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-16 09:15:58.885 ***🔗
alice_subscribe_2466@domain.example.com/res1 in
<presence from='bob_subscribe_2466@domain.example.com/res1' to='alice_subscribe_2466@domain.example.com/res1'/>



*** User 2023-11-16 09:15:58.885 ***🔗
bob_subscribe_2466@domain.example.com/res1 in
<iq from='bob_subscribe_2466@domain.example.com' to='bob_subscribe_2466@domain.example.com/res1' id='pushd5c41430a4afdd05' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_2466@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-16 09:15:58.887 ***🔗
bob_subscribe_2466@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-16 09:15:58.887 ***🔗
bob_subscribe_2466@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-16 09:15:58.888 ***🔗
alice_subscribe_2466@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-16 09:15:58.888 ***🔗
alice_subscribe_2466@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-16 09:15:58.894 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2245.html



=== Ended at 2023-11-16 09:15:58
=== successfully completed test case
=== === Returned value: ok


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