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

=== Config value:

    [{watchdog,<0.81442.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@9e4a8689b615.2024-04-16_10.12.19/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_10.23.32/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@9e4a8689b615.2024-04-16_10.12.19/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_10.23.32/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@9e4a8689b615.2024-04-16_10.12.19"

=== Started at 2024-04-16 10:23:32


*** CT 2024-04-16 10:23:32.746 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2327.html

*** User 2024-04-16 10:23:32.753 ***🔗
alicE_subscribe_3303@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-16 10:23:32.753 ***🔗
alicE_subscribe_3303@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='4ffa2a081e91be86' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:23:32.753 ***🔗
alicE_subscribe_3303@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-16 10:23:32.753 ***🔗
alicE_subscribe_3303@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8zMzAzAG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 10:23:32.754 ***🔗
alicE_subscribe_3303@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:23:32.754 ***🔗
alicE_subscribe_3303@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-16 10:23:32.755 ***🔗
alicE_subscribe_3303@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='545146f03dca5b46' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_3303@localhost'>

*** User 2024-04-16 10:23:32.755 ***🔗
alicE_subscribe_3303@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-16 10:23:32.755 ***🔗
alicE_subscribe_3303@localhost/res1 out
<iq type='set' id='956d709eb8a18962374671cb1545d85b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:23:32.755 ***🔗
alicE_subscribe_3303@localhost/res1 in
<iq id='956d709eb8a18962374671cb1545d85b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_3303@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:23:32.755 ***🔗
alice_subscribe_3303@localhost/res1 out
<iq type='set' id='4fccac3c219ee0db8b388549cc900e71'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:23:32.756 ***🔗
alice_subscribe_3303@localhost/res1 in
<iq from='localhost' to='alice_subscribe_3303@localhost/res1' id='4fccac3c219ee0db8b388549cc900e71' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:23:32.756 ***🔗
alice_subscribe_3303@localhost/res1 out
<presence/>



*** User 2024-04-16 10:23:32.757 ***🔗
alice_subscribe_3303@localhost/res1 in
<presence from='alice_subscribe_3303@localhost/res1' to='alice_subscribe_3303@localhost/res1'/>



*** User 2024-04-16 10:23:32.757 ***🔗
bOb_subscribe_3303@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-16 10:23:32.758 ***🔗
bOb_subscribe_3303@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='586f0b1c83346e34' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-16 10:23:32.758 ***🔗
bOb_subscribe_3303@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-16 10:23:32.758 ***🔗
bOb_subscribe_3303@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMzMwMwBtYWtyb2xpa2E=</auth>



*** User 2024-04-16 10:23:32.759 ***🔗
bOb_subscribe_3303@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 10:23:32.759 ***🔗
bOb_subscribe_3303@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-16 10:23:32.759 ***🔗
bOb_subscribe_3303@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='31c8e1ca9ac90908' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_3303@localhost'>

*** User 2024-04-16 10:23:32.759 ***🔗
bOb_subscribe_3303@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-16 10:23:32.759 ***🔗
bOb_subscribe_3303@localhost/res1 out
<iq type='set' id='557a285b84bc6f5101b6ee5a0f12a8d1'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:23:32.759 ***🔗
bOb_subscribe_3303@localhost/res1 in
<iq id='557a285b84bc6f5101b6ee5a0f12a8d1' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_3303@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:23:32.759 ***🔗
bob_subscribe_3303@localhost/res1 out
<iq type='set' id='e4c22470b8cad4003f861f1313d2e640'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:23:32.760 ***🔗
bob_subscribe_3303@localhost/res1 in
<iq from='localhost' to='bob_subscribe_3303@localhost/res1' id='e4c22470b8cad4003f861f1313d2e640' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:23:32.760 ***🔗
bob_subscribe_3303@localhost/res1 out
<presence/>



*** User 2024-04-16 10:23:32.761 ***🔗
bob_subscribe_3303@localhost/res1 in
<presence from='bob_subscribe_3303@localhost/res1' to='bob_subscribe_3303@localhost/res1'/>



*** User 2024-04-16 10:23:32.761 ***🔗
alice_subscribe_3303@localhost/res1 out
<iq type='set' id='f67f0bdf5dd6cf55bc6b437ad4dfa1e0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_3303@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:32.764 ***🔗
alice_subscribe_3303@localhost/res1 in
<iq from='alice_subscribe_3303@localhost' to='alice_subscribe_3303@localhost/res1' id='pushfc475922268b74a8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_3303@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:32.764 ***🔗
alice_subscribe_3303@localhost/res1 out
<iq to='alice_subscribe_3303@localhost' id='pushfc475922268b74a8' type='result'/>



*** User 2024-04-16 10:23:32.764 ***🔗
alice_subscribe_3303@localhost/res1 in
<iq from='alice_subscribe_3303@localhost' to='alice_subscribe_3303@localhost/res1' id='f67f0bdf5dd6cf55bc6b437ad4dfa1e0' type='result'/>



*** User 2024-04-16 10:23:32.764 ***🔗
alice_subscribe_3303@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_3303@localhost'/>



*** User 2024-04-16 10:23:32.767 ***🔗
alice_subscribe_3303@localhost/res1 in
<iq from='alice_subscribe_3303@localhost' to='alice_subscribe_3303@localhost/res1' id='push8b415ef7ae86d79a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_3303@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:32.767 ***🔗
alice_subscribe_3303@localhost/res1 out
<iq to='alice_subscribe_3303@localhost' id='push8b415ef7ae86d79a' type='result'/>



*** User 2024-04-16 10:23:32.768 ***🔗
bob_subscribe_3303@localhost/res1 in
<presence from='alice_subscribe_3303@localhost' to='bob_subscribe_3303@localhost/res1' type='subscribe'/>



*** User 2024-04-16 10:23:32.768 ***🔗
bob_subscribe_3303@localhost/res1 out
<iq type='set' id='32c30194abc7d22da999a8d63e345b81'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_3303@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:32.770 ***🔗
bob_subscribe_3303@localhost/res1 in
<iq from='bob_subscribe_3303@localhost' to='bob_subscribe_3303@localhost/res1' id='push888a003004d676f8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_3303@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:32.770 ***🔗
bob_subscribe_3303@localhost/res1 out
<iq to='bob_subscribe_3303@localhost' id='push888a003004d676f8' type='result'/>



*** User 2024-04-16 10:23:32.770 ***🔗
bob_subscribe_3303@localhost/res1 in
<iq from='bob_subscribe_3303@localhost' to='bob_subscribe_3303@localhost/res1' id='32c30194abc7d22da999a8d63e345b81' type='result'/>



*** User 2024-04-16 10:23:32.770 ***🔗
bob_subscribe_3303@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_3303@localhost'/>



*** User 2024-04-16 10:23:32.774 ***🔗
alice_subscribe_3303@localhost/res1 in
<iq from='alice_subscribe_3303@localhost' to='alice_subscribe_3303@localhost/res1' id='push66287cbf2588f1a4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_3303@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:32.774 ***🔗
alice_subscribe_3303@localhost/res1 in
<presence from='bob_subscribe_3303@localhost' to='alice_subscribe_3303@localhost/res1' type='subscribed'/>



*** User 2024-04-16 10:23:32.774 ***🔗
alice_subscribe_3303@localhost/res1 in
<presence from='bob_subscribe_3303@localhost/res1' to='alice_subscribe_3303@localhost/res1'/>



*** User 2024-04-16 10:23:32.774 ***🔗
bob_subscribe_3303@localhost/res1 in
<iq from='bob_subscribe_3303@localhost' to='bob_subscribe_3303@localhost/res1' id='push6aa97d0d686202fc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_3303@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:23:32.775 ***🔗
bob_subscribe_3303@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:23:32.776 ***🔗
bob_subscribe_3303@localhost/res1 in
</stream:stream>

*** User 2024-04-16 10:23:32.776 ***🔗
alice_subscribe_3303@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:23:32.776 ***🔗
alice_subscribe_3303@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 10:23:32.783 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2327.html



=== Ended at 2024-04-16 10:23:32
=== successfully completed test case
=== === Returned value: ok


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