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

=== Config value:

    [{watchdog,<0.58531.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_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@48902645c190.2024-04-23_06.26.59/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-23_06.35.46/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@48902645c190.2024-04-23_06.26.59/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-23_06.35.46/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@48902645c190.2024-04-23_06.26.59"

=== Started at 2024-04-23 06:35:47


*** CT 2024-04-23 06:35:47.399 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2974.html

*** User 2024-04-23 06:35:47.405 ***🔗
alicE_subscribe_2297@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-23 06:35:47.406 ***🔗
alicE_subscribe_2297@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='79dd6dfd18a53b8a' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:35:47.406 ***🔗
alicE_subscribe_2297@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-23 06:35:47.406 ***🔗
alicE_subscribe_2297@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yMjk3AG1hdHlncnlzYQ==</auth>



*** User 2024-04-23 06:35:47.407 ***🔗
alicE_subscribe_2297@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 06:35:47.407 ***🔗
alicE_subscribe_2297@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-23 06:35:47.407 ***🔗
alicE_subscribe_2297@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e2d25fa93e85d701' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2297@localhost'>

*** User 2024-04-23 06:35:47.407 ***🔗
alicE_subscribe_2297@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-23 06:35:47.407 ***🔗
alicE_subscribe_2297@localhost/res1 out
<iq type='set' id='e675d443608ec71bce19deece7a42a6b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 06:35:47.407 ***🔗
alicE_subscribe_2297@localhost/res1 in
<iq id='e675d443608ec71bce19deece7a42a6b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2297@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 06:35:47.407 ***🔗
alice_subscribe_2297@localhost/res1 out
<iq type='set' id='2c2b9b4c7aa12d8fdad399b0988ec57e'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:35:47.408 ***🔗
alice_subscribe_2297@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2297@localhost/res1' id='2c2b9b4c7aa12d8fdad399b0988ec57e' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:35:47.408 ***🔗
alice_subscribe_2297@localhost/res1 out
<presence/>



*** User 2024-04-23 06:35:47.409 ***🔗
alice_subscribe_2297@localhost/res1 in
<presence from='alice_subscribe_2297@localhost/res1' to='alice_subscribe_2297@localhost/res1'/>



*** User 2024-04-23 06:35:47.409 ***🔗
bOb_subscribe_2297@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-23 06:35:47.410 ***🔗
bOb_subscribe_2297@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cbf98c9f2253fc2d' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-23 06:35:47.410 ***🔗
bOb_subscribe_2297@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-23 06:35:47.410 ***🔗
bOb_subscribe_2297@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjI5NwBtYWtyb2xpa2E=</auth>



*** User 2024-04-23 06:35:47.411 ***🔗
bOb_subscribe_2297@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-23 06:35:47.411 ***🔗
bOb_subscribe_2297@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-23 06:35:47.411 ***🔗
bOb_subscribe_2297@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1de8ca5d91dd5b4f' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2297@localhost'>

*** User 2024-04-23 06:35:47.411 ***🔗
bOb_subscribe_2297@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-23 06:35:47.411 ***🔗
bOb_subscribe_2297@localhost/res1 out
<iq type='set' id='dc893c06f42b56cbeb7562ffdfc78935'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-23 06:35:47.411 ***🔗
bOb_subscribe_2297@localhost/res1 in
<iq id='dc893c06f42b56cbeb7562ffdfc78935' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2297@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-23 06:35:47.411 ***🔗
bob_subscribe_2297@localhost/res1 out
<iq type='set' id='56f279db2ac66a511e542cff7cc1e6a3'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:35:47.412 ***🔗
bob_subscribe_2297@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2297@localhost/res1' id='56f279db2ac66a511e542cff7cc1e6a3' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-23 06:35:47.412 ***🔗
bob_subscribe_2297@localhost/res1 out
<presence/>



*** User 2024-04-23 06:35:47.413 ***🔗
bob_subscribe_2297@localhost/res1 in
<presence from='bob_subscribe_2297@localhost/res1' to='bob_subscribe_2297@localhost/res1'/>



*** User 2024-04-23 06:35:47.413 ***🔗
alice_subscribe_2297@localhost/res1 out
<iq type='set' id='3f78e9901dd20e5e8783e9ce883cb491'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2297@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.415 ***🔗
alice_subscribe_2297@localhost/res1 in
<iq from='alice_subscribe_2297@localhost' to='alice_subscribe_2297@localhost/res1' id='pushbc0ae5146822805d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2297@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.415 ***🔗
alice_subscribe_2297@localhost/res1 out
<iq to='alice_subscribe_2297@localhost' id='pushbc0ae5146822805d' type='result'/>



*** User 2024-04-23 06:35:47.415 ***🔗
alice_subscribe_2297@localhost/res1 in
<iq from='alice_subscribe_2297@localhost' to='alice_subscribe_2297@localhost/res1' id='3f78e9901dd20e5e8783e9ce883cb491' type='result'/>



*** User 2024-04-23 06:35:47.415 ***🔗
alice_subscribe_2297@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2297@localhost'/>



*** User 2024-04-23 06:35:47.417 ***🔗
alice_subscribe_2297@localhost/res1 in
<iq from='alice_subscribe_2297@localhost' to='alice_subscribe_2297@localhost/res1' id='pushcd121ecaeb67b8b4' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2297@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.417 ***🔗
alice_subscribe_2297@localhost/res1 out
<iq to='alice_subscribe_2297@localhost' id='pushcd121ecaeb67b8b4' type='result'/>



*** User 2024-04-23 06:35:47.417 ***🔗
bob_subscribe_2297@localhost/res1 in
<presence from='alice_subscribe_2297@localhost' to='bob_subscribe_2297@localhost/res1' type='subscribe'/>



*** User 2024-04-23 06:35:47.417 ***🔗
bob_subscribe_2297@localhost/res1 out
<iq type='set' id='76271886c54804cc89d4338182119df5'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2297@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.419 ***🔗
bob_subscribe_2297@localhost/res1 in
<iq from='bob_subscribe_2297@localhost' to='bob_subscribe_2297@localhost/res1' id='pushb4de4f4a31bcf184' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2297@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.419 ***🔗
bob_subscribe_2297@localhost/res1 out
<iq to='bob_subscribe_2297@localhost' id='pushb4de4f4a31bcf184' type='result'/>



*** User 2024-04-23 06:35:47.419 ***🔗
bob_subscribe_2297@localhost/res1 in
<iq from='bob_subscribe_2297@localhost' to='bob_subscribe_2297@localhost/res1' id='76271886c54804cc89d4338182119df5' type='result'/>



*** User 2024-04-23 06:35:47.419 ***🔗
bob_subscribe_2297@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2297@localhost'/>



*** User 2024-04-23 06:35:47.422 ***🔗
alice_subscribe_2297@localhost/res1 in
<iq from='alice_subscribe_2297@localhost' to='alice_subscribe_2297@localhost/res1' id='push250723a147af810e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2297@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.422 ***🔗
alice_subscribe_2297@localhost/res1 in
<presence from='bob_subscribe_2297@localhost' to='alice_subscribe_2297@localhost/res1' type='subscribed'/>



*** User 2024-04-23 06:35:47.422 ***🔗
alice_subscribe_2297@localhost/res1 in
<presence from='bob_subscribe_2297@localhost/res1' to='alice_subscribe_2297@localhost/res1'/>



*** User 2024-04-23 06:35:47.422 ***🔗
bob_subscribe_2297@localhost/res1 in
<iq from='bob_subscribe_2297@localhost' to='bob_subscribe_2297@localhost/res1' id='push0bc14315a5e356d5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2297@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-23 06:35:47.423 ***🔗
bob_subscribe_2297@localhost/res1 out
</stream:stream>

*** User 2024-04-23 06:35:47.423 ***🔗
bob_subscribe_2297@localhost/res1 in
</stream:stream>

*** User 2024-04-23 06:35:47.423 ***🔗
alice_subscribe_2297@localhost/res1 out
</stream:stream>

*** User 2024-04-23 06:35:47.423 ***🔗
alice_subscribe_2297@localhost/res1 in
</stream:stream>
*** CT 2024-04-23 06:35:47.428 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2974.html



=== Ended at 2024-04-23 06:35:47
=== successfully completed test case
=== === Returned value: ok


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