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

=== Config value:

    [{watchdog,<0.13412.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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.metrics_roster_SUITE.logs/run.2022-01-25_16.27.39/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@ebe8a8f9fc53.2022-01-25_16.21.59/big_tests.tests.metrics_roster_SUITE.logs/run.2022-01-25_16.27.39/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@ebe8a8f9fc53.2022-01-25_16.21.59"

=== Started at 2022-01-25 16:27:39


*** CT 2022-01-25 16:27:39.529 *** View log from node mongooseim@localhost when started mongooseim@localhost_1824.html
*** CT 2022-01-25 16:27:39.529 *** View log from node ejabberd2@localhost when started ejabberd2@localhost_612.html

*** User 2022-01-25 16:27:39.534 ***
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-01-25 16:27:39.534 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='047b6cf455cb7125' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:39.535 ***
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-01-25 16:27:39.535 ***
alicE@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGFsaWNFAG1hdHlncnlzYQ==</auth>



*** User 2022-01-25 16:27:39.536 ***
alicE@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:27:39.536 ***
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-01-25 16:27:39.536 ***
alicE@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='623237ffceca9f1a' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:39.536 ***
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-01-25 16:27:39.536 ***
alicE@localhost/res1 out
<iq type='set' id='4213dc7c1783a45242027d6b19c0c14c'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:27:39.537 ***
alicE@localhost/res1 in
<iq id='4213dc7c1783a45242027d6b19c0c14c' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>alicE@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:27:39.537 ***
alicE@localhost/res1 out
<iq type='set' id='ecb6bb213cece2c35beef0a585ade216'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:39.537 ***
alicE@localhost/res1 in
<iq type='result' id='ecb6bb213cece2c35beef0a585ade216'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:39.537 ***
alicE@localhost/res1 out
<presence/>



*** User 2022-01-25 16:27:39.539 ***
alicE@localhost/res1 in
<presence from='alicE@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:27:39.540 ***
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-01-25 16:27:39.540 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='ab1c1c58d23ad765' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:39.540 ***
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-01-25 16:27:39.540 ***
bOb@localhost/res1 out
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>AGJPYgBtYWtyb2xpa2E=</auth>



*** User 2022-01-25 16:27:39.542 ***
bOb@localhost/res1 in
<success xmlns='urn:ietf:params:xml:ns:xmpp-sasl'/>



*** User 2022-01-25 16:27:39.542 ***
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-01-25 16:27:39.542 ***
bOb@localhost/res1 in
<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' id='039f290705f88e22' from='localhost' version='1.0' xml:lang='en'>

*** User 2022-01-25 16:27:39.542 ***
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-01-25 16:27:39.542 ***
bOb@localhost/res1 out
<iq type='set' id='7d2d72f3a9c42e62b5b103a665066c72'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<resource>res1</resource>
	</bind>
</iq>



*** User 2022-01-25 16:27:39.542 ***
bOb@localhost/res1 in
<iq id='7d2d72f3a9c42e62b5b103a665066c72' type='result'>
	<bind xmlns='urn:ietf:params:xml:ns:xmpp-bind'>
		<jid>bOb@localhost/res1</jid>
	</bind>
</iq>



*** User 2022-01-25 16:27:39.542 ***
bOb@localhost/res1 out
<iq type='set' id='d3b0c9cc277f14ff3cdcfee063b04dd5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:39.542 ***
bOb@localhost/res1 in
<iq type='result' id='d3b0c9cc277f14ff3cdcfee063b04dd5'>
	<session xmlns='urn:ietf:params:xml:ns:xmpp-session'/>
</iq>



*** User 2022-01-25 16:27:39.543 ***
bOb@localhost/res1 out
<presence/>



*** User 2022-01-25 16:27:39.544 ***
bOb@localhost/res1 in
<presence from='bOb@localhost/res1' to='bob@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:27:39.545 ***
alicE@localhost/res1 out
<iq type='set' id='adfea2af81f61dfd8b41e652bd616181'>
	<query xmlns='jabber:iq:roster'>
		<item jid='bOb@localhost' name='generic :p name'>
			<group>friends</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:27:39.550 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push73025266e73cb562' 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-01-25 16:27:39.551 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='push73025266e73cb562' type='result'/>



*** User 2022-01-25 16:27:39.551 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='adfea2af81f61dfd8b41e652bd616181' type='result'/>



*** User 2022-01-25 16:27:39.551 ***
alicE@localhost/res1 out
<presence type='subscribe' to='bOb@localhost'/>



*** User 2022-01-25 16:27:39.563 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push29fcee37659066fb' 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-01-25 16:27:39.564 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='push29fcee37659066fb' type='result'/>



*** User 2022-01-25 16:27:39.564 ***
bOb@localhost/res1 in
<presence from='alicE@localhost' to='bOb@localhost/res1' xml:lang='en' type='subscribe'/>



*** User 2022-01-25 16:27:39.564 ***
bOb@localhost/res1 out
<iq type='set' id='a48b512048698a0ca8367e2a7078201f'>
	<query xmlns='jabber:iq:roster'>
		<item jid='alicE@localhost' name='Alice'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:27:39.568 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='push527f12e736d571e5' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:27:39.568 ***
bOb@localhost/res1 out
<iq to='bOb@localhost' id='push527f12e736d571e5' type='result'/>



*** User 2022-01-25 16:27:39.569 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='a48b512048698a0ca8367e2a7078201f' type='result'/>



*** User 2022-01-25 16:27:39.569 ***
bOb@localhost/res1 out
<presence type='subscribed' to='alicE@localhost'/>



*** User 2022-01-25 16:27:39.577 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push51b9253cdf6bd2e5' 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-01-25 16:27:39.577 ***
alicE@localhost/res1 in
<presence from='bOb@localhost' to='alicE@localhost/res1' xml:lang='en' type='subscribed'/>



*** User 2022-01-25 16:27:39.577 ***
alicE@localhost/res1 in
<presence from='bOb@localhost/res1' to='alice@localhost/res1' xml:lang='en'/>



*** User 2022-01-25 16:27:39.577 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='pushf0c71961516c3b42' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='from' name='Alice' jid='alice@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:27:39.577 ***
alicE@localhost/res1 out
<presence type='unsubscribe' to='bOb@localhost'/>



*** User 2022-01-25 16:27:39.588 ***
alicE@localhost/res1 in
<iq from='alicE@localhost' to='alicE@localhost/res1' id='push61e13bcab7f9ce09' 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-01-25 16:27:39.589 ***
alicE@localhost/res1 out
<iq to='alicE@localhost' id='push61e13bcab7f9ce09' type='result'/>



*** User 2022-01-25 16:27:39.589 ***
bOb@localhost/res1 in
<iq from='bOb@localhost' to='bOb@localhost/res1' id='push57b641c56804068e' type='set'>
	<query xmlns='jabber:iq:roster'>
		<item subscription='none' name='Alice' jid='alice@localhost'>
			<group>enemies</group>
		</item>
	</query>
</iq>



*** User 2022-01-25 16:27:39.589 ***
bOb@localhost/res1 in
<presence from='alicE@localhost' to='bOb@localhost/res1' xml:lang='en' type='unsubscribe'/>



*** User 2022-01-25 16:27:39.590 ***
bOb@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:27:39.591 ***
bOb@localhost/res1 in
</stream:stream>

*** User 2022-01-25 16:27:39.591 ***
alicE@localhost/res1 out
</stream:stream>

*** User 2022-01-25 16:27:39.591 ***
alicE@localhost/res1 in
</stream:stream>
*** CT 2022-01-25 16:27:39.602 *** View log from node ejabberd2@localhost when finished ejabberd2@localhost_612.html
*** CT 2022-01-25 16:27:39.603 *** View log from node mongooseim@localhost when finished mongooseim@localhost_1824.html



=== Ended at 2022-01-25 16:27:39
=== successfully completed test case
=== === Returned value: ok


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