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

=== Config value:

    [{watchdog,<0.59854.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@647ed17fbff4.2024-02-20_07.34.51/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-20_07.47.14/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@647ed17fbff4.2024-02-20_07.34.51/big_tests.tests.metrics_roster_SUITE.logs/run.2024-02-20_07.47.14/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@647ed17fbff4.2024-02-20_07.34.51"

=== Started at 2024-02-20 07:47:15


*** CT 2024-02-20 07:47:15.541 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_2292.html

*** User 2024-02-20 07:47:15.548 ***🔗
alicE_subscribe_2638@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-20 07:47:15.549 ***🔗
alicE_subscribe_2638@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ede0f7800b2dfe35' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-20 07:47:15.549 ***🔗
alicE_subscribe_2638@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-20 07:47:15.549 ***🔗
alicE_subscribe_2638@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNjM4AG1hdHlncnlzYQ==</auth>



*** User 2024-02-20 07:47:15.550 ***🔗
alicE_subscribe_2638@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-20 07:47:15.550 ***🔗
alicE_subscribe_2638@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-20 07:47:15.550 ***🔗
alicE_subscribe_2638@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3baab4bbf18093ae' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2638@domain.example.com'>

*** User 2024-02-20 07:47:15.550 ***🔗
alicE_subscribe_2638@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-20 07:47:15.551 ***🔗
alicE_subscribe_2638@domain.example.com/res1 out
<iq type='set' id='6ac7e88951c93a3c79864c61e1059917'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-20 07:47:15.551 ***🔗
alicE_subscribe_2638@domain.example.com/res1 in
<iq id='6ac7e88951c93a3c79864c61e1059917' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2638@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-20 07:47:15.551 ***🔗
alice_subscribe_2638@domain.example.com/res1 out
<iq type='set' id='12539451204868bc69c4ca0d93976676'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-20 07:47:15.551 ***🔗
alice_subscribe_2638@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2638@domain.example.com/res1' id='12539451204868bc69c4ca0d93976676' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-20 07:47:15.551 ***🔗
alice_subscribe_2638@domain.example.com/res1 out
<presence/>



*** User 2024-02-20 07:47:15.552 ***🔗
alice_subscribe_2638@domain.example.com/res1 in
<presence from='alice_subscribe_2638@domain.example.com/res1' to='alice_subscribe_2638@domain.example.com/res1'/>



*** User 2024-02-20 07:47:15.553 ***🔗
bOb_subscribe_2638@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-20 07:47:15.553 ***🔗
bOb_subscribe_2638@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='3bc3b85b3839c886' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-02-20 07:47:15.553 ***🔗
bOb_subscribe_2638@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-20 07:47:15.553 ***🔗
bOb_subscribe_2638@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjYzOABtYWtyb2xpa2E=</auth>



*** User 2024-02-20 07:47:15.554 ***🔗
bOb_subscribe_2638@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-02-20 07:47:15.554 ***🔗
bOb_subscribe_2638@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-20 07:47:15.556 ***🔗
bOb_subscribe_2638@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='e871fd0bce4aa4e6' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2638@domain.example.com'>

*** User 2024-02-20 07:47:15.556 ***🔗
bOb_subscribe_2638@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-20 07:47:15.556 ***🔗
bOb_subscribe_2638@domain.example.com/res1 out
<iq type='set' id='118adb953b4477f25c576ad3c9fa2e7a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-02-20 07:47:15.556 ***🔗
bOb_subscribe_2638@domain.example.com/res1 in
<iq id='118adb953b4477f25c576ad3c9fa2e7a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2638@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-02-20 07:47:15.556 ***🔗
bob_subscribe_2638@domain.example.com/res1 out
<iq type='set' id='fa210392dc71b79d6c96302949c6f693'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-20 07:47:15.557 ***🔗
bob_subscribe_2638@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2638@domain.example.com/res1' id='fa210392dc71b79d6c96302949c6f693' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-02-20 07:47:15.557 ***🔗
bob_subscribe_2638@domain.example.com/res1 out
<presence/>



*** User 2024-02-20 07:47:15.558 ***🔗
bob_subscribe_2638@domain.example.com/res1 in
<presence from='bob_subscribe_2638@domain.example.com/res1' to='bob_subscribe_2638@domain.example.com/res1'/>



*** User 2024-02-20 07:47:15.558 ***🔗
alice_subscribe_2638@domain.example.com/res1 out
<iq type='set' id='9d9f52347f1c802b988a97dc1ee6ed62'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2638@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.562 ***🔗
alice_subscribe_2638@domain.example.com/res1 in
<iq from='alice_subscribe_2638@domain.example.com' to='alice_subscribe_2638@domain.example.com/res1' id='push687be1de4942db2f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_subscribe_2638@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.562 ***🔗
alice_subscribe_2638@domain.example.com/res1 out
<iq to='alice_subscribe_2638@domain.example.com' id='push687be1de4942db2f' type='result'/>



*** User 2024-02-20 07:47:15.562 ***🔗
alice_subscribe_2638@domain.example.com/res1 in
<iq from='alice_subscribe_2638@domain.example.com' to='alice_subscribe_2638@domain.example.com/res1' id='9d9f52347f1c802b988a97dc1ee6ed62' type='result'/>



*** User 2024-02-20 07:47:15.562 ***🔗
alice_subscribe_2638@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2638@domain.example.com'/>



*** User 2024-02-20 07:47:15.567 ***🔗
alice_subscribe_2638@domain.example.com/res1 in
<iq from='alice_subscribe_2638@domain.example.com' to='alice_subscribe_2638@domain.example.com/res1' id='push2a37ccc597b89a93' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_subscribe_2638@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.568 ***🔗
alice_subscribe_2638@domain.example.com/res1 out
<iq to='alice_subscribe_2638@domain.example.com' id='push2a37ccc597b89a93' type='result'/>



*** User 2024-02-20 07:47:15.568 ***🔗
bob_subscribe_2638@domain.example.com/res1 in
<presence from='alice_subscribe_2638@domain.example.com' to='bob_subscribe_2638@domain.example.com/res1' type='subscribe'/>



*** User 2024-02-20 07:47:15.568 ***🔗
bob_subscribe_2638@domain.example.com/res1 out
<iq type='set' id='b588409349b6f01d90b0a5ac3f54e79b'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2638@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.571 ***🔗
bob_subscribe_2638@domain.example.com/res1 in
<iq from='bob_subscribe_2638@domain.example.com' to='bob_subscribe_2638@domain.example.com/res1' id='push42ef71e4ecbbb212' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_subscribe_2638@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.571 ***🔗
bob_subscribe_2638@domain.example.com/res1 out
<iq to='bob_subscribe_2638@domain.example.com' id='push42ef71e4ecbbb212' type='result'/>



*** User 2024-02-20 07:47:15.571 ***🔗
bob_subscribe_2638@domain.example.com/res1 in
<iq from='bob_subscribe_2638@domain.example.com' to='bob_subscribe_2638@domain.example.com/res1' id='b588409349b6f01d90b0a5ac3f54e79b' type='result'/>



*** User 2024-02-20 07:47:15.571 ***🔗
bob_subscribe_2638@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2638@domain.example.com'/>



*** User 2024-02-20 07:47:15.576 ***🔗
alice_subscribe_2638@domain.example.com/res1 in
<iq from='alice_subscribe_2638@domain.example.com' to='alice_subscribe_2638@domain.example.com/res1' id='push4225c6294034612e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_subscribe_2638@domain.example.com'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.576 ***🔗
alice_subscribe_2638@domain.example.com/res1 in
<presence from='bob_subscribe_2638@domain.example.com' to='alice_subscribe_2638@domain.example.com/res1' type='subscribed'/>



*** User 2024-02-20 07:47:15.576 ***🔗
alice_subscribe_2638@domain.example.com/res1 in
<presence from='bob_subscribe_2638@domain.example.com/res1' to='alice_subscribe_2638@domain.example.com/res1'/>



*** User 2024-02-20 07:47:15.577 ***🔗
bob_subscribe_2638@domain.example.com/res1 in
<iq from='bob_subscribe_2638@domain.example.com' to='bob_subscribe_2638@domain.example.com/res1' id='push8ccee510eb50096a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_subscribe_2638@domain.example.com'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-02-20 07:47:15.578 ***🔗
bob_subscribe_2638@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-20 07:47:15.578 ***🔗
bob_subscribe_2638@domain.example.com/res1 in
</stream:stream>

*** User 2024-02-20 07:47:15.578 ***🔗
alice_subscribe_2638@domain.example.com/res1 out
</stream:stream>

*** User 2024-02-20 07:47:15.578 ***🔗
alice_subscribe_2638@domain.example.com/res1 in
</stream:stream>
*** CT 2024-02-20 07:47:15.585 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_2292.html



=== Ended at 2024-02-20 07:47:15
=== successfully completed test case
=== === Returned value: ok


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