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

=== Config value:

    [{watchdog,<0.61456.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_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@2fae5249a3b3.2024-04-16_10.56.49/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_11.09.49/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@2fae5249a3b3.2024-04-16_10.56.49/big_tests.tests.metrics_roster_SUITE.logs/run.2024-04-16_11.09.49/log_private/"},
     {escalus_users,[{alice,[{username,<<"alicE">>},
                             {server,<<"domain.example.com">>},
                             {host,<<"localhost">>},
                             {password,<<"matygrysa">>}]},
                     {bob,[{username,<<"bOb">>},
                           {server,<<"domain.example.com">>},
                           {host,<<"localhost">>},
                           {password,<<"makrolika">>}]}]}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@2fae5249a3b3.2024-04-16_10.56.49"

=== Started at 2024-04-16 11:09:49


*** CT 2024-04-16 11:09:49.525 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2297.html

*** User 2024-04-16 11:09:49.532 ***🔗
alicE_subscribe_3020@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 11:09:49.532 ***🔗
alicE_subscribe_3020@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ac4f6bfeeb8589fb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:09:49.532 ***🔗
alicE_subscribe_3020@domain.example.com/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 11:09:49.532 ***🔗
alicE_subscribe_3020@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8zMDIwAG1hdHlncnlzYQ==</auth>



*** User 2024-04-16 11:09:49.533 ***🔗
alicE_subscribe_3020@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:09:49.533 ***🔗
alicE_subscribe_3020@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 11:09:49.533 ***🔗
alicE_subscribe_3020@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='6b54fb5a00fea1ac' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_3020@domain.example.com'>

*** User 2024-04-16 11:09:49.533 ***🔗
alicE_subscribe_3020@domain.example.com/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 11:09:49.534 ***🔗
alicE_subscribe_3020@domain.example.com/res1 out
<iq type='set' id='75aa0b26bc613c4dfab8f8ab2250b856'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:09:49.534 ***🔗
alicE_subscribe_3020@domain.example.com/res1 in
<iq id='75aa0b26bc613c4dfab8f8ab2250b856' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_3020@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:09:49.534 ***🔗
alice_subscribe_3020@domain.example.com/res1 out
<iq type='set' id='a620881534afc2423087b8a02b846e74'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:09:49.534 ***🔗
alice_subscribe_3020@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_3020@domain.example.com/res1' id='a620881534afc2423087b8a02b846e74' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:09:49.534 ***🔗
alice_subscribe_3020@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 11:09:49.535 ***🔗
alice_subscribe_3020@domain.example.com/res1 in
<presence from='alice_subscribe_3020@domain.example.com/res1' to='alice_subscribe_3020@domain.example.com/res1'/>



*** User 2024-04-16 11:09:49.535 ***🔗
bOb_subscribe_3020@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 11:09:49.536 ***🔗
bOb_subscribe_3020@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='713ab4f8094607a1' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-04-16 11:09:49.536 ***🔗
bOb_subscribe_3020@domain.example.com/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 11:09:49.536 ***🔗
bOb_subscribe_3020@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMzAyMABtYWtyb2xpa2E=</auth>



*** User 2024-04-16 11:09:49.537 ***🔗
bOb_subscribe_3020@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-04-16 11:09:49.537 ***🔗
bOb_subscribe_3020@domain.example.com/res1 out
<stream:stream to='domain.example.com' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2024-04-16 11:09:49.537 ***🔗
bOb_subscribe_3020@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5fe60235a749e05c' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_3020@domain.example.com'>

*** User 2024-04-16 11:09:49.537 ***🔗
bOb_subscribe_3020@domain.example.com/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 11:09:49.537 ***🔗
bOb_subscribe_3020@domain.example.com/res1 out
<iq type='set' id='09311710f6eb198ac44beab60793b9d9'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-04-16 11:09:49.537 ***🔗
bOb_subscribe_3020@domain.example.com/res1 in
<iq id='09311710f6eb198ac44beab60793b9d9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_3020@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-04-16 11:09:49.537 ***🔗
bob_subscribe_3020@domain.example.com/res1 out
<iq type='set' id='f7898e61ffe14f844219fc04aef8eb45'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:09:49.538 ***🔗
bob_subscribe_3020@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_3020@domain.example.com/res1' id='f7898e61ffe14f844219fc04aef8eb45' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-04-16 11:09:49.538 ***🔗
bob_subscribe_3020@domain.example.com/res1 out
<presence/>



*** User 2024-04-16 11:09:49.539 ***🔗
bob_subscribe_3020@domain.example.com/res1 in
<presence from='bob_subscribe_3020@domain.example.com/res1' to='bob_subscribe_3020@domain.example.com/res1'/>



*** User 2024-04-16 11:09:49.539 ***🔗
alice_subscribe_3020@domain.example.com/res1 out
<iq type='set' id='40285adf9c22cf716b759084e86d9be8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_3020@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:09:49.541 ***🔗
alice_subscribe_3020@domain.example.com/res1 in
<iq from='alice_subscribe_3020@domain.example.com' to='alice_subscribe_3020@domain.example.com/res1' id='push9e87c8a8690b54ae' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_3020@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:09:49.541 ***🔗
alice_subscribe_3020@domain.example.com/res1 out
<iq to='alice_subscribe_3020@domain.example.com' id='push9e87c8a8690b54ae' type='result'/>



*** User 2024-04-16 11:09:49.541 ***🔗
alice_subscribe_3020@domain.example.com/res1 in
<iq from='alice_subscribe_3020@domain.example.com' to='alice_subscribe_3020@domain.example.com/res1' id='40285adf9c22cf716b759084e86d9be8' type='result'/>



*** User 2024-04-16 11:09:49.541 ***🔗
alice_subscribe_3020@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_3020@domain.example.com'/>



*** User 2024-04-16 11:09:49.544 ***🔗
alice_subscribe_3020@domain.example.com/res1 in
<iq from='alice_subscribe_3020@domain.example.com' to='alice_subscribe_3020@domain.example.com/res1' id='pushb9b9a6cb7e3de3f8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_3020@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:09:49.544 ***🔗
alice_subscribe_3020@domain.example.com/res1 out
<iq to='alice_subscribe_3020@domain.example.com' id='pushb9b9a6cb7e3de3f8' type='result'/>



*** User 2024-04-16 11:09:49.544 ***🔗
bob_subscribe_3020@domain.example.com/res1 in
<presence from='alice_subscribe_3020@domain.example.com' to='bob_subscribe_3020@domain.example.com/res1' type='subscribe'/>



*** User 2024-04-16 11:09:49.544 ***🔗
bob_subscribe_3020@domain.example.com/res1 out
<iq type='set' id='dd2b071cb4000718b91d41a1bb6b74f2'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_3020@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:09:49.547 ***🔗
bob_subscribe_3020@domain.example.com/res1 in
<iq from='bob_subscribe_3020@domain.example.com' to='bob_subscribe_3020@domain.example.com/res1' id='push793a2c17e63a8dbf' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_3020@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:09:49.547 ***🔗
bob_subscribe_3020@domain.example.com/res1 out
<iq to='bob_subscribe_3020@domain.example.com' id='push793a2c17e63a8dbf' type='result'/>



*** User 2024-04-16 11:09:49.547 ***🔗
bob_subscribe_3020@domain.example.com/res1 in
<iq from='bob_subscribe_3020@domain.example.com' to='bob_subscribe_3020@domain.example.com/res1' id='dd2b071cb4000718b91d41a1bb6b74f2' type='result'/>



*** User 2024-04-16 11:09:49.547 ***🔗
bob_subscribe_3020@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_3020@domain.example.com'/>



*** User 2024-04-16 11:09:49.550 ***🔗
alice_subscribe_3020@domain.example.com/res1 in
<iq from='alice_subscribe_3020@domain.example.com' to='alice_subscribe_3020@domain.example.com/res1' id='push6e52e302a175f8dd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_3020@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:09:49.550 ***🔗
alice_subscribe_3020@domain.example.com/res1 in
<presence from='bob_subscribe_3020@domain.example.com' to='alice_subscribe_3020@domain.example.com/res1' type='subscribed'/>



*** User 2024-04-16 11:09:49.550 ***🔗
alice_subscribe_3020@domain.example.com/res1 in
<presence from='bob_subscribe_3020@domain.example.com/res1' to='alice_subscribe_3020@domain.example.com/res1'/>



*** User 2024-04-16 11:09:49.550 ***🔗
bob_subscribe_3020@domain.example.com/res1 in
<iq from='bob_subscribe_3020@domain.example.com' to='bob_subscribe_3020@domain.example.com/res1' id='push5eca52138e953fc8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_3020@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-04-16 11:09:49.551 ***🔗
bob_subscribe_3020@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 11:09:49.552 ***🔗
bob_subscribe_3020@domain.example.com/res1 in
</stream:stream>

*** User 2024-04-16 11:09:49.552 ***🔗
alice_subscribe_3020@domain.example.com/res1 out
</stream:stream>

*** User 2024-04-16 11:09:49.552 ***🔗
alice_subscribe_3020@domain.example.com/res1 in
</stream:stream>
*** CT 2024-04-16 11:09:49.556 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2297.html



=== Ended at 2024-04-16 11:09:49
=== successfully completed test case
=== === Returned value: ok


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