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

=== Config value:

    [{watchdog,<0.30111.0>},
     {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,"ldap_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@f79facad4ed7.2024-01-15_11.58.37/big_tests.tests.metrics_roster_SUITE.logs/run.2024-01-15_12.04.38/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@f79facad4ed7.2024-01-15_11.58.37/big_tests.tests.metrics_roster_SUITE.logs/run.2024-01-15_12.04.38/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@f79facad4ed7.2024-01-15_11.58.37"

=== Started at 2024-01-15 12:04:39


*** CT 2024-01-15 12:04:39.273 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1863.html

*** User 2024-01-15 12:04:39.279 ***🔗
alicE_subscribe_1055@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-01-15 12:04:39.279 ***🔗
alicE_subscribe_1055@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0b979bf1f054dc50' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-01-15 12:04:39.279 ***🔗
alicE_subscribe_1055@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-01-15 12:04:39.280 ***🔗
alicE_subscribe_1055@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8xMDU1AG1hdHlncnlzYQ==</auth>



*** User 2024-01-15 12:04:39.280 ***🔗
alicE_subscribe_1055@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-15 12:04:39.280 ***🔗
alicE_subscribe_1055@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-01-15 12:04:39.281 ***🔗
alicE_subscribe_1055@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='152759b33170a02b' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_1055@localhost'>

*** User 2024-01-15 12:04:39.281 ***🔗
alicE_subscribe_1055@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-01-15 12:04:39.281 ***🔗
alicE_subscribe_1055@localhost/res1 out
<iq type='set' id='a57d16f3031f7fdecc7777883632f2f9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-15 12:04:39.281 ***🔗
alicE_subscribe_1055@localhost/res1 in
<iq id='a57d16f3031f7fdecc7777883632f2f9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_1055@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-01-15 12:04:39.281 ***🔗
alice_subscribe_1055@localhost/res1 out
<iq type='set' id='c69612dde5e7183576563b14c061a006'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:04:39.281 ***🔗
alice_subscribe_1055@localhost/res1 in
<iq from='localhost' to='alice_subscribe_1055@localhost/res1' id='c69612dde5e7183576563b14c061a006' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:04:39.282 ***🔗
alice_subscribe_1055@localhost/res1 out
<presence/>



*** User 2024-01-15 12:04:39.282 ***🔗
alice_subscribe_1055@localhost/res1 in
<presence from='alice_subscribe_1055@localhost/res1' to='alice_subscribe_1055@localhost/res1'/>



*** User 2024-01-15 12:04:39.282 ***🔗
bOb_subscribe_1055@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-01-15 12:04:39.283 ***🔗
bOb_subscribe_1055@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c28ee694261d27ef' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-01-15 12:04:39.283 ***🔗
bOb_subscribe_1055@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>PLAIN</mechanism>
	</mechanisms>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2024-01-15 12:04:39.283 ***🔗
bOb_subscribe_1055@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMTA1NQBtYWtyb2xpa2E=</auth>



*** User 2024-01-15 12:04:39.284 ***🔗
bOb_subscribe_1055@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-01-15 12:04:39.284 ***🔗
bOb_subscribe_1055@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-01-15 12:04:39.284 ***🔗
bOb_subscribe_1055@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='78772258d5070628' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_1055@localhost'>

*** User 2024-01-15 12:04:39.284 ***🔗
bOb_subscribe_1055@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-01-15 12:04:39.284 ***🔗
bOb_subscribe_1055@localhost/res1 out
<iq type='set' id='4ecb8ddab3a0449968ccb4866354a18a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-01-15 12:04:39.284 ***🔗
bOb_subscribe_1055@localhost/res1 in
<iq id='4ecb8ddab3a0449968ccb4866354a18a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_1055@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-01-15 12:04:39.285 ***🔗
bob_subscribe_1055@localhost/res1 out
<iq type='set' id='97b0d23cec7db1f7298a18077a314036'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:04:39.285 ***🔗
bob_subscribe_1055@localhost/res1 in
<iq from='localhost' to='bob_subscribe_1055@localhost/res1' id='97b0d23cec7db1f7298a18077a314036' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:04:39.285 ***🔗
bob_subscribe_1055@localhost/res1 out
<presence/>



*** User 2024-01-15 12:04:39.285 ***🔗
bob_subscribe_1055@localhost/res1 in
<presence from='bob_subscribe_1055@localhost/res1' to='bob_subscribe_1055@localhost/res1'/>



*** User 2024-01-15 12:04:39.285 ***🔗
alice_subscribe_1055@localhost/res1 out
<iq type='set' id='566356932c90ff45b667cc78646d7574'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_1055@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:04:39.286 ***🔗
alice_subscribe_1055@localhost/res1 in
<iq from='alice_subscribe_1055@localhost' to='alice_subscribe_1055@localhost/res1' id='push88dfb8d9075e40c1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_1055@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:04:39.286 ***🔗
alice_subscribe_1055@localhost/res1 out
<iq to='alice_subscribe_1055@localhost' id='push88dfb8d9075e40c1' type='result'/>



*** User 2024-01-15 12:04:39.286 ***🔗
alice_subscribe_1055@localhost/res1 in
<iq from='alice_subscribe_1055@localhost' to='alice_subscribe_1055@localhost/res1' id='566356932c90ff45b667cc78646d7574' type='result'/>



*** User 2024-01-15 12:04:39.286 ***🔗
alice_subscribe_1055@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_1055@localhost'/>



*** User 2024-01-15 12:04:39.287 ***🔗
alice_subscribe_1055@localhost/res1 in
<iq from='alice_subscribe_1055@localhost' to='alice_subscribe_1055@localhost/res1' id='push975d5705fd1fb14a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_1055@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:04:39.288 ***🔗
alice_subscribe_1055@localhost/res1 out
<iq to='alice_subscribe_1055@localhost' id='push975d5705fd1fb14a' type='result'/>



*** User 2024-01-15 12:04:39.288 ***🔗
bob_subscribe_1055@localhost/res1 in
<presence from='alice_subscribe_1055@localhost' to='bob_subscribe_1055@localhost/res1' type='subscribe'/>



*** User 2024-01-15 12:04:39.288 ***🔗
bob_subscribe_1055@localhost/res1 out
<iq type='set' id='8e809eb74b391877a1b5aae9b850143d'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_1055@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:04:39.288 ***🔗
bob_subscribe_1055@localhost/res1 in
<iq from='bob_subscribe_1055@localhost' to='bob_subscribe_1055@localhost/res1' id='push4d2e199016469ba0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_1055@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:04:39.288 ***🔗
bob_subscribe_1055@localhost/res1 out
<iq to='bob_subscribe_1055@localhost' id='push4d2e199016469ba0' type='result'/>



*** User 2024-01-15 12:04:39.288 ***🔗
bob_subscribe_1055@localhost/res1 in
<iq from='bob_subscribe_1055@localhost' to='bob_subscribe_1055@localhost/res1' id='8e809eb74b391877a1b5aae9b850143d' type='result'/>



*** User 2024-01-15 12:04:39.288 ***🔗
bob_subscribe_1055@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_1055@localhost'/>



*** User 2024-01-15 12:04:39.290 ***🔗
alice_subscribe_1055@localhost/res1 in
<iq from='alice_subscribe_1055@localhost' to='alice_subscribe_1055@localhost/res1' id='push1adaf3e6c0ac5925' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_1055@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:04:39.290 ***🔗
alice_subscribe_1055@localhost/res1 in
<presence from='bob_subscribe_1055@localhost' to='alice_subscribe_1055@localhost/res1' type='subscribed'/>



*** User 2024-01-15 12:04:39.290 ***🔗
alice_subscribe_1055@localhost/res1 in
<presence from='bob_subscribe_1055@localhost/res1' to='alice_subscribe_1055@localhost/res1'/>



*** User 2024-01-15 12:04:39.290 ***🔗
bob_subscribe_1055@localhost/res1 in
<iq from='bob_subscribe_1055@localhost' to='bob_subscribe_1055@localhost/res1' id='pushf074d45a883efee1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_1055@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:04:39.291 ***🔗
bob_subscribe_1055@localhost/res1 out
</stream:stream>

*** User 2024-01-15 12:04:39.291 ***🔗
bob_subscribe_1055@localhost/res1 in
</stream:stream>

*** User 2024-01-15 12:04:39.291 ***🔗
alice_subscribe_1055@localhost/res1 out
</stream:stream>

*** User 2024-01-15 12:04:39.291 ***🔗
alice_subscribe_1055@localhost/res1 in
</stream:stream>
*** CT 2024-01-15 12:04:39.293 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1863.html



=== Ended at 2024-01-15 12:04:39
=== successfully completed test case
=== === Returned value: ok


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