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

=== Config value:

    [{watchdog,<0.64233.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@944609fad30e.2024-03-21_07.35.17/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-21_07.46.31/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@944609fad30e.2024-03-21_07.35.17/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-21_07.46.31/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@944609fad30e.2024-03-21_07.35.17"

=== Started at 2024-03-21 07:46:31


*** CT 2024-03-21 07:46:31.810 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3286.html

*** User 2024-03-21 07:46:31.820 ***🔗
alicE_subscribe_2747@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-03-21 07:46:31.821 ***🔗
alicE_subscribe_2747@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1539419279b40ae6' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:46:31.821 ***🔗
alicE_subscribe_2747@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>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-03-21 07:46:31.821 ***🔗
alicE_subscribe_2747@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNzQ3AG1hdHlncnlzYQ==</auth>



*** User 2024-03-21 07:46:31.822 ***🔗
alicE_subscribe_2747@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:46:31.823 ***🔗
alicE_subscribe_2747@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-03-21 07:46:31.823 ***🔗
alicE_subscribe_2747@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='b6b5d904fb68f06d' from='localhost' version='1.0' xml:lang='en' to='alice_subscribe_2747@localhost'>

*** User 2024-03-21 07:46:31.823 ***🔗
alicE_subscribe_2747@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-03-21 07:46:31.823 ***🔗
alicE_subscribe_2747@localhost/res1 out
<iq type='set' id='b43d5049b2da545f68b4ca7e2494dbad'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:46:31.823 ***🔗
alicE_subscribe_2747@localhost/res1 in
<iq id='b43d5049b2da545f68b4ca7e2494dbad' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2747@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:46:31.824 ***🔗
alice_subscribe_2747@localhost/res1 out
<iq type='set' id='326e2b9b5fa5fa8bba253d870b955afa'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:31.824 ***🔗
alice_subscribe_2747@localhost/res1 in
<iq from='localhost' to='alice_subscribe_2747@localhost/res1' id='326e2b9b5fa5fa8bba253d870b955afa' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:31.824 ***🔗
alice_subscribe_2747@localhost/res1 out
<presence/>



*** User 2024-03-21 07:46:31.826 ***🔗
alice_subscribe_2747@localhost/res1 in
<presence from='alice_subscribe_2747@localhost/res1' to='alice_subscribe_2747@localhost/res1'/>



*** User 2024-03-21 07:46:31.826 ***🔗
bOb_subscribe_2747@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-03-21 07:46:31.827 ***🔗
bOb_subscribe_2747@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1eb51272abfcb2ff' from='localhost' version='1.0' xml:lang='en'>

*** User 2024-03-21 07:46:31.827 ***🔗
bOb_subscribe_2747@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>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-03-21 07:46:31.827 ***🔗
bOb_subscribe_2747@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjc0NwBtYWtyb2xpa2E=</auth>



*** User 2024-03-21 07:46:31.828 ***🔗
bOb_subscribe_2747@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-21 07:46:31.828 ***🔗
bOb_subscribe_2747@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-03-21 07:46:31.829 ***🔗
bOb_subscribe_2747@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='c205a9153ffd6f29' from='localhost' version='1.0' xml:lang='en' to='bob_subscribe_2747@localhost'>

*** User 2024-03-21 07:46:31.829 ***🔗
bOb_subscribe_2747@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-03-21 07:46:31.829 ***🔗
bOb_subscribe_2747@localhost/res1 out
<iq type='set' id='818f7b8bf0bb3e4a36e05b7933a3049d'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-21 07:46:31.829 ***🔗
bOb_subscribe_2747@localhost/res1 in
<iq id='818f7b8bf0bb3e4a36e05b7933a3049d' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2747@localhost/res1</jid>
	</bind>
</iq>



*** User 2024-03-21 07:46:31.829 ***🔗
bob_subscribe_2747@localhost/res1 out
<iq type='set' id='58285491fd0ae12536ed1b672fa0a973'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:31.830 ***🔗
bob_subscribe_2747@localhost/res1 in
<iq from='localhost' to='bob_subscribe_2747@localhost/res1' id='58285491fd0ae12536ed1b672fa0a973' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-21 07:46:31.830 ***🔗
bob_subscribe_2747@localhost/res1 out
<presence/>



*** User 2024-03-21 07:46:31.832 ***🔗
bob_subscribe_2747@localhost/res1 in
<presence from='bob_subscribe_2747@localhost/res1' to='bob_subscribe_2747@localhost/res1'/>



*** User 2024-03-21 07:46:31.832 ***🔗
alice_subscribe_2747@localhost/res1 out
<iq type='set' id='de9fa90a35c37c3deb8ca8611a81b392'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2747@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:46:31.836 ***🔗
alice_subscribe_2747@localhost/res1 in
<iq from='alice_subscribe_2747@localhost' to='alice_subscribe_2747@localhost/res1' id='push91af953070a03329' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2747@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:46:31.836 ***🔗
alice_subscribe_2747@localhost/res1 out
<iq to='alice_subscribe_2747@localhost' id='push91af953070a03329' type='result'/>



*** User 2024-03-21 07:46:31.837 ***🔗
alice_subscribe_2747@localhost/res1 in
<iq from='alice_subscribe_2747@localhost' to='alice_subscribe_2747@localhost/res1' id='de9fa90a35c37c3deb8ca8611a81b392' type='result'/>



*** User 2024-03-21 07:46:31.837 ***🔗
alice_subscribe_2747@localhost/res1 out
<presence type='subscribe' to='bob_subscribe_2747@localhost'/>



*** User 2024-03-21 07:46:31.844 ***🔗
alice_subscribe_2747@localhost/res1 in
<iq from='alice_subscribe_2747@localhost' to='alice_subscribe_2747@localhost/res1' id='pushf7823e91ce953cbe' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2747@localhost' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:46:31.844 ***🔗
alice_subscribe_2747@localhost/res1 out
<iq to='alice_subscribe_2747@localhost' id='pushf7823e91ce953cbe' type='result'/>



*** User 2024-03-21 07:46:31.844 ***🔗
bob_subscribe_2747@localhost/res1 in
<presence from='alice_subscribe_2747@localhost' to='bob_subscribe_2747@localhost/res1' type='subscribe'/>



*** User 2024-03-21 07:46:31.845 ***🔗
bob_subscribe_2747@localhost/res1 out
<iq type='set' id='fe6f9099f1788317a51db14e4ce7e3fd'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2747@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:46:31.848 ***🔗
bob_subscribe_2747@localhost/res1 in
<iq from='bob_subscribe_2747@localhost' to='bob_subscribe_2747@localhost/res1' id='push2bb62475bc9ee7aa' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2747@localhost' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:46:31.849 ***🔗
bob_subscribe_2747@localhost/res1 out
<iq to='bob_subscribe_2747@localhost' id='push2bb62475bc9ee7aa' type='result'/>



*** User 2024-03-21 07:46:31.849 ***🔗
bob_subscribe_2747@localhost/res1 in
<iq from='bob_subscribe_2747@localhost' to='bob_subscribe_2747@localhost/res1' id='fe6f9099f1788317a51db14e4ce7e3fd' type='result'/>



*** User 2024-03-21 07:46:31.849 ***🔗
bob_subscribe_2747@localhost/res1 out
<presence type='subscribed' to='alice_subscribe_2747@localhost'/>



*** User 2024-03-21 07:46:31.856 ***🔗
alice_subscribe_2747@localhost/res1 in
<iq from='alice_subscribe_2747@localhost' to='alice_subscribe_2747@localhost/res1' id='push030309d88fb594ee' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2747@localhost' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:46:31.857 ***🔗
alice_subscribe_2747@localhost/res1 in
<presence from='bob_subscribe_2747@localhost' to='alice_subscribe_2747@localhost/res1' type='subscribed'/>



*** User 2024-03-21 07:46:31.857 ***🔗
alice_subscribe_2747@localhost/res1 in
<presence from='bob_subscribe_2747@localhost/res1' to='alice_subscribe_2747@localhost/res1'/>



*** User 2024-03-21 07:46:31.857 ***🔗
bob_subscribe_2747@localhost/res1 in
<iq from='bob_subscribe_2747@localhost' to='bob_subscribe_2747@localhost/res1' id='pushf52eea32bd9c2e5f' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2747@localhost' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-21 07:46:31.858 ***🔗
bob_subscribe_2747@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:46:31.858 ***🔗
bob_subscribe_2747@localhost/res1 in
</stream:stream>

*** User 2024-03-21 07:46:31.858 ***🔗
alice_subscribe_2747@localhost/res1 out
</stream:stream>

*** User 2024-03-21 07:46:31.859 ***🔗
alice_subscribe_2747@localhost/res1 in
</stream:stream>
*** CT 2024-03-21 07:46:31.868 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3286.html



=== Ended at 2024-03-21 07:46:31
=== successfully completed test case
=== === Returned value: ok


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