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

=== Config value:

    [{watchdog,<0.25130.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.26693975>,
                         [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@1d8001dd39bd.2023-11-13_19.21.09/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-13_19.29.33/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@1d8001dd39bd.2023-11-13_19.21.09/big_tests.tests.metrics_roster_SUITE.logs/run.2023-11-13_19.29.33/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@1d8001dd39bd.2023-11-13_19.21.09"

=== Started at 2023-11-13 19:29:33


*** CT 2023-11-13 19:29:33.479 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2246.html

*** User 2023-11-13 19:29:33.485 ***🔗
alicE_subscribe_2354@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 2023-11-13 19:29:33.485 ***🔗
alicE_subscribe_2354@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='2f3bcdd578ec36cc' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:29:33.486 ***🔗
alicE_subscribe_2354@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 2023-11-13 19:29:33.486 ***🔗
alicE_subscribe_2354@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yMzU0AG1hdHlncnlzYQ==</auth>



*** User 2023-11-13 19:29:33.486 ***🔗
alicE_subscribe_2354@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:29:33.486 ***🔗
alicE_subscribe_2354@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 2023-11-13 19:29:33.487 ***🔗
alicE_subscribe_2354@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5b8e4b381ee5a722' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2354@domain.example.com'>

*** User 2023-11-13 19:29:33.487 ***🔗
alicE_subscribe_2354@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 2023-11-13 19:29:33.487 ***🔗
alicE_subscribe_2354@domain.example.com/res1 out
<iq type='set' id='508beacd098b34555ebc44528d39fc6d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:29:33.487 ***🔗
alicE_subscribe_2354@domain.example.com/res1 in
<iq id='508beacd098b34555ebc44528d39fc6d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2354@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:29:33.487 ***🔗
alice_subscribe_2354@domain.example.com/res1 out
<iq type='set' id='e351d77aa1ec75c2c170eb9fd63824ee'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:29:33.488 ***🔗
alice_subscribe_2354@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2354@domain.example.com/res1' id='e351d77aa1ec75c2c170eb9fd63824ee' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:29:33.488 ***🔗
alice_subscribe_2354@domain.example.com/res1 out
<presence/>



*** User 2023-11-13 19:29:33.488 ***🔗
alice_subscribe_2354@domain.example.com/res1 in
<presence from='alice_subscribe_2354@domain.example.com/res1' to='alice_subscribe_2354@domain.example.com/res1'/>



*** User 2023-11-13 19:29:33.489 ***🔗
bOb_subscribe_2354@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 2023-11-13 19:29:33.489 ***🔗
bOb_subscribe_2354@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='5286f35aa579e4aa' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2023-11-13 19:29:33.489 ***🔗
bOb_subscribe_2354@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 2023-11-13 19:29:33.489 ***🔗
bOb_subscribe_2354@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjM1NABtYWtyb2xpa2E=</auth>



*** User 2023-11-13 19:29:33.490 ***🔗
bOb_subscribe_2354@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2023-11-13 19:29:33.490 ***🔗
bOb_subscribe_2354@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 2023-11-13 19:29:33.490 ***🔗
bOb_subscribe_2354@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0b5259ac24fdc16e' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2354@domain.example.com'>

*** User 2023-11-13 19:29:33.490 ***🔗
bOb_subscribe_2354@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 2023-11-13 19:29:33.490 ***🔗
bOb_subscribe_2354@domain.example.com/res1 out
<iq type='set' id='33ed33f75d72ca04e91bb1adcafd3ae6'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2023-11-13 19:29:33.491 ***🔗
bOb_subscribe_2354@domain.example.com/res1 in
<iq id='33ed33f75d72ca04e91bb1adcafd3ae6' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2354@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2023-11-13 19:29:33.491 ***🔗
bob_subscribe_2354@domain.example.com/res1 out
<iq type='set' id='a090f5ff0c9cee9cc6e5dfdeffae2a1c'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:29:33.491 ***🔗
bob_subscribe_2354@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2354@domain.example.com/res1' id='a090f5ff0c9cee9cc6e5dfdeffae2a1c' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2023-11-13 19:29:33.491 ***🔗
bob_subscribe_2354@domain.example.com/res1 out
<presence/>



*** User 2023-11-13 19:29:33.492 ***🔗
bob_subscribe_2354@domain.example.com/res1 in
<presence from='bob_subscribe_2354@domain.example.com/res1' to='bob_subscribe_2354@domain.example.com/res1'/>



*** User 2023-11-13 19:29:33.492 ***🔗
alice_subscribe_2354@domain.example.com/res1 out
<iq type='set' id='9ba5484ed2f71b4c55b94fd70a95bb7c'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2354@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:29:33.493 ***🔗
alice_subscribe_2354@domain.example.com/res1 in
<iq from='alice_subscribe_2354@domain.example.com' to='alice_subscribe_2354@domain.example.com/res1' id='push9286784b37c08605' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_2354@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:29:33.494 ***🔗
alice_subscribe_2354@domain.example.com/res1 out
<iq to='alice_subscribe_2354@domain.example.com' id='push9286784b37c08605' type='result'/>



*** User 2023-11-13 19:29:33.494 ***🔗
alice_subscribe_2354@domain.example.com/res1 in
<iq from='alice_subscribe_2354@domain.example.com' to='alice_subscribe_2354@domain.example.com/res1' id='9ba5484ed2f71b4c55b94fd70a95bb7c' type='result'/>



*** User 2023-11-13 19:29:33.494 ***🔗
alice_subscribe_2354@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2354@domain.example.com'/>



*** User 2023-11-13 19:29:33.496 ***🔗
alice_subscribe_2354@domain.example.com/res1 in
<iq from='alice_subscribe_2354@domain.example.com' to='alice_subscribe_2354@domain.example.com/res1' id='pushb632b104ef71d742' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_2354@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:29:33.496 ***🔗
alice_subscribe_2354@domain.example.com/res1 out
<iq to='alice_subscribe_2354@domain.example.com' id='pushb632b104ef71d742' type='result'/>



*** User 2023-11-13 19:29:33.496 ***🔗
bob_subscribe_2354@domain.example.com/res1 in
<presence from='alice_subscribe_2354@domain.example.com' to='bob_subscribe_2354@domain.example.com/res1' type='subscribe'/>



*** User 2023-11-13 19:29:33.496 ***🔗
bob_subscribe_2354@domain.example.com/res1 out
<iq type='set' id='531e6a101868bfe3b23b87211d935c41'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2354@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:29:33.498 ***🔗
bob_subscribe_2354@domain.example.com/res1 in
<iq from='bob_subscribe_2354@domain.example.com' to='bob_subscribe_2354@domain.example.com/res1' id='push26ad297df96b9208' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_2354@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:29:33.498 ***🔗
bob_subscribe_2354@domain.example.com/res1 out
<iq to='bob_subscribe_2354@domain.example.com' id='push26ad297df96b9208' type='result'/>



*** User 2023-11-13 19:29:33.498 ***🔗
bob_subscribe_2354@domain.example.com/res1 in
<iq from='bob_subscribe_2354@domain.example.com' to='bob_subscribe_2354@domain.example.com/res1' id='531e6a101868bfe3b23b87211d935c41' type='result'/>



*** User 2023-11-13 19:29:33.498 ***🔗
bob_subscribe_2354@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2354@domain.example.com'/>



*** User 2023-11-13 19:29:33.500 ***🔗
alice_subscribe_2354@domain.example.com/res1 in
<iq from='alice_subscribe_2354@domain.example.com' to='alice_subscribe_2354@domain.example.com/res1' id='pushce7183ff12a6d5f9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_2354@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:29:33.500 ***🔗
alice_subscribe_2354@domain.example.com/res1 in
<presence from='bob_subscribe_2354@domain.example.com' to='alice_subscribe_2354@domain.example.com/res1' type='subscribed'/>



*** User 2023-11-13 19:29:33.500 ***🔗
alice_subscribe_2354@domain.example.com/res1 in
<presence from='bob_subscribe_2354@domain.example.com/res1' to='alice_subscribe_2354@domain.example.com/res1'/>



*** User 2023-11-13 19:29:33.501 ***🔗
bob_subscribe_2354@domain.example.com/res1 in
<iq from='bob_subscribe_2354@domain.example.com' to='bob_subscribe_2354@domain.example.com/res1' id='pushe94ffdc5fae502d3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_2354@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2023-11-13 19:29:33.502 ***🔗
bob_subscribe_2354@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-13 19:29:33.502 ***🔗
bob_subscribe_2354@domain.example.com/res1 in
</stream:stream>

*** User 2023-11-13 19:29:33.502 ***🔗
alice_subscribe_2354@domain.example.com/res1 out
</stream:stream>

*** User 2023-11-13 19:29:33.502 ***🔗
alice_subscribe_2354@domain.example.com/res1 in
</stream:stream>
*** CT 2023-11-13 19:29:33.507 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2246.html



=== Ended at 2023-11-13 19:29:33
=== successfully completed test case
=== === Returned value: ok


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