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

=== Config value:

    [{watchdog,<0.29514.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.129660948>,
                         [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@893c79bb0538.2024-03-20_18.07.18/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-20_18.17.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@893c79bb0538.2024-03-20_18.07.18/big_tests.tests.metrics_roster_SUITE.logs/run.2024-03-20_18.17.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@893c79bb0538.2024-03-20_18.07.18"

=== Started at 2024-03-20 18:17:54


*** CT 2024-03-20 18:17:54.670 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_3273.html

*** User 2024-03-20 18:17:54.678 ***🔗
alicE_subscribe_2650@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-03-20 18:17:54.678 ***🔗
alicE_subscribe_2650@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a0c36a674b9dcffb' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:17:54.679 ***🔗
alicE_subscribe_2650@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-03-20 18:17:54.679 ***🔗
alicE_subscribe_2650@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3N1YnNjcmliZV8yNjUwAG1hdHlncnlzYQ==</auth>



*** User 2024-03-20 18:17:54.680 ***🔗
alicE_subscribe_2650@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:17:54.680 ***🔗
alicE_subscribe_2650@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-03-20 18:17:54.680 ***🔗
alicE_subscribe_2650@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='1f791361784fb40b' from='domain.example.com' version='1.0' xml:lang='en' to='alice_subscribe_2650@domain.example.com'>

*** User 2024-03-20 18:17:54.680 ***🔗
alicE_subscribe_2650@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-03-20 18:17:54.681 ***🔗
alicE_subscribe_2650@domain.example.com/res1 out
<iq type='set' id='f82cc65dc465e12fea4e4466d458b19b'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:17:54.681 ***🔗
alicE_subscribe_2650@domain.example.com/res1 in
<iq id='f82cc65dc465e12fea4e4466d458b19b' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_subscribe_2650@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:17:54.681 ***🔗
alice_subscribe_2650@domain.example.com/res1 out
<iq type='set' id='e9feda3fb14d16f1cf5a35e759b7c338'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:17:54.682 ***🔗
alice_subscribe_2650@domain.example.com/res1 in
<iq from='domain.example.com' to='alice_subscribe_2650@domain.example.com/res1' id='e9feda3fb14d16f1cf5a35e759b7c338' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:17:54.682 ***🔗
alice_subscribe_2650@domain.example.com/res1 out
<presence/>



*** User 2024-03-20 18:17:54.683 ***🔗
alice_subscribe_2650@domain.example.com/res1 in
<presence from='alice_subscribe_2650@domain.example.com/res1' to='alice_subscribe_2650@domain.example.com/res1'/>



*** User 2024-03-20 18:17:54.684 ***🔗
bOb_subscribe_2650@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-03-20 18:17:54.684 ***🔗
bOb_subscribe_2650@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d79b9f7b48a3eae3' from='domain.example.com' version='1.0' xml:lang='en'>

*** User 2024-03-20 18:17:54.684 ***🔗
bOb_subscribe_2650@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-03-20 18:17:54.684 ***🔗
bOb_subscribe_2650@domain.example.com/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl9zdWJzY3JpYmVfMjY1MABtYWtyb2xpa2E=</auth>



*** User 2024-03-20 18:17:54.685 ***🔗
bOb_subscribe_2650@domain.example.com/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2024-03-20 18:17:54.685 ***🔗
bOb_subscribe_2650@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-03-20 18:17:54.686 ***🔗
bOb_subscribe_2650@domain.example.com/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='a60ce6816046c913' from='domain.example.com' version='1.0' xml:lang='en' to='bob_subscribe_2650@domain.example.com'>

*** User 2024-03-20 18:17:54.686 ***🔗
bOb_subscribe_2650@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-03-20 18:17:54.686 ***🔗
bOb_subscribe_2650@domain.example.com/res1 out
<iq type='set' id='f36470abfba85f781227c06008b8a9c4'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2024-03-20 18:17:54.686 ***🔗
bOb_subscribe_2650@domain.example.com/res1 in
<iq id='f36470abfba85f781227c06008b8a9c4' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_subscribe_2650@domain.example.com/res1</jid>
	</bind>
</iq>



*** User 2024-03-20 18:17:54.687 ***🔗
bob_subscribe_2650@domain.example.com/res1 out
<iq type='set' id='69f2ae934c77c6e43fc9f42213382dca'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:17:54.687 ***🔗
bob_subscribe_2650@domain.example.com/res1 in
<iq from='domain.example.com' to='bob_subscribe_2650@domain.example.com/res1' id='69f2ae934c77c6e43fc9f42213382dca' type='result'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2024-03-20 18:17:54.687 ***🔗
bob_subscribe_2650@domain.example.com/res1 out
<presence/>



*** User 2024-03-20 18:17:54.688 ***🔗
bob_subscribe_2650@domain.example.com/res1 in
<presence from='bob_subscribe_2650@domain.example.com/res1' to='bob_subscribe_2650@domain.example.com/res1'/>



*** User 2024-03-20 18:17:54.689 ***🔗
alice_subscribe_2650@domain.example.com/res1 out
<iq type='set' id='e2c94788426e2763d29443bbab4891d4'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_subscribe_2650@domain.example.com' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-20 18:17:54.692 ***🔗
alice_subscribe_2650@domain.example.com/res1 in
<iq from='alice_subscribe_2650@domain.example.com' to='alice_subscribe_2650@domain.example.com/res1' id='pushc96d77ba746eed20' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2650@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-20 18:17:54.692 ***🔗
alice_subscribe_2650@domain.example.com/res1 out
<iq to='alice_subscribe_2650@domain.example.com' id='pushc96d77ba746eed20' type='result'/>



*** User 2024-03-20 18:17:54.692 ***🔗
alice_subscribe_2650@domain.example.com/res1 in
<iq from='alice_subscribe_2650@domain.example.com' to='alice_subscribe_2650@domain.example.com/res1' id='e2c94788426e2763d29443bbab4891d4' type='result'/>



*** User 2024-03-20 18:17:54.692 ***🔗
alice_subscribe_2650@domain.example.com/res1 out
<presence type='subscribe' to='bob_subscribe_2650@domain.example.com'/>



*** User 2024-03-20 18:17:54.696 ***🔗
alice_subscribe_2650@domain.example.com/res1 in
<iq from='alice_subscribe_2650@domain.example.com' to='alice_subscribe_2650@domain.example.com/res1' id='push92c526b0209efa34' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' ask='subscribe' jid='bob_subscribe_2650@domain.example.com' subscription='none'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-20 18:17:54.696 ***🔗
alice_subscribe_2650@domain.example.com/res1 out
<iq to='alice_subscribe_2650@domain.example.com' id='push92c526b0209efa34' type='result'/>



*** User 2024-03-20 18:17:54.696 ***🔗
bob_subscribe_2650@domain.example.com/res1 in
<presence from='alice_subscribe_2650@domain.example.com' to='bob_subscribe_2650@domain.example.com/res1' type='subscribe'/>



*** User 2024-03-20 18:17:54.696 ***🔗
bob_subscribe_2650@domain.example.com/res1 out
<iq type='set' id='657fc894da82de8be5e66a1ede475660'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_subscribe_2650@domain.example.com' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-20 18:17:54.699 ***🔗
bob_subscribe_2650@domain.example.com/res1 in
<iq from='bob_subscribe_2650@domain.example.com' to='bob_subscribe_2650@domain.example.com/res1' id='push1dfa310a23acb69d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2650@domain.example.com' subscription='none'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-20 18:17:54.699 ***🔗
bob_subscribe_2650@domain.example.com/res1 out
<iq to='bob_subscribe_2650@domain.example.com' id='push1dfa310a23acb69d' type='result'/>



*** User 2024-03-20 18:17:54.699 ***🔗
bob_subscribe_2650@domain.example.com/res1 in
<iq from='bob_subscribe_2650@domain.example.com' to='bob_subscribe_2650@domain.example.com/res1' id='657fc894da82de8be5e66a1ede475660' type='result'/>



*** User 2024-03-20 18:17:54.699 ***🔗
bob_subscribe_2650@domain.example.com/res1 out
<presence type='subscribed' to='alice_subscribe_2650@domain.example.com'/>



*** User 2024-03-20 18:17:54.703 ***🔗
alice_subscribe_2650@domain.example.com/res1 in
<iq from='alice_subscribe_2650@domain.example.com' to='alice_subscribe_2650@domain.example.com/res1' id='push6152c4d0e9b4fb61' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='generic :p name' jid='bob_subscribe_2650@domain.example.com' subscription='to'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2024-03-20 18:17:54.703 ***🔗
alice_subscribe_2650@domain.example.com/res1 in
<presence from='bob_subscribe_2650@domain.example.com' to='alice_subscribe_2650@domain.example.com/res1' type='subscribed'/>



*** User 2024-03-20 18:17:54.703 ***🔗
alice_subscribe_2650@domain.example.com/res1 in
<presence from='bob_subscribe_2650@domain.example.com/res1' to='alice_subscribe_2650@domain.example.com/res1'/>



*** User 2024-03-20 18:17:54.703 ***🔗
bob_subscribe_2650@domain.example.com/res1 in
<iq from='bob_subscribe_2650@domain.example.com' to='bob_subscribe_2650@domain.example.com/res1' id='pushb08082b9135f05c3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item name='Alice' jid='alice_subscribe_2650@domain.example.com' subscription='from'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2024-03-20 18:17:54.704 ***🔗
bob_subscribe_2650@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-20 18:17:54.705 ***🔗
bob_subscribe_2650@domain.example.com/res1 in
</stream:stream>

*** User 2024-03-20 18:17:54.705 ***🔗
alice_subscribe_2650@domain.example.com/res1 out
</stream:stream>

*** User 2024-03-20 18:17:54.705 ***🔗
alice_subscribe_2650@domain.example.com/res1 in
</stream:stream>
*** CT 2024-03-20 18:17:54.710 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_3273.html



=== Ended at 2024-03-20 18:17:54
=== successfully completed test case
=== === Returned value: ok


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