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

=== Config value:

    [{watchdog,<0.21456.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,"pgsql_mnesia"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@6949c6250523.2022-05-25_10.37.44/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-25_10.42.38/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@6949c6250523.2022-05-25_10.37.44/big_tests.tests.metrics_roster_SUITE.logs/run.2022-05-25_10.42.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@6949c6250523.2022-05-25_10.37.44"

=== Started at 2022-05-25 10:42:38


*** CT 2022-05-25 10:42:38.373 *** View log from node mongooseim@localhost when started mongooseim@localhost_1833.html
*** CT 2022-05-25 10:42:38.373 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_488.html

*** User 2022-05-25 10:42:38.378 ***
alicE_unsubscribe_1759@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-25 10:42:38.378 ***
alicE_unsubscribe_1759@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='8ce5ce3bf7e5f5f3' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:42:38.378 ***
alicE_unsubscribe_1759@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-25 10:42:38.378 ***
alicE_unsubscribe_1759@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFX3Vuc3Vic2NyaWJlXzE3NTkAbWF0eWdyeXNh</auth>



*** User 2022-05-25 10:42:38.379 ***
alicE_unsubscribe_1759@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:42:38.379 ***
alicE_unsubscribe_1759@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-25 10:42:38.379 ***
alicE_unsubscribe_1759@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='80c7e6863bdd45f4' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:42:38.379 ***
alicE_unsubscribe_1759@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-25 10:42:38.379 ***
alicE_unsubscribe_1759@localhost/res1 out
<iq type='set' id='9ddfe7352e50fb39a386567003dfee29'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:42:38.379 ***
alicE_unsubscribe_1759@localhost/res1 in
<iq id='9ddfe7352e50fb39a386567003dfee29' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alice_unsubscribe_1759@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:42:38.379 ***
alice_unsubscribe_1759@localhost/res1 out
<iq type='set' id='a8f3e1f3d0e704d51f0b88612343553b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:42:38.380 ***
alice_unsubscribe_1759@localhost/res1 in
<iq type='result' id='a8f3e1f3d0e704d51f0b88612343553b'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:42:38.380 ***
alice_unsubscribe_1759@localhost/res1 out
<presence/>



*** User 2022-05-25 10:42:38.380 ***
alice_unsubscribe_1759@localhost/res1 in
<presence from='alice_unsubscribe_1759@localhost/res1' to='alice_unsubscribe_1759@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:42:38.381 ***
bOb_unsubscribe_1759@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-25 10:42:38.381 ***
bOb_unsubscribe_1759@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='edfdc1e4f8030967' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:42:38.381 ***
bOb_unsubscribe_1759@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-25 10:42:38.381 ***
bOb_unsubscribe_1759@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYl91bnN1YnNjcmliZV8xNzU5AG1ha3JvbGlrYQ==</auth>



*** User 2022-05-25 10:42:38.382 ***
bOb_unsubscribe_1759@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-05-25 10:42:38.382 ***
bOb_unsubscribe_1759@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-25 10:42:38.382 ***
bOb_unsubscribe_1759@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='373eb7e363ca72f8' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-05-25 10:42:38.382 ***
bOb_unsubscribe_1759@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-25 10:42:38.382 ***
bOb_unsubscribe_1759@localhost/res1 out
<iq type='set' id='867e5190fd08a700e5fe5e381ee24aab'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-05-25 10:42:38.382 ***
bOb_unsubscribe_1759@localhost/res1 in
<iq id='867e5190fd08a700e5fe5e381ee24aab' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bob_unsubscribe_1759@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-05-25 10:42:38.382 ***
bob_unsubscribe_1759@localhost/res1 out
<iq type='set' id='d628b2e66626f9fb8e6e434f601ec112'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:42:38.383 ***
bob_unsubscribe_1759@localhost/res1 in
<iq type='result' id='d628b2e66626f9fb8e6e434f601ec112'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-05-25 10:42:38.383 ***
bob_unsubscribe_1759@localhost/res1 out
<presence/>



*** User 2022-05-25 10:42:38.383 ***
bob_unsubscribe_1759@localhost/res1 in
<presence from='bob_unsubscribe_1759@localhost/res1' to='bob_unsubscribe_1759@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:42:38.384 ***
alice_unsubscribe_1759@localhost/res1 out
<iq type='set' id='3e7d72997f965a5c2792dbd159dd5ae6'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bob_unsubscribe_1759@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:42:38.385 ***
alice_unsubscribe_1759@localhost/res1 in
<iq from='alice_unsubscribe_1759@localhost' to='alice_unsubscribe_1759@localhost/res1' id='push5d2fe00a553e1a2d' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_1759@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:42:38.385 ***
alice_unsubscribe_1759@localhost/res1 out
<iq to='alice_unsubscribe_1759@localhost' id='push5d2fe00a553e1a2d' type='result'/>



*** User 2022-05-25 10:42:38.385 ***
alice_unsubscribe_1759@localhost/res1 in
<iq from='alice_unsubscribe_1759@localhost' to='alice_unsubscribe_1759@localhost/res1' id='3e7d72997f965a5c2792dbd159dd5ae6' type='result'/>



*** User 2022-05-25 10:42:38.385 ***
alice_unsubscribe_1759@localhost/res1 out
<presence type='subscribe' to='bob_unsubscribe_1759@localhost'/>



*** User 2022-05-25 10:42:38.387 ***
alice_unsubscribe_1759@localhost/res1 in
<iq from='alice_unsubscribe_1759@localhost' to='alice_unsubscribe_1759@localhost/res1' id='pushacacf9bfe9e8e5cd' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item ask='subscribe' subscription='none' name='generic :p name' jid='bob_unsubscribe_1759@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:42:38.387 ***
alice_unsubscribe_1759@localhost/res1 out
<iq to='alice_unsubscribe_1759@localhost' id='pushacacf9bfe9e8e5cd' type='result'/>



*** User 2022-05-25 10:42:38.387 ***
bob_unsubscribe_1759@localhost/res1 in
<presence from='alice_unsubscribe_1759@localhost' to='bob_unsubscribe_1759@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-05-25 10:42:38.387 ***
bob_unsubscribe_1759@localhost/res1 out
<iq type='set' id='f1b463ffb00bf1254af9739625731dc8'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alice_unsubscribe_1759@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:42:38.389 ***
bob_unsubscribe_1759@localhost/res1 in
<iq from='bob_unsubscribe_1759@localhost' to='bob_unsubscribe_1759@localhost/res1' id='push3e898c7f66cde4dc' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1759@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:42:38.389 ***
bob_unsubscribe_1759@localhost/res1 out
<iq to='bob_unsubscribe_1759@localhost' id='push3e898c7f66cde4dc' type='result'/>



*** User 2022-05-25 10:42:38.389 ***
bob_unsubscribe_1759@localhost/res1 in
<iq from='bob_unsubscribe_1759@localhost' to='bob_unsubscribe_1759@localhost/res1' id='f1b463ffb00bf1254af9739625731dc8' type='result'/>



*** User 2022-05-25 10:42:38.389 ***
bob_unsubscribe_1759@localhost/res1 out
<presence type='subscribed' to='alice_unsubscribe_1759@localhost'/>



*** User 2022-05-25 10:42:38.392 ***
alice_unsubscribe_1759@localhost/res1 in
<iq from='alice_unsubscribe_1759@localhost' to='alice_unsubscribe_1759@localhost/res1' id='pushd04910cf5a08b167' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='to' name='generic :p name' jid='bob_unsubscribe_1759@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:42:38.392 ***
alice_unsubscribe_1759@localhost/res1 in
<presence from='bob_unsubscribe_1759@localhost' to='alice_unsubscribe_1759@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-05-25 10:42:38.392 ***
alice_unsubscribe_1759@localhost/res1 in
<presence from='bob_unsubscribe_1759@localhost/res1' to='alice_unsubscribe_1759@localhost/res1' xml:lang='en'/>



*** User 2022-05-25 10:42:38.392 ***
bob_unsubscribe_1759@localhost/res1 in
<iq from='bob_unsubscribe_1759@localhost' to='bob_unsubscribe_1759@localhost/res1' id='push42d121a447eba112' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice_unsubscribe_1759@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:42:38.392 ***
alice_unsubscribe_1759@localhost/res1 out
<presence type='unsubscribe' to='bob_unsubscribe_1759@localhost'/>



*** User 2022-05-25 10:42:38.395 ***
alice_unsubscribe_1759@localhost/res1 in
<iq from='alice_unsubscribe_1759@localhost' to='alice_unsubscribe_1759@localhost/res1' id='push17ede2e6f91a2664' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='generic :p name' jid='bob_unsubscribe_1759@localhost'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:42:38.395 ***
alice_unsubscribe_1759@localhost/res1 out
<iq to='alice_unsubscribe_1759@localhost' id='push17ede2e6f91a2664' type='result'/>



*** User 2022-05-25 10:42:38.395 ***
bob_unsubscribe_1759@localhost/res1 in
<iq from='bob_unsubscribe_1759@localhost' to='bob_unsubscribe_1759@localhost/res1' id='push2faf838b20b54f88' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice_unsubscribe_1759@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-05-25 10:42:38.395 ***
bob_unsubscribe_1759@localhost/res1 in
<presence from='alice_unsubscribe_1759@localhost' to='bob_unsubscribe_1759@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-05-25 10:42:38.395 ***
bob_unsubscribe_1759@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:42:38.396 ***
bob_unsubscribe_1759@localhost/res1 in
</stream:stream>

*** User 2022-05-25 10:42:38.396 ***
alice_unsubscribe_1759@localhost/res1 out
</stream:stream>

*** User 2022-05-25 10:42:38.396 ***
alice_unsubscribe_1759@localhost/res1 in
</stream:stream>
*** CT 2022-05-25 10:42:38.400 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_488.html
*** CT 2022-05-25 10:42:38.400 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1833.html



=== Ended at 2022-05-25 10:42:38
=== successfully completed test case
=== === Returned value: ok


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