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

=== Config value:

    [{watchdog,<0.28724.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.129660948>,
                         [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@645db5517489.2024-04-16_10.55.09/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_11.05.02/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@645db5517489.2024-04-16_10.55.09/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_11.05.02/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@645db5517489.2024-04-16_10.55.09"

=== Started at 2024-04-16 11:05:03


*** CT 2024-04-16 11:05:03.312 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2292.html

*** User 2024-04-16 11:05:03.320 ***🔗
alicE_subscribe_2630@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 2024-04-16 11:05:03.320 ***🔗
alicE_subscribe_2630@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ec8359f19fb420ca' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:05:03.321 ***🔗
alicE_subscribe_2630@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 2024-04-16 11:05:03.321 ***🔗
alicE_subscribe_2630@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNjMwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 11:05:03.322 ***🔗
alicE_subscribe_2630@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:05:03.322 ***🔗
alicE_subscribe_2630@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 2024-04-16 11:05:03.322 ***🔗
alicE_subscribe_2630@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='727be0be7ac42b6e' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2630@domain.example.com'>

*** User 2024-04-16 11:05:03.322 ***🔗
alicE_subscribe_2630@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 2024-04-16 11:05:03.322 ***🔗
alicE_subscribe_2630@domain.example.com/res1 out
<iq type='set' id='c7787363ee672d87bb5ead5c3796aa70'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:05:03.322 ***🔗
alicE_subscribe_2630@domain.example.com/res1 in
<iq id='c7787363ee672d87bb5ead5c3796aa70' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2630@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:05:03.322 ***🔗
alice_subscribe_2630@domain.example.com/res1 out
<iq type='set' id='ece9c1b7c2ef25c0db3884a767d4d2bf'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:05:03.323 ***🔗
alice_subscribe_2630@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2630@domain.example.com/res1' id='ece9c1b7c2ef25c0db3884a767d4d2bf' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:05:03.323 ***🔗
alice_subscribe_2630@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 11:05:03.324 ***🔗
alice_subscribe_2630@domain.example.com/res1 in
<presence from='alice_subscribe_2630@domain.example.com/res1' to='alice_subscribe_2630@domain.example.com/res1'/>



*** User 2024-04-16 11:05:03.325 ***🔗
bOb_subscribe_2630@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 2024-04-16 11:05:03.325 ***🔗
bOb_subscribe_2630@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='baa04709e9f91631' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:05:03.325 ***🔗
bOb_subscribe_2630@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 2024-04-16 11:05:03.325 ***🔗
bOb_subscribe_2630@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjYzMABtYWtyb2xpa2E=</auth>



*** User 2024-04-16 11:05:03.326 ***🔗
bOb_subscribe_2630@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:05:03.326 ***🔗
bOb_subscribe_2630@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 2024-04-16 11:05:03.327 ***🔗
bOb_subscribe_2630@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='94733e2a76d90c34' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2630@domain.example.com'>

*** User 2024-04-16 11:05:03.327 ***🔗
bOb_subscribe_2630@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 2024-04-16 11:05:03.327 ***🔗
bOb_subscribe_2630@domain.example.com/res1 out
<iq type='set' id='9916c9b496fc657a338f799b2ea15844'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:05:03.327 ***🔗
bOb_subscribe_2630@domain.example.com/res1 in
<iq id='9916c9b496fc657a338f799b2ea15844' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2630@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:05:03.327 ***🔗
bob_subscribe_2630@domain.example.com/res1 out
<iq type='set' id='115f852d03928667cbf5b4ad7cfffc13'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:05:03.328 ***🔗
bob_subscribe_2630@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2630@domain.example.com/res1' id='115f852d03928667cbf5b4ad7cfffc13' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:05:03.328 ***🔗
bob_subscribe_2630@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 11:05:03.329 ***🔗
bob_subscribe_2630@domain.example.com/res1 in
<presence from='bob_subscribe_2630@domain.example.com/res1' to='bob_subscribe_2630@domain.example.com/res1'/>



*** User 2024-04-16 11:05:03.330 ***🔗
alice_subscribe_2630@domain.example.com/res1 out
<iq type='set' id='ffc573de181d64fc53ce80dd8cc23482'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2630@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:05:03.332 ***🔗
alice_subscribe_2630@domain.example.com/res1 in
<iq from='alice_subscribe_2630@domain.example.com' to='alice_subscribe_2630@domain.example.com/res1' id='push04394a428c679788' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2630@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:05:03.333 ***🔗
alice_subscribe_2630@domain.example.com/res1 out
<iq to='alice_subscribe_2630@domain.example.com' id='push04394a428c679788' type='result'/>



*** User 2024-04-16 11:05:03.333 ***🔗
alice_subscribe_2630@domain.example.com/res1 in
<iq from='alice_subscribe_2630@domain.example.com' to='alice_subscribe_2630@domain.example.com/res1' id='ffc573de181d64fc53ce80dd8cc23482' type='result'/>



*** User 2024-04-16 11:05:03.333 ***🔗
alice_subscribe_2630@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2630@domain.example.com'/>



*** User 2024-04-16 11:05:03.336 ***🔗
alice_subscribe_2630@domain.example.com/res1 in
<iq from='alice_subscribe_2630@domain.example.com' to='alice_subscribe_2630@domain.example.com/res1' id='pushb835a7d84bbe83c0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2630@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:05:03.336 ***🔗
alice_subscribe_2630@domain.example.com/res1 out
<iq to='alice_subscribe_2630@domain.example.com' id='pushb835a7d84bbe83c0' type='result'/>



*** User 2024-04-16 11:05:03.336 ***🔗
bob_subscribe_2630@domain.example.com/res1 in
<presence from='alice_subscribe_2630@domain.example.com' to='bob_subscribe_2630@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-16 11:05:03.336 ***🔗
bob_subscribe_2630@domain.example.com/res1 out
<iq type='set' id='8979b1b636e2c098999b6b2fd59156d0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2630@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:05:03.339 ***🔗
bob_subscribe_2630@domain.example.com/res1 in
<iq from='bob_subscribe_2630@domain.example.com' to='bob_subscribe_2630@domain.example.com/res1' id='push7f4ea769bd49448f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2630@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:05:03.339 ***🔗
bob_subscribe_2630@domain.example.com/res1 out
<iq to='bob_subscribe_2630@domain.example.com' id='push7f4ea769bd49448f' type='result'/>



*** User 2024-04-16 11:05:03.339 ***🔗
bob_subscribe_2630@domain.example.com/res1 in
<iq from='bob_subscribe_2630@domain.example.com' to='bob_subscribe_2630@domain.example.com/res1' id='8979b1b636e2c098999b6b2fd59156d0' type='result'/>



*** User 2024-04-16 11:05:03.339 ***🔗
bob_subscribe_2630@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2630@domain.example.com'/>



*** User 2024-04-16 11:05:03.343 ***🔗
alice_subscribe_2630@domain.example.com/res1 in
<iq from='alice_subscribe_2630@domain.example.com' to='alice_subscribe_2630@domain.example.com/res1' id='push044f11b83f636248' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2630@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:05:03.343 ***🔗
alice_subscribe_2630@domain.example.com/res1 in
<presence from='bob_subscribe_2630@domain.example.com' to='alice_subscribe_2630@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-16 11:05:03.343 ***🔗
alice_subscribe_2630@domain.example.com/res1 in
<presence from='bob_subscribe_2630@domain.example.com/res1' to='alice_subscribe_2630@domain.example.com/res1'/>



*** User 2024-04-16 11:05:03.343 ***🔗
bob_subscribe_2630@domain.example.com/res1 in
<iq from='bob_subscribe_2630@domain.example.com' to='bob_subscribe_2630@domain.example.com/res1' id='pushb5d3e9fbe091c003' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2630@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:05:03.345 ***🔗
bob_subscribe_2630@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 11:05:03.345 ***🔗
bob_subscribe_2630@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-16 11:05:03.345 ***🔗
alice_subscribe_2630@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 11:05:03.345 ***🔗
alice_subscribe_2630@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-16 11:05:03.352 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2292.html



=== Ended at 2024-04-16 11:05:03
=== successfully completed test case
=== === Returned value: ok


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