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

=== Config value:

    [{watchdog,<0.60387.0>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.101432078>,
                         [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@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-13_19.05.27/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@e5832022abeb.2023-11-13_18.57.12/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-13_19.05.27/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@e5832022abeb.2023-11-13_18.57.12"

=== Started at 2023-11-13 19:05:27


*** CT 2023-11-13 19:05:27.913 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2080.html

*** User 2023-11-13 19:05:27.919 ***🔗
alicE_subscribe_2311@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-13 19:05:27.919 ***🔗
alicE_subscribe_2311@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='eb15d563593ca52b' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:05:27.919 ***🔗
alicE_subscribe_2311@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-13 19:05:27.919 ***🔗
alicE_subscribe_2311@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yMzExAG1hdHlncnlzYQ==</auth>



*** User 2023-11-13 19:05:27.920 ***🔗
alicE_subscribe_2311@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:05:27.920 ***🔗
alicE_subscribe_2311@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-13 19:05:27.920 ***🔗
alicE_subscribe_2311@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5881fe73eca713b4' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2311@localhost'>

*** User 2023-11-13 19:05:27.920 ***🔗
alicE_subscribe_2311@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-13 19:05:27.921 ***🔗
alicE_subscribe_2311@localhost/res1 out
<iq type='set' id='b372f143308f5c4987e8e4bd32120694'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:05:27.921 ***🔗
alicE_subscribe_2311@localhost/res1 in
<iq id='b372f143308f5c4987e8e4bd32120694' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2311@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:05:27.921 ***🔗
alice_subscribe_2311@localhost/res1 out
<iq type='set' id='5ec6f1934ba27deef4dbdc71b701187b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:05:27.921 ***🔗
alice_subscribe_2311@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2311@localhost/res1' id='5ec6f1934ba27deef4dbdc71b701187b' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:05:27.922 ***🔗
alice_subscribe_2311@localhost/res1 out
<presence/>



*** User 2023-11-13 19:05:27.922 ***🔗
alice_subscribe_2311@localhost/res1 in
<presence from='alice_subscribe_2311@localhost/res1' to='alice_subscribe_2311@localhost/res1'/>



*** User 2023-11-13 19:05:27.923 ***🔗
bOb_subscribe_2311@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-13 19:05:27.923 ***🔗
bOb_subscribe_2311@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='f00eeec5797bad60' from='localhost' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:05:27.923 ***🔗
bOb_subscribe_2311@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-13 19:05:27.923 ***🔗
bOb_subscribe_2311@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjMxMQBtYWtyb2xpa2E=</auth>



*** User 2023-11-13 19:05:27.924 ***🔗
bOb_subscribe_2311@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:05:27.924 ***🔗
bOb_subscribe_2311@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-13 19:05:27.924 ***🔗
bOb_subscribe_2311@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='11b6128b10a2cb89' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2311@localhost'>

*** User 2023-11-13 19:05:27.924 ***🔗
bOb_subscribe_2311@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-13 19:05:27.924 ***🔗
bOb_subscribe_2311@localhost/res1 out
<iq type='set' id='0569f5dece6db90654588646d8facefb'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:05:27.924 ***🔗
bOb_subscribe_2311@localhost/res1 in
<iq id='0569f5dece6db90654588646d8facefb' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2311@localhost/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:05:27.925 ***🔗
bob_subscribe_2311@localhost/res1 out
<iq type='set' id='76bdbab9c84d98d4068027e77800a6f4'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:05:27.925 ***🔗
bob_subscribe_2311@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2311@localhost/res1' id='76bdbab9c84d98d4068027e77800a6f4' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:05:27.925 ***🔗
bob_subscribe_2311@localhost/res1 out
<presence/>



*** User 2023-11-13 19:05:27.926 ***🔗
bob_subscribe_2311@localhost/res1 in
<presence from='bob_subscribe_2311@localhost/res1' to='bob_subscribe_2311@localhost/res1'/>



*** User 2023-11-13 19:05:27.926 ***🔗
alice_subscribe_2311@localhost/res1 out
<iq type='set' id='8f4be742d7d944496de52a7ae7735665'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2311@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:05:27.928 ***🔗
alice_subscribe_2311@localhost/res1 in
<iq from='alice_subscribe_2311@localhost' to='alice_subscribe_2311@localhost/res1' id='push0c9b180003a0e06c' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_2311@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:05:27.928 ***🔗
alice_subscribe_2311@localhost/res1 out
<iq to='alice_subscribe_2311@localhost' id='push0c9b180003a0e06c' type='result'/>



*** User 2023-11-13 19:05:27.928 ***🔗
alice_subscribe_2311@localhost/res1 in
<iq from='alice_subscribe_2311@localhost' to='alice_subscribe_2311@localhost/res1' id='8f4be742d7d944496de52a7ae7735665' type='result'/>



*** User 2023-11-13 19:05:27.928 ***🔗
alice_subscribe_2311@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2311@localhost'/>



*** User 2023-11-13 19:05:27.931 ***🔗
alice_subscribe_2311@localhost/res1 in
<iq from='alice_subscribe_2311@localhost' to='alice_subscribe_2311@localhost/res1' id='push3c09f06f80e3da24' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_2311@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:05:27.931 ***🔗
alice_subscribe_2311@localhost/res1 out
<iq to='alice_subscribe_2311@localhost' id='push3c09f06f80e3da24' type='result'/>



*** User 2023-11-13 19:05:27.931 ***🔗
bob_subscribe_2311@localhost/res1 in
<presence from='alice_subscribe_2311@localhost' to='bob_subscribe_2311@localhost/res1' type='subscribe'/>



*** User 2023-11-13 19:05:27.931 ***🔗
bob_subscribe_2311@localhost/res1 out
<iq type='set' id='a8774d8b0f74729d0e47383c3fb137f3'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2311@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:05:27.932 ***🔗
bob_subscribe_2311@localhost/res1 in
<iq from='bob_subscribe_2311@localhost' to='bob_subscribe_2311@localhost/res1' id='pushd64c5baf0eb47db2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_2311@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:05:27.933 ***🔗
bob_subscribe_2311@localhost/res1 out
<iq to='bob_subscribe_2311@localhost' id='pushd64c5baf0eb47db2' type='result'/>



*** User 2023-11-13 19:05:27.933 ***🔗
bob_subscribe_2311@localhost/res1 in
<iq from='bob_subscribe_2311@localhost' to='bob_subscribe_2311@localhost/res1' id='a8774d8b0f74729d0e47383c3fb137f3' type='result'/>



*** User 2023-11-13 19:05:27.933 ***🔗
bob_subscribe_2311@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2311@localhost'/>



*** User 2023-11-13 19:05:27.935 ***🔗
alice_subscribe_2311@localhost/res1 in
<iq from='alice_subscribe_2311@localhost' to='alice_subscribe_2311@localhost/res1' id='push8b88db830ab090f2' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_2311@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:05:27.936 ***🔗
alice_subscribe_2311@localhost/res1 in
<presence from='bob_subscribe_2311@localhost' to='alice_subscribe_2311@localhost/res1' type='subscribed'/>



*** User 2023-11-13 19:05:27.936 ***🔗
alice_subscribe_2311@localhost/res1 in
<presence from='bob_subscribe_2311@localhost/res1' to='alice_subscribe_2311@localhost/res1'/>



*** User 2023-11-13 19:05:27.936 ***🔗
bob_subscribe_2311@localhost/res1 in
<iq from='bob_subscribe_2311@localhost' to='bob_subscribe_2311@localhost/res1' id='push12ad340674c8651e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_2311@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:05:27.937 ***🔗
bob_subscribe_2311@localhost/res1 out
</stream:stream>

*** User 2023-11-13 19:05:27.937 ***🔗
bob_subscribe_2311@localhost/res1 in
</stream:stream>

*** User 2023-11-13 19:05:27.937 ***🔗
alice_subscribe_2311@localhost/res1 out
</stream:stream>

*** User 2023-11-13 19:05:27.937 ***🔗
alice_subscribe_2311@localhost/res1 in
</stream:stream>
*** CT 2023-11-13 19:05:27.942 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2080.html



=== Ended at 2023-11-13 19:05:27
=== successfully completed test case
=== === Returned value: ok


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