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

=== Config value:

    [{watchdog,<0.19617.1>},
     {mongoose_metrics,[{[global,data,xmpp,received,xml_stanza_size],changed},
                        {[global,data,xmpp,sent,xml_stanza_size],changed},
                        {#Fun<metrics_roster_SUITE.0.124753187>,
                         [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,"mysql_redis"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-11_09.02.28/metrics_roster_suite.unsubscribe.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@f547f21cc62a.2022-05-11_08.56.42/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-11_09.02.28/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@f547f21cc62a.2022-05-11_08.56.42"

=== Started at 2022-05-11 09:02:28


*** CT 2022-05-11 09:02:28.957 *** View log from node mongooseim@localhost when started mongooseim@localhost_1795.html
*** CT 2022-05-11 09:02:28.959 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_198.html

*** User 2022-05-11 09:02:28.969 ***
alicE_unsubscribe_1790@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-05-11 09:02:28.970 ***
alicE_unsubscribe_1790@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='0185ab157aed70fa' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:28.970 ***
alicE_unsubscribe_1790@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-05-11 09:02:28.970 ***
alicE_unsubscribe_1790@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzE3OTAAbWF0eWdyeXNh</auth>



*** User 2022-05-11 09:02:28.972 ***
alicE_unsubscribe_1790@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:02:28.972 ***
alicE_unsubscribe_1790@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-05-11 09:02:28.973 ***
alicE_unsubscribe_1790@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='71a0e96145553de0' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:28.973 ***
alicE_unsubscribe_1790@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-05-11 09:02:28.973 ***
alicE_unsubscribe_1790@localhost/res1 out
<iq type='set' id='a82fbf48c1b7a6f0180a68886f63a537'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:02:28.974 ***
alicE_unsubscribe_1790@localhost/res1 in
<iq id='a82fbf48c1b7a6f0180a68886f63a537' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE_unsubscribe_1790@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:02:28.974 ***
alicE_unsubscribe_1790@localhost/res1 out
<iq type='set' id='23cdf39facb01a140d360de9083d4150'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:28.975 ***
alicE_unsubscribe_1790@localhost/res1 in
<iq type='result' id='23cdf39facb01a140d360de9083d4150'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:28.975 ***
alicE_unsubscribe_1790@localhost/res1 out
<presence/>



*** User 2022-05-11 09:02:28.979 ***
alicE_unsubscribe_1790@localhost/res1 in
<presence from='alicE_unsubscribe_1790@localhost/res1' to='alice_unsubscribe_1790@localhost/res1' xml:lang='en'/>



*** User 2022-05-11 09:02:28.980 ***
bOb_unsubscribe_1790@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-05-11 09:02:28.980 ***
bOb_unsubscribe_1790@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='051fb92938bd39a4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:28.981 ***
bOb_unsubscribe_1790@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-05-11 09:02:28.982 ***
bOb_unsubscribe_1790@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xNzkwAG1ha3JvbGlrYQ==</auth>



*** User 2022-05-11 09:02:28.984 ***
bOb_unsubscribe_1790@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-11 09:02:28.984 ***
bOb_unsubscribe_1790@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-05-11 09:02:28.984 ***
bOb_unsubscribe_1790@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='14ae812ec0ed8dc3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-11 09:02:28.985 ***
bOb_unsubscribe_1790@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-05-11 09:02:28.985 ***
bOb_unsubscribe_1790@localhost/res1 out
<iq type='set' id='72c1dc631622182ff7b61f7bb064ae2a'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-11 09:02:28.986 ***
bOb_unsubscribe_1790@localhost/res1 in
<iq id='72c1dc631622182ff7b61f7bb064ae2a' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb_unsubscribe_1790@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-11 09:02:28.986 ***
bOb_unsubscribe_1790@localhost/res1 out
<iq type='set' id='55753fdf5ae2c0ba25d825e36903a7dc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:28.987 ***
bOb_unsubscribe_1790@localhost/res1 in
<iq type='result' id='55753fdf5ae2c0ba25d825e36903a7dc'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-11 09:02:28.987 ***
bOb_unsubscribe_1790@localhost/res1 out
<presence/>



*** User 2022-05-11 09:02:28.991 ***
bOb_unsubscribe_1790@localhost/res1 in
<presence from='bOb_unsubscribe_1790@localhost/res1' to='bob_unsubscribe_1790@localhost/res1' xml:lang='en'/>



*** User 2022-05-11 09:02:28.992 ***
alicE_unsubscribe_1790@localhost/res1 out
<iq type='set' id='5d99aa7c13c7f3fe99bc8b65c95fb475'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb_unsubscribe_1790@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.005 ***
alicE_unsubscribe_1790@localhost/res1 in
<iq from='alicE_unsubscribe_1790@localhost' to='alicE_unsubscribe_1790@localhost/res1' id='push35d03da60af020b6' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_1790@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.005 ***
alicE_unsubscribe_1790@localhost/res1 out
<iq to='alicE_unsubscribe_1790@localhost' id='push35d03da60af020b6' type='result'/>



*** User 2022-05-11 09:02:29.005 ***
alicE_unsubscribe_1790@localhost/res1 in
<iq from='alicE_unsubscribe_1790@localhost' to='alicE_unsubscribe_1790@localhost/res1' id='5d99aa7c13c7f3fe99bc8b65c95fb475' type='result'/>



*** User 2022-05-11 09:02:29.005 ***
alicE_unsubscribe_1790@localhost/res1 out
<presence type='subscribe' to='bOb_unsubscribe_1790@localhost'/>



*** User 2022-05-11 09:02:29.020 ***
alicE_unsubscribe_1790@localhost/res1 in
<iq from='alicE_unsubscribe_1790@localhost' to='alicE_unsubscribe_1790@localhost/res1' id='pushbfedd80296358ce0' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_1790@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.020 ***
alicE_unsubscribe_1790@localhost/res1 out
<iq to='alicE_unsubscribe_1790@localhost' id='pushbfedd80296358ce0' type='result'/>



*** User 2022-05-11 09:02:29.020 ***
bOb_unsubscribe_1790@localhost/res1 in
<presence from='alicE_unsubscribe_1790@localhost' to='bOb_unsubscribe_1790@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-11 09:02:29.020 ***
bOb_unsubscribe_1790@localhost/res1 out
<iq type='set' id='e450c23e151e3f091a0417de2149b9dc'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE_unsubscribe_1790@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.024 ***
bOb_unsubscribe_1790@localhost/res1 in
<iq from='bOb_unsubscribe_1790@localhost' to='bOb_unsubscribe_1790@localhost/res1' id='push91d750dcf4a0f471' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1790@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.024 ***
bOb_unsubscribe_1790@localhost/res1 out
<iq to='bOb_unsubscribe_1790@localhost' id='push91d750dcf4a0f471' type='result'/>



*** User 2022-05-11 09:02:29.024 ***
bOb_unsubscribe_1790@localhost/res1 in
<iq from='bOb_unsubscribe_1790@localhost' to='bOb_unsubscribe_1790@localhost/res1' id='e450c23e151e3f091a0417de2149b9dc' type='result'/>



*** User 2022-05-11 09:02:29.024 ***
bOb_unsubscribe_1790@localhost/res1 out
<presence type='subscribed' to='alicE_unsubscribe_1790@localhost'/>



*** User 2022-05-11 09:02:29.034 ***
alicE_unsubscribe_1790@localhost/res1 in
<iq from='alicE_unsubscribe_1790@localhost' to='alicE_unsubscribe_1790@localhost/res1' id='push7dd11f4bd01507a5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_1790@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.034 ***
alicE_unsubscribe_1790@localhost/res1 in
<presence from='bOb_unsubscribe_1790@localhost' to='alicE_unsubscribe_1790@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-11 09:02:29.035 ***
alicE_unsubscribe_1790@localhost/res1 in
<presence from='bOb_unsubscribe_1790@localhost/res1' to='alice_unsubscribe_1790@localhost/res1' xml:lang='en'/>



*** User 2022-05-11 09:02:29.035 ***
bOb_unsubscribe_1790@localhost/res1 in
<iq from='bOb_unsubscribe_1790@localhost' to='bOb_unsubscribe_1790@localhost/res1' id='push0aeaf7ed3ed221cd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1790@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.035 ***
alicE_unsubscribe_1790@localhost/res1 out
<presence type='unsubscribe' to='bOb_unsubscribe_1790@localhost'/>



*** User 2022-05-11 09:02:29.048 ***
alicE_unsubscribe_1790@localhost/res1 in
<iq from='alicE_unsubscribe_1790@localhost' to='alicE_unsubscribe_1790@localhost/res1' id='push11c7876a7a08b277' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_1790@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.049 ***
alicE_unsubscribe_1790@localhost/res1 out
<iq to='alicE_unsubscribe_1790@localhost' id='push11c7876a7a08b277' type='result'/>



*** User 2022-05-11 09:02:29.049 ***
bOb_unsubscribe_1790@localhost/res1 in
<iq from='bOb_unsubscribe_1790@localhost' to='bOb_unsubscribe_1790@localhost/res1' id='push750dede1c1abff12' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1790@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-11 09:02:29.049 ***
bOb_unsubscribe_1790@localhost/res1 in
<presence from='alicE_unsubscribe_1790@localhost' to='bOb_unsubscribe_1790@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-05-11 09:02:29.051 ***
bOb_unsubscribe_1790@localhost/res1 out
</stream:stream>

*** User 2022-05-11 09:02:29.051 ***
bOb_unsubscribe_1790@localhost/res1 in
</stream:stream>

*** User 2022-05-11 09:02:29.051 ***
alicE_unsubscribe_1790@localhost/res1 out
</stream:stream>

*** User 2022-05-11 09:02:29.052 ***
alicE_unsubscribe_1790@localhost/res1 in
</stream:stream>
*** CT 2022-05-11 09:02:29.066 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_198.html
*** CT 2022-05-11 09:02:29.068 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1795.html



=== Ended at 2022-05-11 09:02:29
=== successfully completed test case
=== === Returned value: ok


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