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

=== Config value:

    [{watchdog,<0.58510.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@b1facb53901b.2024-04-30_06.47.40/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-30_06.58.39/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@b1facb53901b.2024-04-30_06.47.40/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-30_06.58.39/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@b1facb53901b.2024-04-30_06.47.40"

=== Started at 2024-04-30 06:58:40


*** CT 2024-04-30 06:58:40.306 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2961.html

*** User 2024-04-30 06:58:40.312 ***🔗
alicE_subscribe_2332@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-30 06:58:40.312 ***🔗
alicE_subscribe_2332@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6d44af1f36f25576' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-30 06:58:40.312 ***🔗
alicE_subscribe_2332@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-30 06:58:40.312 ***🔗
alicE_subscribe_2332@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yMzMyAG1hdHlncnlzYQ==</auth>



*** User 2024-04-30 06:58:40.313 ***🔗
alicE_subscribe_2332@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-30 06:58:40.313 ***🔗
alicE_subscribe_2332@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-30 06:58:40.313 ***🔗
alicE_subscribe_2332@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1e63e1091dab7b34' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2332@localhost'>

*** User 2024-04-30 06:58:40.314 ***🔗
alicE_subscribe_2332@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-30 06:58:40.314 ***🔗
alicE_subscribe_2332@localhost/res1 out
<iq type='set' id='d6fa99536c03e498d7402bd54f6f9829'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-30 06:58:40.314 ***🔗
alicE_subscribe_2332@localhost/res1 in
<iq id='d6fa99536c03e498d7402bd54f6f9829' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2332@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-30 06:58:40.314 ***🔗
alice_subscribe_2332@localhost/res1 out
<iq type='set' id='c39e2c8f7b40f831eb030625dd40c4d6'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-30 06:58:40.315 ***🔗
alice_subscribe_2332@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2332@localhost/res1' id='c39e2c8f7b40f831eb030625dd40c4d6' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-30 06:58:40.315 ***🔗
alice_subscribe_2332@localhost/res1 out
<presence/>



*** User 2024-04-30 06:58:40.316 ***🔗
alice_subscribe_2332@localhost/res1 in
<presence from='alice_subscribe_2332@localhost/res1' to='alice_subscribe_2332@localhost/res1'/>



*** User 2024-04-30 06:58:40.316 ***🔗
bOb_subscribe_2332@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-30 06:58:40.316 ***🔗
bOb_subscribe_2332@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='7ab6e58eed5ef304' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-04-30 06:58:40.316 ***🔗
bOb_subscribe_2332@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-30 06:58:40.317 ***🔗
bOb_subscribe_2332@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjMzMgBtYWtyb2xpa2E=</auth>



*** User 2024-04-30 06:58:40.317 ***🔗
bOb_subscribe_2332@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-30 06:58:40.317 ***🔗
bOb_subscribe_2332@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-30 06:58:40.317 ***🔗
bOb_subscribe_2332@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='76c99f74fadbb368' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2332@localhost'>

*** User 2024-04-30 06:58:40.318 ***🔗
bOb_subscribe_2332@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-30 06:58:40.318 ***🔗
bOb_subscribe_2332@localhost/res1 out
<iq type='set' id='deb91a45b6af2275e3a1c51d9bf53938'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-30 06:58:40.318 ***🔗
bOb_subscribe_2332@localhost/res1 in
<iq id='deb91a45b6af2275e3a1c51d9bf53938' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2332@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-04-30 06:58:40.318 ***🔗
bob_subscribe_2332@localhost/res1 out
<iq type='set' id='15c2cccf02a426a8cd0217e586a81a26'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-30 06:58:40.318 ***🔗
bob_subscribe_2332@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2332@localhost/res1' id='15c2cccf02a426a8cd0217e586a81a26' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-30 06:58:40.319 ***🔗
bob_subscribe_2332@localhost/res1 out
<presence/>



*** User 2024-04-30 06:58:40.320 ***🔗
bob_subscribe_2332@localhost/res1 in
<presence from='bob_subscribe_2332@localhost/res1' to='bob_subscribe_2332@localhost/res1'/>



*** User 2024-04-30 06:58:40.320 ***🔗
alice_subscribe_2332@localhost/res1 out
<iq type='set' id='a3f9a897ceff52f054a3afc40a24608c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2332@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-30 06:58:40.322 ***🔗
alice_subscribe_2332@localhost/res1 in
<iq from='alice_subscribe_2332@localhost' to='alice_subscribe_2332@localhost/res1' id='push61c11dee41c33c3e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2332@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-30 06:58:40.322 ***🔗
alice_subscribe_2332@localhost/res1 out
<iq to='alice_subscribe_2332@localhost' id='push61c11dee41c33c3e' type='result'/>



*** User 2024-04-30 06:58:40.322 ***🔗
alice_subscribe_2332@localhost/res1 in
<iq from='alice_subscribe_2332@localhost' to='alice_subscribe_2332@localhost/res1' id='a3f9a897ceff52f054a3afc40a24608c' type='result'/>



*** User 2024-04-30 06:58:40.322 ***🔗
alice_subscribe_2332@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2332@localhost'/>



*** User 2024-04-30 06:58:40.324 ***🔗
alice_subscribe_2332@localhost/res1 in
<iq from='alice_subscribe_2332@localhost' to='alice_subscribe_2332@localhost/res1' id='pushce97576a58efb28a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2332@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-30 06:58:40.325 ***🔗
alice_subscribe_2332@localhost/res1 out
<iq to='alice_subscribe_2332@localhost' id='pushce97576a58efb28a' type='result'/>



*** User 2024-04-30 06:58:40.325 ***🔗
bob_subscribe_2332@localhost/res1 in
<presence from='alice_subscribe_2332@localhost' to='bob_subscribe_2332@localhost/res1' type='subscribe'/>



*** User 2024-04-30 06:58:40.325 ***🔗
bob_subscribe_2332@localhost/res1 out
<iq type='set' id='bb46e719d5421165a7712c10e24bc3aa'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2332@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-30 06:58:40.326 ***🔗
bob_subscribe_2332@localhost/res1 in
<iq from='bob_subscribe_2332@localhost' to='bob_subscribe_2332@localhost/res1' id='push65858211d5edb87e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2332@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-30 06:58:40.326 ***🔗
bob_subscribe_2332@localhost/res1 out
<iq to='bob_subscribe_2332@localhost' id='push65858211d5edb87e' type='result'/>



*** User 2024-04-30 06:58:40.326 ***🔗
bob_subscribe_2332@localhost/res1 in
<iq from='bob_subscribe_2332@localhost' to='bob_subscribe_2332@localhost/res1' id='bb46e719d5421165a7712c10e24bc3aa' type='result'/>



*** User 2024-04-30 06:58:40.327 ***🔗
bob_subscribe_2332@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2332@localhost'/>



*** User 2024-04-30 06:58:40.330 ***🔗
alice_subscribe_2332@localhost/res1 in
<iq from='alice_subscribe_2332@localhost' to='alice_subscribe_2332@localhost/res1' id='push73bd8455eaaf79aa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2332@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-30 06:58:40.330 ***🔗
alice_subscribe_2332@localhost/res1 in
<presence from='bob_subscribe_2332@localhost' to='alice_subscribe_2332@localhost/res1' type='subscribed'/>



*** User 2024-04-30 06:58:40.330 ***🔗
alice_subscribe_2332@localhost/res1 in
<presence from='bob_subscribe_2332@localhost/res1' to='alice_subscribe_2332@localhost/res1'/>



*** User 2024-04-30 06:58:40.330 ***🔗
bob_subscribe_2332@localhost/res1 in
<iq from='bob_subscribe_2332@localhost' to='bob_subscribe_2332@localhost/res1' id='pushbf8249d101ed2ab7' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2332@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-30 06:58:40.331 ***🔗
bob_subscribe_2332@localhost/res1 out
</stream:stream>

*** User 2024-04-30 06:58:40.331 ***🔗
bob_subscribe_2332@localhost/res1 in
</stream:stream>

*** User 2024-04-30 06:58:40.331 ***🔗
alice_subscribe_2332@localhost/res1 out
</stream:stream>

*** User 2024-04-30 06:58:40.332 ***🔗
alice_subscribe_2332@localhost/res1 in
</stream:stream>
*** CT 2024-04-30 06:58:40.343 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2961.html



=== Ended at 2024-04-30 06:58:40
=== successfully completed test case
=== === Returned value: ok


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