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

=== Config value:

    [{watchdog,<0.63327.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,"mysql_redis"},
     {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@2ccd1e5251fa.2024-04-25_16.16.50/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-25_16.26.01/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@2ccd1e5251fa.2024-04-25_16.16.50/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-25_16.26.01/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@2ccd1e5251fa.2024-04-25_16.16.50"

=== Started at 2024-04-25 16:26:01


*** CT 2024-04-25 16:26:01.556 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2045.html

*** User 2024-04-25 16:26:01.562 ***🔗
alicE_subscribe_2513@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 16:26:01.562 ***🔗
alicE_subscribe_2513@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='975f45807d7c7592' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 16:26:01.562 ***🔗
alicE_subscribe_2513@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 2024-04-25 16:26:01.562 ***🔗
alicE_subscribe_2513@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNTEzAG1hdHlncnlzYQ==</auth>



*** User 2024-04-25 16:26:01.563 ***🔗
alicE_subscribe_2513@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 16:26:01.563 ***🔗
alicE_subscribe_2513@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 16:26:01.563 ***🔗
alicE_subscribe_2513@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a9630a7eb87a557d' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2513@localhost'>

*** User 2024-04-25 16:26:01.563 ***🔗
alicE_subscribe_2513@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 2024-04-25 16:26:01.563 ***🔗
alicE_subscribe_2513@localhost/res1 out
<iq type='set' id='c41805f4b11f34c581743e83381edaa0'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 16:26:01.563 ***🔗
alicE_subscribe_2513@localhost/res1 in
<iq id='c41805f4b11f34c581743e83381edaa0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2513@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 16:26:01.563 ***🔗
alice_subscribe_2513@localhost/res1 out
<iq type='set' id='a1db8d085473b7016d9c63de0f991da7'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:26:01.564 ***🔗
alice_subscribe_2513@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2513@localhost/res1' id='a1db8d085473b7016d9c63de0f991da7' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:26:01.564 ***🔗
alice_subscribe_2513@localhost/res1 out
<presence/>



*** User 2024-04-25 16:26:01.565 ***🔗
alice_subscribe_2513@localhost/res1 in
<presence from='alice_subscribe_2513@localhost/res1' to='alice_subscribe_2513@localhost/res1'/>



*** User 2024-04-25 16:26:01.565 ***🔗
bOb_subscribe_2513@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 16:26:01.566 ***🔗
bOb_subscribe_2513@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0673f1ebb558d9ef' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-25 16:26:01.566 ***🔗
bOb_subscribe_2513@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 2024-04-25 16:26:01.566 ***🔗
bOb_subscribe_2513@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjUxMwBtYWtyb2xpa2E=</auth>



*** User 2024-04-25 16:26:01.566 ***🔗
bOb_subscribe_2513@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-25 16:26:01.567 ***🔗
bOb_subscribe_2513@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-25 16:26:01.567 ***🔗
bOb_subscribe_2513@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cdc101679dcb65cc' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2513@localhost'>

*** User 2024-04-25 16:26:01.567 ***🔗
bOb_subscribe_2513@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 2024-04-25 16:26:01.567 ***🔗
bOb_subscribe_2513@localhost/res1 out
<iq type='set' id='f7b6b9f637c10db2172b4ce61eb52c28'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-25 16:26:01.567 ***🔗
bOb_subscribe_2513@localhost/res1 in
<iq id='f7b6b9f637c10db2172b4ce61eb52c28' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2513@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-25 16:26:01.567 ***🔗
bob_subscribe_2513@localhost/res1 out
<iq type='set' id='396fdad2383391127dcf4d1841d31c3b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:26:01.568 ***🔗
bob_subscribe_2513@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2513@localhost/res1' id='396fdad2383391127dcf4d1841d31c3b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-25 16:26:01.568 ***🔗
bob_subscribe_2513@localhost/res1 out
<presence/>



*** User 2024-04-25 16:26:01.569 ***🔗
bob_subscribe_2513@localhost/res1 in
<presence from='bob_subscribe_2513@localhost/res1' to='bob_subscribe_2513@localhost/res1'/>



*** User 2024-04-25 16:26:01.569 ***🔗
alice_subscribe_2513@localhost/res1 out
<iq type='set' id='39cb547abfec99084bc500aa5928b4b6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2513@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:26:01.571 ***🔗
alice_subscribe_2513@localhost/res1 in
<iq from='alice_subscribe_2513@localhost' to='alice_subscribe_2513@localhost/res1' id='pushbcaa52f54bb60f3c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2513@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:26:01.571 ***🔗
alice_subscribe_2513@localhost/res1 out
<iq to='alice_subscribe_2513@localhost' id='pushbcaa52f54bb60f3c' type='result'/>



*** User 2024-04-25 16:26:01.571 ***🔗
alice_subscribe_2513@localhost/res1 in
<iq from='alice_subscribe_2513@localhost' to='alice_subscribe_2513@localhost/res1' id='39cb547abfec99084bc500aa5928b4b6' type='result'/>



*** User 2024-04-25 16:26:01.571 ***🔗
alice_subscribe_2513@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2513@localhost'/>



*** User 2024-04-25 16:26:01.574 ***🔗
alice_subscribe_2513@localhost/res1 in
<iq from='alice_subscribe_2513@localhost' to='alice_subscribe_2513@localhost/res1' id='pushda6b62c090e6fc56' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2513@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:26:01.575 ***🔗
alice_subscribe_2513@localhost/res1 out
<iq to='alice_subscribe_2513@localhost' id='pushda6b62c090e6fc56' type='result'/>



*** User 2024-04-25 16:26:01.575 ***🔗
bob_subscribe_2513@localhost/res1 in
<presence from='alice_subscribe_2513@localhost' to='bob_subscribe_2513@localhost/res1' type='subscribe'/>



*** User 2024-04-25 16:26:01.575 ***🔗
bob_subscribe_2513@localhost/res1 out
<iq type='set' id='9b41758a0ca001ec8f97f2b8b7bf4e76'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2513@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:26:01.577 ***🔗
bob_subscribe_2513@localhost/res1 in
<iq from='bob_subscribe_2513@localhost' to='bob_subscribe_2513@localhost/res1' id='pushec3ba1bbd377d5f1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2513@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:26:01.577 ***🔗
bob_subscribe_2513@localhost/res1 out
<iq to='bob_subscribe_2513@localhost' id='pushec3ba1bbd377d5f1' type='result'/>



*** User 2024-04-25 16:26:01.577 ***🔗
bob_subscribe_2513@localhost/res1 in
<iq from='bob_subscribe_2513@localhost' to='bob_subscribe_2513@localhost/res1' id='9b41758a0ca001ec8f97f2b8b7bf4e76' type='result'/>



*** User 2024-04-25 16:26:01.577 ***🔗
bob_subscribe_2513@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2513@localhost'/>



*** User 2024-04-25 16:26:01.581 ***🔗
alice_subscribe_2513@localhost/res1 in
<iq from='alice_subscribe_2513@localhost' to='alice_subscribe_2513@localhost/res1' id='push03891d228cf78675' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2513@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:26:01.581 ***🔗
alice_subscribe_2513@localhost/res1 in
<presence from='bob_subscribe_2513@localhost' to='alice_subscribe_2513@localhost/res1' type='subscribed'/>



*** User 2024-04-25 16:26:01.581 ***🔗
alice_subscribe_2513@localhost/res1 in
<presence from='bob_subscribe_2513@localhost/res1' to='alice_subscribe_2513@localhost/res1'/>



*** User 2024-04-25 16:26:01.581 ***🔗
bob_subscribe_2513@localhost/res1 in
<iq from='bob_subscribe_2513@localhost' to='bob_subscribe_2513@localhost/res1' id='push0fab047effbbca17' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2513@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-25 16:26:01.582 ***🔗
bob_subscribe_2513@localhost/res1 out
</stream:stream>

*** User 2024-04-25 16:26:01.582 ***🔗
bob_subscribe_2513@localhost/res1 in
</stream:stream>

*** User 2024-04-25 16:26:01.582 ***🔗
alice_subscribe_2513@localhost/res1 out
</stream:stream>

*** User 2024-04-25 16:26:01.582 ***🔗
alice_subscribe_2513@localhost/res1 in
</stream:stream>
*** CT 2024-04-25 16:26:01.587 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2045.html



=== Ended at 2024-04-25 16:26:01
=== successfully completed test case
=== === Returned value: ok


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