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

=== Config value:

    [{watchdog,<0.14460.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.113763633>,
                         [global,data,rdbms,default],
                         [{recv_oct,'>'},{send_oct,'>'}]},
                        {[global,backends,mod_roster,get_subscription_lists],
                         changed}]},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/metrics_roster_SUITE_data"},
     {preset,"odbc_mssql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.metrics_roster_SUITE.logs/run.2022-02-03_16.33.38/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@c0783a4ae5cf.2022-02-03_16.28.29/big_tests.tests.metrics_roster_SUITE.logs/run.2022-02-03_16.33.38/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@c0783a4ae5cf.2022-02-03_16.28.29"

=== Started at 2022-02-03 16:33:38


*** CT 2022-02-03 16:33:38.819 *** View log from node mongooseim@localhost when started mongooseim@localhost_1874.html
*** CT 2022-02-03 16:33:38.819 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_615.html

*** User 2022-02-03 16:33:38.822 ***
alicE@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-03 16:33:38.823 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='94af442f9f4048bb' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:33:38.823 ***
alicE@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-02-03 16:33:38.823 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-02-03 16:33:38.824 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-03 16:33:38.824 ***
alicE@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-03 16:33:38.825 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='9e23d1ca16d4460e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:33:38.825 ***
alicE@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-02-03 16:33:38.825 ***
alicE@localhost/res1 out
<iq type='set' id='70850d8fd93ee21c80033d31593e9caf'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-03 16:33:38.825 ***
alicE@localhost/res1 in
<iq id='70850d8fd93ee21c80033d31593e9caf' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-02-03 16:33:38.825 ***
alicE@localhost/res1 out
<iq type='set' id='41bb0ca9e6536342fe4ca05e7bbc2369'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:33:38.825 ***
alicE@localhost/res1 in
<iq type='result' id='41bb0ca9e6536342fe4ca05e7bbc2369'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:33:38.825 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-02-03 16:33:38.827 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-02-03 16:33:38.827 ***
bOb@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-03 16:33:38.828 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='d22203edbe654b6e' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:33:38.828 ***
bOb@localhost/res1 in
<stream:features>
	<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
		<mechanism>SCRAM-SHA-256</mechanism>
		<mechanism>PLAIN</mechanism>
	</mechanisms>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-02-03 16:33:38.828 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-02-03 16:33:38.829 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-02-03 16:33:38.829 ***
bOb@localhost/res1 out
<stream:stream to='localhost' version='1.0' xml:lang='en' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams'>

*** User 2022-02-03 16:33:38.829 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='cd95c504831c613a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-02-03 16:33:38.829 ***
bOb@localhost/res1 in
<stream:features>
	<compression xmlns='http://jabber.org/features/compress'>
		<method>zlib</method>
	</compression>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'/>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
	<register xmlns='http://jabber.org/features/iq-register'/>
	<amp xmlns='http://jabber.org/feature/amp'/>
	<sm xmlns='urn:xmpp:sm:3'/>
</stream:features>



*** User 2022-02-03 16:33:38.829 ***
bOb@localhost/res1 out
<iq type='set' id='df8b95b2819e684867f1605ca2a38aaa'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-02-03 16:33:38.829 ***
bOb@localhost/res1 in
<iq id='df8b95b2819e684867f1605ca2a38aaa' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-02-03 16:33:38.829 ***
bOb@localhost/res1 out
<iq type='set' id='e342871fe8dc080509612bf165227933'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:33:38.830 ***
bOb@localhost/res1 in
<iq type='result' id='e342871fe8dc080509612bf165227933'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-02-03 16:33:38.830 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-02-03 16:33:38.831 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-02-03 16:33:38.831 ***
alicE@localhost/res1 out
<iq type='set' id='2e1a3e1e1f48f3a0c8296d12ff29b3e7'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-03 16:33:38.855 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push89e371341ce0aa29' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-03 16:33:38.855 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='push89e371341ce0aa29' type='result'/>



*** User 2022-02-03 16:33:38.855 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='2e1a3e1e1f48f3a0c8296d12ff29b3e7' type='result'/>



*** User 2022-02-03 16:33:38.855 ***
alicE@localhost/res1 out
<presence type='subscribe' to='bOb@localhost'/>



*** User 2022-02-03 16:33:38.865 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='pushc93076d3f0d1a0e3' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-03 16:33:38.865 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='pushc93076d3f0d1a0e3' type='result'/>



*** User 2022-02-03 16:33:38.866 ***
bOb@localhost/res1 in
<presence from='alicE@localhost' to='bOb@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-02-03 16:33:38.866 ***
bOb@localhost/res1 out
<iq type='set' id='a0c0412f3f6717648d359a040a85c38a'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-02-03 16:33:38.869 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='push8b8e09b3234bdd2a' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-02-03 16:33:38.870 ***
bOb@localhost/res1 out
<iq to='bOb@localhost' id='push8b8e09b3234bdd2a' type='result'/>



*** User 2022-02-03 16:33:38.870 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='a0c0412f3f6717648d359a040a85c38a' type='result'/>



*** User 2022-02-03 16:33:38.870 ***
bOb@localhost/res1 out
<presence type='subscribed' to='alicE@localhost'/>



*** User 2022-02-03 16:33:38.876 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push6c64111a8ecbd2e6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-02-03 16:33:38.876 ***
alicE@localhost/res1 in
<presence from='bOb@localhost' to='alicE@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-02-03 16:33:38.876 ***
alicE@localhost/res1 in
<presence from='bOb@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-02-03 16:33:38.876 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='push0124c573ccb5f860' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-02-03 16:33:38.877 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-02-03 16:33:38.877 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-02-03 16:33:38.877 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-02-03 16:33:38.878 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-02-03 16:33:38.895 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_615.html
*** CT 2022-02-03 16:33:38.896 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1874.html



=== Ended at 2022-02-03 16:33:38
=== successfully completed test case
=== === Returned value: ok


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