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

=== Config value:

    [{watchdog,<0.30144.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,"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@5bbc5a46dfe3.2024-01-15_11.59.33/big_tests.tests.metrics_roster_SUITE.logs/run.2024-01-15_12.05.54/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@5bbc5a46dfe3.2024-01-15_11.59.33/big_tests.tests.metrics_roster_SUITE.logs/run.2024-01-15_12.05.54/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@5bbc5a46dfe3.2024-01-15_11.59.33"

=== Started at 2024-01-15 12:05:54


*** CT 2024-01-15 12:05:54.817 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1861.html

*** User 2024-01-15 12:05:54.823 ***🔗
alicE_subscribe_1062@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:05:54.823 ***🔗
alicE_subscribe_1062@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='045734e18ad52656' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-01-15 12:05:54.823 ***🔗
alicE_subscribe_1062@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:05:54.824 ***🔗
alicE_subscribe_1062@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8xMDYyAG1hdHlncnlzYQ==</auth>



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



*** User 2024-01-15 12:05:54.825 ***🔗
alicE_subscribe_1062@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:05:54.825 ***🔗
alicE_subscribe_1062@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9629fc6bc7797ec9' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_1062@localhost'>

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



*** User 2024-01-15 12:05:54.825 ***🔗
alicE_subscribe_1062@localhost/res1 in
<iq id='c967c08061ba48f178e6f2ae33171ad0' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_1062@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-01-15 12:05:54.825 ***🔗
alice_subscribe_1062@localhost/res1 out
<iq type='set' id='409dc3f01fc8791461e36a15cbe30107'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:05:54.826 ***🔗
alice_subscribe_1062@localhost/res1 in
<iq from='localhost' to='alice_subscribe_1062@localhost/res1' id='409dc3f01fc8791461e36a15cbe30107' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-01-15 12:05:54.826 ***🔗
alice_subscribe_1062@localhost/res1 out
<presence/>



*** User 2024-01-15 12:05:54.826 ***🔗
alice_subscribe_1062@localhost/res1 in
<presence from='alice_subscribe_1062@localhost/res1' to='alice_subscribe_1062@localhost/res1'/>



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

*** User 2024-01-15 12:05:54.827 ***🔗
bOb_subscribe_1062@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:05:54.827 ***🔗
bOb_subscribe_1062@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMTA2MgBtYWtyb2xpa2E=</auth>



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



*** User 2024-01-15 12:05:54.828 ***🔗
bOb_subscribe_1062@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:05:54.828 ***🔗
bOb_subscribe_1062@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3710a3812d549e2e' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_1062@localhost'>

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



*** User 2024-01-15 12:05:54.828 ***🔗
bOb_subscribe_1062@localhost/res1 in
<iq id='e06fb05fc8ecd886a2d399ab59fa8ac9' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_1062@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-01-15 12:05:54.828 ***🔗
bob_subscribe_1062@localhost/res1 out
<iq type='set' id='fd990239b84e074d030dc832f1ba9264'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



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



*** User 2024-01-15 12:05:54.829 ***🔗
bob_subscribe_1062@localhost/res1 out
<presence/>



*** User 2024-01-15 12:05:54.829 ***🔗
bob_subscribe_1062@localhost/res1 in
<presence from='bob_subscribe_1062@localhost/res1' to='bob_subscribe_1062@localhost/res1'/>



*** User 2024-01-15 12:05:54.829 ***🔗
alice_subscribe_1062@localhost/res1 out
<iq type='set' id='4e220d43b541013b7b0fb878dafa6b51'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_1062@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:05:54.830 ***🔗
alice_subscribe_1062@localhost/res1 in
<iq from='alice_subscribe_1062@localhost' to='alice_subscribe_1062@localhost/res1' id='push5b72475af682ae49' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_1062@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:05:54.830 ***🔗
alice_subscribe_1062@localhost/res1 out
<iq to='alice_subscribe_1062@localhost' id='push5b72475af682ae49' type='result'/>



*** User 2024-01-15 12:05:54.830 ***🔗
alice_subscribe_1062@localhost/res1 in
<iq from='alice_subscribe_1062@localhost' to='alice_subscribe_1062@localhost/res1' id='4e220d43b541013b7b0fb878dafa6b51' type='result'/>



*** User 2024-01-15 12:05:54.830 ***🔗
alice_subscribe_1062@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_1062@localhost'/>



*** User 2024-01-15 12:05:54.831 ***🔗
alice_subscribe_1062@localhost/res1 in
<iq from='alice_subscribe_1062@localhost' to='alice_subscribe_1062@localhost/res1' id='pushd314d3a41ab7b510' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_1062@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:05:54.831 ***🔗
alice_subscribe_1062@localhost/res1 out
<iq to='alice_subscribe_1062@localhost' id='pushd314d3a41ab7b510' type='result'/>



*** User 2024-01-15 12:05:54.832 ***🔗
bob_subscribe_1062@localhost/res1 in
<presence from='alice_subscribe_1062@localhost' to='bob_subscribe_1062@localhost/res1' type='subscribe'/>



*** User 2024-01-15 12:05:54.832 ***🔗
bob_subscribe_1062@localhost/res1 out
<iq type='set' id='f42fdbf27fa58a1179d714e2760e4e38'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_1062@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:05:54.832 ***🔗
bob_subscribe_1062@localhost/res1 in
<iq from='bob_subscribe_1062@localhost' to='bob_subscribe_1062@localhost/res1' id='push6c1112ba4c9c14bc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_1062@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:05:54.832 ***🔗
bob_subscribe_1062@localhost/res1 out
<iq to='bob_subscribe_1062@localhost' id='push6c1112ba4c9c14bc' type='result'/>



*** User 2024-01-15 12:05:54.832 ***🔗
bob_subscribe_1062@localhost/res1 in
<iq from='bob_subscribe_1062@localhost' to='bob_subscribe_1062@localhost/res1' id='f42fdbf27fa58a1179d714e2760e4e38' type='result'/>



*** User 2024-01-15 12:05:54.832 ***🔗
bob_subscribe_1062@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_1062@localhost'/>



*** User 2024-01-15 12:05:54.833 ***🔗
alice_subscribe_1062@localhost/res1 in
<iq from='alice_subscribe_1062@localhost' to='alice_subscribe_1062@localhost/res1' id='pushfaba975cedb6a1d3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_1062@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:05:54.833 ***🔗
alice_subscribe_1062@localhost/res1 in
<presence from='bob_subscribe_1062@localhost' to='alice_subscribe_1062@localhost/res1' type='subscribed'/>



*** User 2024-01-15 12:05:54.834 ***🔗
alice_subscribe_1062@localhost/res1 in
<presence from='bob_subscribe_1062@localhost/res1' to='alice_subscribe_1062@localhost/res1'/>



*** User 2024-01-15 12:05:54.834 ***🔗
bob_subscribe_1062@localhost/res1 in
<iq from='bob_subscribe_1062@localhost' to='bob_subscribe_1062@localhost/res1' id='pushe188cac1b39b604e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_1062@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-01-15 12:05:54.834 ***🔗
bob_subscribe_1062@localhost/res1 out
</stream:stream>

*** User 2024-01-15 12:05:54.834 ***🔗
bob_subscribe_1062@localhost/res1 in
</stream:stream>

*** User 2024-01-15 12:05:54.835 ***🔗
alice_subscribe_1062@localhost/res1 out
</stream:stream>

*** User 2024-01-15 12:05:54.835 ***🔗
alice_subscribe_1062@localhost/res1 in
</stream:stream>
*** CT 2024-01-15 12:05:54.837 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1861.html



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


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