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

=== Config value:

    [{watchdog,<0.15751.2>},
     {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@2336f6dfd92e.2024-04-16_10.11.39/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_10.22.14/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@2336f6dfd92e.2024-04-16_10.11.39/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_10.22.14/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@2336f6dfd92e.2024-04-16_10.11.39"

=== Started at 2024-04-16 10:22:15


*** CT 2024-04-16 10:22:15.030 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2314.html

*** User 2024-04-16 10:22:15.037 ***🔗
alicE_subscribe_3242@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:22:15.037 ***🔗
alicE_subscribe_3242@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='48c7b36584a6f45f' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-16 10:22:15.038 ***🔗
alicE_subscribe_3242@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:22:15.038 ***🔗
alicE_subscribe_3242@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e9c77921ccdb848d' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_3242@localhost'>

*** User 2024-04-16 10:22:15.038 ***🔗
alicE_subscribe_3242@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:22:15.039 ***🔗
alicE_subscribe_3242@localhost/res1 out
<iq type='set' id='81babe1f542b91ca5e66f45329c23f60'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:22:15.039 ***🔗
alicE_subscribe_3242@localhost/res1 in
<iq id='81babe1f542b91ca5e66f45329c23f60' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_3242@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:22:15.039 ***🔗
alice_subscribe_3242@localhost/res1 out
<iq type='set' id='512ea72e1a2985f54d752249efd57595'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:22:15.039 ***🔗
alice_subscribe_3242@localhost/res1 in
<iq from='localhost' to='alice_subscribe_3242@localhost/res1' id='512ea72e1a2985f54d752249efd57595' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:22:15.039 ***🔗
alice_subscribe_3242@localhost/res1 out
<presence/>



*** User 2024-04-16 10:22:15.040 ***🔗
alice_subscribe_3242@localhost/res1 in
<presence from='alice_subscribe_3242@localhost/res1' to='alice_subscribe_3242@localhost/res1'/>



*** User 2024-04-16 10:22:15.040 ***🔗
bOb_subscribe_3242@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:22:15.041 ***🔗
bOb_subscribe_3242@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9c26b717c39fd984' from='localhost' version='1.0' xml:lang='en'>

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



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



*** User 2024-04-16 10:22:15.042 ***🔗
bOb_subscribe_3242@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:22:15.042 ***🔗
bOb_subscribe_3242@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='022a670645745fc4' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_3242@localhost'>

*** User 2024-04-16 10:22:15.042 ***🔗
bOb_subscribe_3242@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:22:15.042 ***🔗
bOb_subscribe_3242@localhost/res1 out
<iq type='set' id='313bc9fd2f401505cd206986a4e7b6dd'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 10:22:15.042 ***🔗
bOb_subscribe_3242@localhost/res1 in
<iq id='313bc9fd2f401505cd206986a4e7b6dd' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_3242@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 10:22:15.042 ***🔗
bob_subscribe_3242@localhost/res1 out
<iq type='set' id='9c29f068edc15edb086dbd5770d16546'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:22:15.043 ***🔗
bob_subscribe_3242@localhost/res1 in
<iq from='localhost' to='bob_subscribe_3242@localhost/res1' id='9c29f068edc15edb086dbd5770d16546' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 10:22:15.043 ***🔗
bob_subscribe_3242@localhost/res1 out
<presence/>



*** User 2024-04-16 10:22:15.043 ***🔗
bob_subscribe_3242@localhost/res1 in
<presence from='bob_subscribe_3242@localhost/res1' to='bob_subscribe_3242@localhost/res1'/>



*** User 2024-04-16 10:22:15.044 ***🔗
alice_subscribe_3242@localhost/res1 out
<iq type='set' id='b2c976d27a2ba7966c13beb236ab710f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_3242@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:15.046 ***🔗
alice_subscribe_3242@localhost/res1 in
<iq from='alice_subscribe_3242@localhost' to='alice_subscribe_3242@localhost/res1' id='push5f34277c0b1acdb6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_3242@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:15.046 ***🔗
alice_subscribe_3242@localhost/res1 out
<iq to='alice_subscribe_3242@localhost' id='push5f34277c0b1acdb6' type='result'/>



*** User 2024-04-16 10:22:15.046 ***🔗
alice_subscribe_3242@localhost/res1 in
<iq from='alice_subscribe_3242@localhost' to='alice_subscribe_3242@localhost/res1' id='b2c976d27a2ba7966c13beb236ab710f' type='result'/>



*** User 2024-04-16 10:22:15.046 ***🔗
alice_subscribe_3242@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_3242@localhost'/>



*** User 2024-04-16 10:22:15.048 ***🔗
alice_subscribe_3242@localhost/res1 in
<iq from='alice_subscribe_3242@localhost' to='alice_subscribe_3242@localhost/res1' id='push61489a1d20149026' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_3242@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:15.049 ***🔗
alice_subscribe_3242@localhost/res1 out
<iq to='alice_subscribe_3242@localhost' id='push61489a1d20149026' type='result'/>



*** User 2024-04-16 10:22:15.049 ***🔗
bob_subscribe_3242@localhost/res1 in
<presence from='alice_subscribe_3242@localhost' to='bob_subscribe_3242@localhost/res1' type='subscribe'/>



*** User 2024-04-16 10:22:15.049 ***🔗
bob_subscribe_3242@localhost/res1 out
<iq type='set' id='3ef1f812fc505cfea7c5cf78edd83bdd'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_3242@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:15.051 ***🔗
bob_subscribe_3242@localhost/res1 in
<iq from='bob_subscribe_3242@localhost' to='bob_subscribe_3242@localhost/res1' id='push5778e27d8296885a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_3242@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:15.051 ***🔗
bob_subscribe_3242@localhost/res1 out
<iq to='bob_subscribe_3242@localhost' id='push5778e27d8296885a' type='result'/>



*** User 2024-04-16 10:22:15.051 ***🔗
bob_subscribe_3242@localhost/res1 in
<iq from='bob_subscribe_3242@localhost' to='bob_subscribe_3242@localhost/res1' id='3ef1f812fc505cfea7c5cf78edd83bdd' type='result'/>



*** User 2024-04-16 10:22:15.051 ***🔗
bob_subscribe_3242@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_3242@localhost'/>



*** User 2024-04-16 10:22:15.054 ***🔗
alice_subscribe_3242@localhost/res1 in
<iq from='alice_subscribe_3242@localhost' to='alice_subscribe_3242@localhost/res1' id='pushe80cea6eda4b43f4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_3242@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:15.054 ***🔗
alice_subscribe_3242@localhost/res1 in
<presence from='bob_subscribe_3242@localhost' to='alice_subscribe_3242@localhost/res1' type='subscribed'/>



*** User 2024-04-16 10:22:15.054 ***🔗
alice_subscribe_3242@localhost/res1 in
<presence from='bob_subscribe_3242@localhost/res1' to='alice_subscribe_3242@localhost/res1'/>



*** User 2024-04-16 10:22:15.055 ***🔗
bob_subscribe_3242@localhost/res1 in
<iq from='bob_subscribe_3242@localhost' to='bob_subscribe_3242@localhost/res1' id='push490f7ddaf8c321b8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_3242@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 10:22:15.056 ***🔗
bob_subscribe_3242@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:22:15.056 ***🔗
bob_subscribe_3242@localhost/res1 in
</stream:stream>

*** User 2024-04-16 10:22:15.056 ***🔗
alice_subscribe_3242@localhost/res1 out
</stream:stream>

*** User 2024-04-16 10:22:15.056 ***🔗
alice_subscribe_3242@localhost/res1 in
</stream:stream>
*** CT 2024-04-16 10:22:15.062 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2314.html



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


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