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

=== Config value:

    [{watchdog,<0.60095.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,"odbc_mssql_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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-23_17.41.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@5f60ef475eab.2024-02-23_17.31.31/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-23_17.41.54/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@5f60ef475eab.2024-02-23_17.31.31"

=== Started at 2024-02-23 17:41:54


*** CT 2024-02-23 17:41:54.886 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2321.html

*** User 2024-02-23 17:41:54.896 ***🔗
alicE_subscribe_2545@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-02-23 17:41:54.896 ***🔗
alicE_subscribe_2545@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='934e25474b67dc6f' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:41:54.897 ***🔗
alicE_subscribe_2545@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-02-23 17:41:54.897 ***🔗
alicE_subscribe_2545@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNTQ1AG1hdHlncnlzYQ==</auth>



*** User 2024-02-23 17:41:54.898 ***🔗
alicE_subscribe_2545@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:41:54.898 ***🔗
alicE_subscribe_2545@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-02-23 17:41:54.898 ***🔗
alicE_subscribe_2545@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8368a360df8cc140' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2545@domain.example.com'>

*** User 2024-02-23 17:41:54.898 ***🔗
alicE_subscribe_2545@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-02-23 17:41:54.898 ***🔗
alicE_subscribe_2545@domain.example.com/res1 out
<iq type='set' id='cdd88c89ef6ce9d42c302271a0c5c554'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:41:54.898 ***🔗
alicE_subscribe_2545@domain.example.com/res1 in
<iq id='cdd88c89ef6ce9d42c302271a0c5c554' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2545@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:41:54.899 ***🔗
alice_subscribe_2545@domain.example.com/res1 out
<iq type='set' id='27a85da5bd77a6829a8b1951199d3e09'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:41:54.899 ***🔗
alice_subscribe_2545@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2545@domain.example.com/res1' id='27a85da5bd77a6829a8b1951199d3e09' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:41:54.899 ***🔗
alice_subscribe_2545@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:41:54.901 ***🔗
alice_subscribe_2545@domain.example.com/res1 in
<presence from='alice_subscribe_2545@domain.example.com/res1' to='alice_subscribe_2545@domain.example.com/res1'/>



*** User 2024-02-23 17:41:54.902 ***🔗
bOb_subscribe_2545@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-02-23 17:41:54.902 ***🔗
bOb_subscribe_2545@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='fe785661ea1d5e97' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-23 17:41:54.902 ***🔗
bOb_subscribe_2545@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-02-23 17:41:54.903 ***🔗
bOb_subscribe_2545@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjU0NQBtYWtyb2xpa2E=</auth>



*** User 2024-02-23 17:41:54.904 ***🔗
bOb_subscribe_2545@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-23 17:41:54.904 ***🔗
bOb_subscribe_2545@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-02-23 17:41:54.904 ***🔗
bOb_subscribe_2545@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9baf36a636cdb29d' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2545@domain.example.com'>

*** User 2024-02-23 17:41:54.904 ***🔗
bOb_subscribe_2545@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-02-23 17:41:54.904 ***🔗
bOb_subscribe_2545@domain.example.com/res1 out
<iq type='set' id='02d6179982e8f37cef00ae1b0927a75b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-23 17:41:54.905 ***🔗
bOb_subscribe_2545@domain.example.com/res1 in
<iq id='02d6179982e8f37cef00ae1b0927a75b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2545@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-23 17:41:54.905 ***🔗
bob_subscribe_2545@domain.example.com/res1 out
<iq type='set' id='a5cecd7e9bdf1eb6f1884cafcf11b80f'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:41:54.905 ***🔗
bob_subscribe_2545@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2545@domain.example.com/res1' id='a5cecd7e9bdf1eb6f1884cafcf11b80f' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-23 17:41:54.905 ***🔗
bob_subscribe_2545@domain.example.com/res1 out
<presence/>



*** User 2024-02-23 17:41:54.907 ***🔗
bob_subscribe_2545@domain.example.com/res1 in
<presence from='bob_subscribe_2545@domain.example.com/res1' to='bob_subscribe_2545@domain.example.com/res1'/>



*** User 2024-02-23 17:41:54.907 ***🔗
alice_subscribe_2545@domain.example.com/res1 out
<iq type='set' id='93192034a20c5ac029cff4fa10c14126'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2545@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.912 ***🔗
alice_subscribe_2545@domain.example.com/res1 in
<iq from='alice_subscribe_2545@domain.example.com' to='alice_subscribe_2545@domain.example.com/res1' id='push4af1d168c422ea4a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_2545@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.913 ***🔗
alice_subscribe_2545@domain.example.com/res1 out
<iq to='alice_subscribe_2545@domain.example.com' id='push4af1d168c422ea4a' type='result'/>



*** User 2024-02-23 17:41:54.913 ***🔗
alice_subscribe_2545@domain.example.com/res1 in
<iq from='alice_subscribe_2545@domain.example.com' to='alice_subscribe_2545@domain.example.com/res1' id='93192034a20c5ac029cff4fa10c14126' type='result'/>



*** User 2024-02-23 17:41:54.913 ***🔗
alice_subscribe_2545@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2545@domain.example.com'/>



*** User 2024-02-23 17:41:54.926 ***🔗
alice_subscribe_2545@domain.example.com/res1 in
<iq from='alice_subscribe_2545@domain.example.com' to='alice_subscribe_2545@domain.example.com/res1' id='push7b446f418e92b7d1' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_2545@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.926 ***🔗
alice_subscribe_2545@domain.example.com/res1 out
<iq to='alice_subscribe_2545@domain.example.com' id='push7b446f418e92b7d1' type='result'/>



*** User 2024-02-23 17:41:54.926 ***🔗
bob_subscribe_2545@domain.example.com/res1 in
<presence from='alice_subscribe_2545@domain.example.com' to='bob_subscribe_2545@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-23 17:41:54.926 ***🔗
bob_subscribe_2545@domain.example.com/res1 out
<iq type='set' id='c0e14fba5123a9c6132f53e78a683be0'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2545@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.943 ***🔗
bob_subscribe_2545@domain.example.com/res1 in
<iq from='bob_subscribe_2545@domain.example.com' to='bob_subscribe_2545@domain.example.com/res1' id='push4437ba903ff0c6e9' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_2545@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.943 ***🔗
bob_subscribe_2545@domain.example.com/res1 out
<iq to='bob_subscribe_2545@domain.example.com' id='push4437ba903ff0c6e9' type='result'/>



*** User 2024-02-23 17:41:54.943 ***🔗
bob_subscribe_2545@domain.example.com/res1 in
<iq from='bob_subscribe_2545@domain.example.com' to='bob_subscribe_2545@domain.example.com/res1' id='c0e14fba5123a9c6132f53e78a683be0' type='result'/>



*** User 2024-02-23 17:41:54.943 ***🔗
bob_subscribe_2545@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2545@domain.example.com'/>



*** User 2024-02-23 17:41:54.993 ***🔗
alice_subscribe_2545@domain.example.com/res1 in
<iq from='alice_subscribe_2545@domain.example.com' to='alice_subscribe_2545@domain.example.com/res1' id='pushf6e42fc60ad9fdf8' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_2545@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.993 ***🔗
alice_subscribe_2545@domain.example.com/res1 in
<presence from='bob_subscribe_2545@domain.example.com' to='alice_subscribe_2545@domain.example.com/res1' type='subscribed'/>



*** User 2024-02-23 17:41:54.993 ***🔗
alice_subscribe_2545@domain.example.com/res1 in
<presence from='bob_subscribe_2545@domain.example.com/res1' to='alice_subscribe_2545@domain.example.com/res1'/>



*** User 2024-02-23 17:41:54.993 ***🔗
bob_subscribe_2545@domain.example.com/res1 in
<iq from='bob_subscribe_2545@domain.example.com' to='bob_subscribe_2545@domain.example.com/res1' id='pushcc35e04e8e702859' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_2545@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-23 17:41:54.994 ***🔗
bob_subscribe_2545@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:41:54.994 ***🔗
bob_subscribe_2545@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-23 17:41:54.994 ***🔗
alice_subscribe_2545@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-23 17:41:54.995 ***🔗
alice_subscribe_2545@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-23 17:41:55.002 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2321.html



=== Ended at 2024-02-23 17:41:55
=== successfully completed test case
=== === Returned value: ok


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